通达信MACD低位金叉买入指标公式

2023-12-23 13:58发布

DIFF1:=EMA(CLOSE,12)-EMA(CLOSE,27);DEA1:=EMA(DIFF1,9);:=2*(DIFF1-DEA1),STICK;DIFF:DIFF1,COLOR33FF33;DEA:DEA1,COLORYELLOW;强度:IF(DIFF>=DEA,DIFF,DRAWNULL),COLORRED;:=OSS(DIFF,DEA) AND DIFF<-0.1;DRAWTEXT(低位,-0.1,' 低位金叉'),COLORYELLOW;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));:=CROSS(DIFF,DEA) AND DEA<0 COUNT(JCCOUNT=2,21) COLORFF00FF;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));:>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);底背:DRAWLINE(A1=0,DEA,底,DEA,0),COLORRED,POINTDOT;DRAWTEXT(底背离,0.1,'底背离'
 解锁全文需 1  财富值,免费注册即送20财富值!