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;{DRAWICON(REF(持股<1.5,1) AND 持股,资金线,1);DRAWICON(REF(资金线=资金5日线,1) AND 资金线<资金5日线,资金5日线,2);}骑牛技术:0,COLORGRAY;STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,3,0),COLORRED;STICKLINE(MACD>0 AND MACDREF(MACD,1),MACD,0,3,0),COLORFFFFFF;STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,3,0 ),COLORFFAA00;STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,3.3 ,0 ),COLORFFBB11;STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,2.2,0 ),COLORF