通达信买卖决策源码副图贴图

[复制链接]
查看52 | 回复0 | 2021-8-19 14:21:02 | 显示全部楼层 |阅读模式

以下是通达信买卖决策源码副图贴图(无源码的请下载附件导入)

A1:=EMA(C,12)-EMA(C,25);
 A2:=EMA(A1,6);
获利回吐:(A2>=0)*A2,COLORWHITE,LINETHICK0;
空头回补:(A2<0)*A2,COLORYELLOW,LINETHICK0;
坚绝做空:(A1<0)*A1,COLORGREEN,LINETHICK0;
买入持股:(A1>=0)*A1,COLORRED,LINETHICK0;
 STICKLINE(A2>=0,A2,0,3.2,0),COLOR555555;
 STICKLINE(A2>=0,A2,0,2.9,0),COLOR777777;
 STICKLINE(A2>=0,A2,0,2.4,0),COLOR999999;
 STICKLINE(A2>=0,A2,0,1.8,0),COLORBBBBBB;
 STICKLINE(A2>=0,A2,0,1.1,0),COLORDDDDDD;
 STICKLINE(A2>=0,A2,0,0.3,0),COLORFFFFFF;
 STICKLINE(A2<0,A2,0,3.2,0),COLORFF5500;
 STICKLINE(A2<0,A2,0,2.9,0),COLORFF7700;
 STICKLINE(A2<0,A2,0,2.4,0),COLORFF9900;
 STICKLINE(A2<0,A2,0,1.8,0),COLORFFBB00;
 STICKLINE(A2<0,A2,0,1.1,0),COLORFFDD00;
 STICKLINE(A2<0,A2,0,0.3,0),COLORFFFF00;
 STICKLINE(A1<0,A1,0,3.2,0),COLORCC0066;
 STICKLINE(A1<0,A1,0,2.9,0),COLOREE0066;
 STICKLINE(A1<0,A1,0,2.4,0),COLORFF0066;
 STICKLINE(A1<0,A1,0,1.8,0),COLORFF2266;
 STICKLINE(A1<0,A1,0,1.1,0),COLORFF4466;
 STICKLINE(A1<0,A1,0,0.3,0),COLORFF6666;
 STICKLINE(A1>=0,A1,0,3.2,0),COLOR000055;
 STICKLINE(A1>=0,A1,0,2.9,0),COLOR000077;
 STICKLINE(A1>=0,A1,0,2.4,0),COLOR000099;
 STICKLINE(A1>=0,A1,0,1.8,0),COLOR0000BB;
 STICKLINE(A1>=0,A1,0,1.1,0),COLOR0000DD;
 STICKLINE(A1>=0,A1,0,0.3,0),COLOR0000FF;

 SAR持币:IF(SAR(10,2,20)>=H,0,DRAWNULL),CIRCLEDOT,COLORGREEN;
 SAR持股:IF(SAR(10,2,20)<=L,0,DRAWNULL),CIRCLEDOT,COLOR000099;
 

833144729.jpg

833144729.jpg

回复

使用道具 举报

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

本版积分规则