通达信多线MACD指标公式

2024-10-05 21:00发布

N1:=30;N2:=60;N3:=90;N4:=120;N5:=150;M:=12;Q:=9;DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26));DEA:=EMA(DIFF,9);2:=2*(DIFF-DEA);STICKLINE(MACD2>=0,0,MACD2,2,0),COLORFF00FF;STICKLINE(MACD2>=0 AND MACD2REF(MACD2,1),0,MACD2,2,0),COLORYELLOW;DIFF_1:=(EMA(CLOSE,M)-EMA(CLOSE,N1));DEA_1:=EMA(DIFF_1,Q);MACD_1:=2*(DIFF_1-DEA_1);DIFF_2:=(EMA(CLOSE,M)-EMA(CLOSE,N2));DEA_2:=EMA(DIFF_2,Q);MACD_2:=2*(DIFF_2-DEA_2);DIFF_3:=(EMA(CLOSE,M)-EMA(CLOSE,N3));DEA_3:=EMA(DIFF_3,Q);MACD_3:=2*(DIFF_3-DEA_3);DIFF_4:=(EMA(CLOSE,
 解锁全文需 1  财富值,免费注册即送20财富值!