通达信macd,k线,通达信MACD趋势K线指标公式

[复制链接]
查看123 | 回复0 | 2021-8-20 03:01:34 | 显示全部楼层 |阅读模式

以下是通达信macd,k线,通达信MACD趋势K线指标公式(无源码的请下载附件导入)

DIF:=EMA(CLOSE,5)-EMA(CLOSE,34);
 DEA:=EMA(DIF,5);
 STICKLINE(DIF<=DEA,CLOSE,OPEN,3,0),COLOR009900;
 STICKLINE(DIF<=DEA,CLOSE,OPEN,2.2,0),COLOR00BB00;
 STICKLINE(DIF<=DEA,CLOSE,OPEN,1.5,0),COLOR00DD00;
 STICKLINE(DIF<=DEA,CLOSE,OPEN,0.5,0),COLOR00FF00;
 STICKLINE(DIF>=DEA,CLOSE,OPEN,3,0),COLOR000099;
 STICKLINE(DIF>=DEA,CLOSE,OPEN,2.2,0),COLOR0000CC;
 STICKLINE(DIF>=DEA,CLOSE,OPEN,1.5,0),COLOR0000FF;
 STICKLINE(DIF>=DEA,CLOSE,OPEN,0.5,0),COLORCC66FF;
 V2V:=V/REF(V,1)>=1.9 AND C>REF(C,1);
 STICKLINE(V2V,OPEN,CLOSE,0.5,0),COLORYELLOW;
 ZT:=C/REF(C,1)>1.097;
  STICKLINE(ZT,OPEN,CLOSE,0.5,0),COLORYELLOW;
 V3V:=V/REF(V,1)>=1.9 AND C<REF(C,1);
 STICKLINE(V3V,OPEN,CLOSE,0.5,0),COLORBLUE;

733111063.jpg

733111063.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则