通达信简单明了的MACD指标公式
2021/1/14 19:06:08
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;
投股 票网 www.tou18 .cn
股市公式下载推荐