MACD高低点画线副图指标 无未来画线 大小多空转换 技巧灵活 NNN:=STRCAT(CON2STR(YEAR,0),' 年 '); YYY:=STRCAT(CON2STR(MONTH,0),' 月 '); RRR:=STRCAT(CON2STR(DAY,0),' 日 '); WWW:=STRCAT('星期',CON2STR(WEEKDAY,0)); SSS:=STRCAT(STRCAT(STRCAT(NNN,YYY), RRR),WWW); DRAWTEXT_FIX(C>0,0.77,0,0,SSS); DRAWTEXT_FIX(C>0,0.004,1,0,DYBLOCK),COLORYELLOW,LINETHICK2; DRAWTEXT_FIX(C>0,0.06,1,0,HYBLOCK),COLORRED,LINETHICK2; DRAWTEXT_FIX(C>0,0.12,1,0,GNBLOCK),COLORWHITE,LINETHICK2; DRAWTEXT_FIX(1,0.88,5,0,'~☆~~'),COLORYELLOW; 快量:(EMA(CLOSE,12) - EMA(CLOSE,26)); 慢量:EMA(快量,9),COLOR00FFFF; MACD:=2*(快量-慢量); 资金线:=HHV(MACD,1)*0.98,LINETHICK1,COLORRED; 资金3日线:=HHV(MACD,3)*0.98,LINETHICK1; 资金5日线:=HHV(MACD,5)*0.98,COLORWHITE,LINETHICK1; 持股:=IF(资金线>=REF(资金线,1) AND 资金3日线>=资金线 AND 资金3日线>=REF(资金3日线,1) AND 资金3日线=资金5日线,1.5,0),COLORWHITE; |