DIFF:=(EMA(CLOSE/INDEXC,12)-EMA(CLOSE/INDEXC,26))*1000;
DEA:=EMA(DIFF,9);
MACD : 2*(DIFF-DEA), COLORSTICK;
STICKLINE(MACD>=REF(MACD,1),REF(MACD,1),MACD,2.5,0),COLORFF00FF;
STICKLINE(MACD>=REF(MACD,1)AND(MACD<0),REF(MACD,1),MACD,2.5,0),COLORFF0099;
STICKLINE(MACDD:DIFF;
DE:DEA;
[股票基础知识]通达信相对MACD指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。