通达信MACD修正指标公式

时间:2022-03-17 07:31:17    阅读:195

通达信MACD修正指标公式

 DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26));
DIF:=DIFF/MA(C,4);
DEA:=EMA(DIF,9)/MA(C,12);
MACD:(DIF-DEA)*2,COLORSTICK;
IF(MACD<REF(MACD,1) AND MACD>0,MACD,DRAWNULL)COLORBLUE LINETHICK2;
IF(MACD>=REF(MACD,1) AND MACD<0,MACD,DRAWNULL)COLORYELLOW LINETHICK2;

 

关键词: MACD