通达信利润断层选股源码

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

以下是通达信利润断层选股源码(无源码的请下载附件导入)

N:=20;
ZTB:=1;
A1:=H>=REF(C,1)*1.098 AND L>REF(H,1)AND C/REF(C,1)>1.05 AND C/O>0.98;
A2:=BARSLAST(A1);
A3:=EVERY(L>REF(H,A2+1),A2);
A4:=EXIST(A1,N) AND A3;
A5:=C>=REF(C,1)*1.098 AND L>REF(H,1)AND C/O>0.98;
A6:=BARSLAST(A5);
A7:=EVERY(L>REF(H,A6+1),A6);
A8:=EXIST(A5,N) AND A7;
B1:=BARSCOUNT(C)>50 AND L>REF(H,1) AND C/O>=1.03;
B2:=C>MA(C,50) AND C>MA(C,120);
C1:=B2 AND (A4 OR A8);
C2:=B2 AND (A4 OR A8 OR B1);
净利润断层:IF(ZTB=1,C1,C2);

回复

使用道具 举报

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

本版积分规则