通达信超前MACD副图指标无未来 无密码

[复制链接]
查看408 | 回复0 | 2021-8-28 00:43:53 | 显示全部楼层 |阅读模式

以下是通达信超前MACD副图指标无未来 无密码(无源码的请下载附件导入)

超前MACD


超前超灵敏的MACD,比系统自带的指标还超前,

无未来 ,看看用用就明白了,用好,股市长虹

{超前MACD}

0,COLORGRAY;
DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;
DEA12:=EMA(DIF12,9);
KDIF12:=3*(DIF12-DEA12);
KDEA12:=SMA(KDIF12,5,2);
强DIF:=KDIF12*5,COLORWHITE,LINETHICK1;
弱DEA:=KDEA12*5,COLORYELLOW,LINETHICK1;
MACD2: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,0,MACD2,1,0),COLORCYAN;
STICKLINE(MACD2>=REF(MACD2,1) AND MACD2<0,0,MACD2,1,0),COLORMAGENTA;
STICKLINE(MAMACD<1*REF(MAMACD,1), MAMACD, MACD2 ,3, 0),COLORBLUE;
STICKLINE(MAMACD>1*REF(MAMACD,1), MAMACD, MACD2 , 3, 0),COLORLIRED;
强DIF2:KDIF12*5,COLORRED,LINETHICK1;
弱DEA2:KDEA12*5,COLORMAGENTA,LINETHICK1;
NOTEXT强:IF(强DIF2<MA(强DIF2,2),强DIF2,DRAWNULL),COLORGREEN;
NOTEXT弱:IF(弱DEA2<MAX(弱DEA2,REF(弱DEA2,1)),弱DEA2,DRAWNULL),COLORYELLOW;
DRAWICON(CROSS(DIF12,KDEA12),DIF12,1);
DRAWICON(CROSS(KDEA12,DIF12),DIF12,2);

114366541.jpg

114366541.jpg

1143222361.jpg

1143222361.jpg

回复

使用道具 举报

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

本版积分规则