量化决策通达信副图指标源码分享

A1:=EMA(C,12)-EMA(C,25),NODRAW;
A2:=EMA(A1,6),NODRAW;{70822COM}
获利回吐:(A2>=0)*A2,COLORLIBLUE,LINETHICK1;
空头回补:(A2<0)*A2,COLORMAGENTA,LINETHICK1;
坚绝做空:(A1<0)*A1,COLORGREEN,LINETHICK1;
买入持股:(A1>=0)*A1,COLORRED,LINETHICK1;
STICKLINE(A2>=0,A2,0,3.2,0),COLORAAAAAA;
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),COLORYELLOW;
STICKLINE(A2<0,A2,0,2.4,0),COLORYELLOW;
STICKLINE(A2<0,A2,0,1.8,0),COLORYELLOW;
STICKLINE(A2<0,A2,0,1.1,0),COLORYELLOW;
STICKLINE(A2<0,A2,0,0.3,0),COLORYELLOW;
STICKLINE(A1<0,A1,0,3.2,0),COLORCC0066;
STICKLINE(A1<0,A1,0,2.9,0),COLOREE0066;
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;
持股区域判断:=IF(获利回吐 > 0,1,0);
持股流出天数:=REF(COUNT(A1<A2,3),1) >=3;
持股强:=持股区域判断=1 AND 持股流出天数 AND A1>A2;
DRAWTEXT(持股强,买入持股*1.005,’多’),COLORMAGENTA,LINETHICK2;
回补区域判断:=IF(空头回补 < 0,1,0),NODRAW;
回补流出:=回补区域判断 AND ABS(A2)/ABS(A1)<2,NODRAW;
回补流程天数:=REF(COUNT(回补流出,3),1) >=3,NODRAW;
回补强:=回补流程天数 AND ABS(A2)/ABS(A1) >= 2;
DRAWTEXT(回补强,买入持股,’多’),COLORMAGENTA,LINETHICK2;
特殊区域强:=回补流程天数 AND REF(A1,1)<0 AND A1>0;
DRAWTEXT(特殊区域强,买入持股,’多’),COLORMAGENTA,LINETHICK2;
开始做空:REF(A1>A2,1) AND A2>A1,COLORBLUE,NODRAW;
开始做多:REF(A1<A2,1) AND A2<A1,COLORRED,NODRAW;
DRAWICON(开始做空,买入持股,2);
DRAWICON(开始做多,买入持股,1);

负责声明:
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/182818.html,转载请注明出处。
通达信超级竞价低吸+激进模式早盘竞价指标公式源码测评
通达信超级竞价低吸+激进模式早盘竞价指标公式源码测评
1分钟前 有人购买 去瞅瞅看
温馨提示:本站暂不支持手机端在线支付,请您在电脑端扫码完成支付!
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录