通达信MACD定量结构四色优化指标公式

2024-07-15 08:00发布

DIF:100*(EMA(CLOSE,12)-EMA(CLOSE,26)),COLORWHITE,LINETHICK1;DEA:EMA(DIF,9),COLORYELLOW,LINETHICK1;:(DIF-DEA)*2,COLORSTICK;STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,0.2,0),COLORRED;STICKLINE(MACD0,0,MACD,0.2,0),COLORYELLOW;STICKLINE(MACD>REF(MACD,1)AND MACD<0 MACD<0,0,MACD,0.2,0),COLORGREEN;FH1:=REF(MACD,1) REF(MACD,3)=0 AND COUNT(MACD>REF(MACD,1),1)=1;FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1);FH4:=FH1 AND FH2 AND A((DIF-DEA)/C)<0 FH5:=FH1>0,COLORYELLOW,NODRAW;
 解锁全文需 1  财富值,免费注册即送20财富值!