通达信MACD三背离及选股指标公式

2024-02-06 20:00发布

2:=2*(MACD.DIF-MACD.DEA);STICKLINE(MACD2>=0 AND MACD2>REF(MACD2,1),0,MACD2,1.2,0),COLOR0000A5;STICKLINE(MACD2>=0 AND MACD2REF(MACD2,1),0,MACD2,1.2,0),COLORA500A5;DIF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIF,9);MACD:(DIF-DEA)*2,NODRAW;{MACD}JCCOUNT:=COUNT(OSS(DIF,DEA),BARSLAST(DEA>=0));二次:=CROSS(DIF,DEA) AND DEA<0 COUNT(JCCOUNT=2,21) COLORWHITE;{MACD日线}A1:=BARSLAST(REF(CROSS(DIF,DEA),1));底:>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA);DRAWTEXT(底背离,DIF*0.5,'日底背'),COLORRED;{日底背:DRAWLINE(A1=0,
 解锁全文需 1  财富值,免费注册即送20财富值!