通达信涨跌超前MACD指标公式

2024-06-13 15:58发布

0,COLORGRAY;DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;DEA12:=EMA(DIF12,9);IF12:=3*(DIF12-DEA12);KDEA12:=SMA(KDIF12,5,2);微分DIF:=KDIF12*5,COLORWHITE,LINETHICK1;微分DEA:=KDEA12*5,COLORYELLOW,LINETHICK1;2:2*(微分DIF-微分DEA),COLORBLACK;MAMACD:=MA(MACD2,3),,COLORBLACK;STICKLINE(MACD2>REF(MACD2,1) AND MACD2>0,0,MACD2,1,0),COLORRED;STICKLINE(MACD2<=REF(MACD2,1) AND MACD2>0,0,MACD2,1,0),COLORYELLOW;STICKLINE(MACD2=REF(MACD2,1) AND MACD2<0>1*REF(MAMACD,1), MAMACD, MACD
 解锁全文需 1  财富值,免费注册即送20财富值!