通达信N字上攻形态选股预警 源码 附图

[复制链接]
查看188 | 回复0 | 2021-8-26 22:09:13 | 显示全部楼层 |阅读模式

以下是通达信N字上攻形态选股预警 源码 附图(无源码的请下载附件导入)

N字上攻形态选股预警 源码 通达信 附图

XA_1:=1200630;
 XA_2:=DATE;
 XA_3:=IF(DATE<=XA_1,1,0);
 XA_4:=IF(DYNAINFO(17)>0 AND DYNAINFO(4)>0,1,0);
 XA_5:=IF(NAMELIKE(1),0,1);
 XA_6:=IF(NAMELIKE(2),0,1);
 XA_7:=IF(INBLOCK(3) OR INBLOCK(4),0,1);
 XA_8:=BARSCOUNT(CLOSE)>28;
 XA_9:=IF(CODELIKE(5),0,1);
 XA_10:=FINANCE(33)>0;
 XA_11:=XA_4 AND XA_5 AND XA_6 AND XA_7 AND XA_10 AND XA_8 AND XA_9;
 XA_12:=MA(CLOSE,20);
 XA_13:=XA_12+2*STD(CLOSE,20);
 XA_14:=XA_12-2*STD(CLOSE,20);
 XA_15:=CROSS(CLOSE,XA_13);
 XA_16:=CROSS(XA_13,CLOSE);
 XA_17:=REF(BARSLAST(XA_15),1);
 XA_18:=REF(BARSLAST(XA_16),1);
 XA_19:=REF(COUNT(CLOSE<XA_13,3)=3,1);
选股:COUNT(XA_15,20)=2 AND COUNT(XA_16,20)=1 AND XA_19 AND XA_15 AND XA_3 AND XA_11;

756466695.jpg

756466695.jpg

回复

使用道具 举报

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

本版积分规则