在线检测未来函数

通达信简单明了的MACD指标公式

来源:Internet,编辑:股旁网,2017-11-16

DIFF :(EMA(CLOSE,12)-EMA(CLOSE,26))*100/EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD:2*(DIFF-DEA),COLORSTICK;
2.5;
STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1,0),COLORWHITE;
STICKLINE(MACD<REF(MACD,1)AND MACD<0,0,MACD,1,0)COLOR00FF00;
STICKLINE(MACD>REF(MACD,1)AND MACD,0,MACD,1,0),COLORBLUE;
STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,1,0),COLORRED;

通达信简单明了的MACD指标公式

 

相关文章