通达信好用MACD指标公式

2024-04-12 01:58发布

DIFF9:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100/EMA(CLOSE,26),COLORRED;DEA9:=EMA(DIFF9,9),COLORRED,LINETHICK1;:2*(DIFF9-DEA9), COLORSTICK,LINETHICK1;A1:=BARSLAST(REF(OSS(DIFF9,DEA9),1));STICKLINE(MACD0,0,MACD,0.5,0),COLORFF99AA;STICKLINE(MACDREF(MACD,1)AND MACD,0,MACD,0.5,0),COLORGRAY;STICKLINE(MACD>REF(MACD,1)AND MACD>0,0,MACD,0.5,0),COLORMAGENTA;DIFF :(EMA(CLOSE,12)-EMA(CLOSE,26))*100/EMA(CLOSE,26),COLORRED;DEA : EMA(DIFF9,9),COLORRED,LINETHICK1;IF(DIFF9
 解锁全文需 1  财富值,免费注册即送20财富值!