通达信MACD波段风暴指标公式

2024-01-17 00:00发布

0,COLORWHITE;DIFF:=EMA(CLOSE,21)-EMA(CLOSE,34);DEAA:=EMA(DIFF,8);D:=3.8*(DIFF-DEAA);MARDD:=SMA(MACDD,2,1);STICKLINE(MACDD>MARDD,MACDD,MARDD,3.5,0),COLORMAGENTA;STICKLINE(MACDD=0,0,MACD2,0.5,0),COLORYELLOW;STICKLINE(MACD2>=0 AND MACD2REF(MACD2,1),0,MACD2,0.5,0),COLORYELLOW;DIF:EMA(CLOSE,12)-EMA(CLOSE,26)COLORRED,LINETHICK2;DEA:EMA(DIF,9)COLORBLUE,LINETHICK2;DRAWTEXT(ISLASTBAR,DIF,' ←DIF'),COLORRED;DRAWTEXT(ISLASTBAR,DEA,' ←DEA'),COLORBLUE;JCC
 解锁全文需 1  财富值,免费注册即送20财富值!