通达信两阳夹一阴 选股源码

[复制链接]
查看179 | 回复0 | 2021-8-20 08:02:39 | 显示全部楼层 |阅读模式

以下是通达信两阳夹一阴 选股源码(无源码的请下载附件导入)

XNV:=IF(CURRBARSCOUNT=1 AND PERIOD=5,DYNAINFO(17)*REF(MA(V,5),1),VOL);
 J1:=REF(C,2)>REF(O,2);
 J21:=REF(O,1)>=REF(C,1) AND REF(C,1)<=REF(C,2); {真阴}
J22:=REF(O,1)>=REF(C,1) AND REF(C,1)>=REF(C,2); {假阴}
J23:=REF(C,1)>=REF(O,1) AND REF(C,1)<=REF(C,2); {假阳}
J2:=J21 OR J22 OR J23;
 J3:=C>O;
 J4:= REF(C,2)/REF(O,2)> IF(REF(O,1)>=REF(C,1),REF(O,1)/REF(C,1),
 REF(C,1)/REF(O,1));
 J5:=C>=MAX(REF(O,1),REF(C,1));
 JJ:=J1 AND J2 AND J3 AND J4 AND J5;
 L1:=REF(V,2)>=1.898*REF(V,3) OR REF(V,2)>=REF(HHV(V,33),2);
 L2:=REF(V,1)<REF(V,2);
 L3:=XNV>=1.898*REF(V,1) OR XNV>=HHV(V,33);
 L13:=L1 OR L3;
 LL:=L13 AND L2;
 JJ AND LL;{选股或预警};

851188579.jpg

851188579.jpg

回复

使用道具 举报

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

本版积分规则