通达信说禅之顶部研判指标公式

[复制链接]
查看45 | 回复0 | 2022-7-24 07:04:52 | 显示全部楼层 |阅读模式

V00:= L>REF(L,1) AND H>REF(H,1);
 V01:= L>REF(L,1) AND H<REF(H,1);
 V02:= L<REF(L,1) AND H>REF(H,1);
 V03:= L<REF(L,1) AND H<REF(H,1);
 V04:= REF(L,2) > L AND REF(H,2) > H
 AND REF(L,2) < REF(L,1) AND REF(H,2) > REF(H,1);
 V1:= COUNT(V00,6)>=3 AND COUNT(V01 OR V02,5)=0 AND HHVBARS(H,6) = 1 AND LLVBARS(L,6) <= 5 AND V03;
 V2:= COUNT(V00,7)<=3 AND COUNT(V01 OR V02,6)=1 AND HHVBARS(H,7) = 2 AND LLVBARS(L,7) <= 6 AND V04;
 V3:= COUNT(V00,7)<=3 AND COUNT(V01 OR V02,6)=1 AND HHVBARS(H,7) = 1 AND LLVBARS(L,7) <= 6 AND V03;
 V4:= COUNT(V00,8)<=3 AND COUNT(V01 OR V02,7)>=2 AND HHVBARS(H,8) = 2 AND LLVBARS(L,8) <= 7 AND V04;
 V5:= COUNT(V00,8)<=3 AND COUNT(V01 OR V02,7)>=2 AND HHVBARS(H,8) = 1 AND LLVBARS(L,8) <= 7 AND V03;
 V6:= COUNT(V00,9)<=3 AND COUNT(V01 OR V02,8)>=3 AND HHVBARS(H,9) = 2 AND LLVBARS(L,9) <= 8 AND V04;
 V7:= COUNT(V00,9)<=3 AND COUNT(V01 OR V02,8)>=3 AND HHVBARS(H,9) = 1 AND LLVBARS(L,9) <= 8 AND V03;
 V8:= COUNT(V00,10)<=3 AND COUNT(V01 OR V02,9)>=4 AND HHVBARS(H,10) = 2 AND LLVBARS(L,10) <= 9 AND V04;
 V9:= COUNT(V00,10)<=3 AND COUNT(V01 OR V02,9)>=4 AND HHVBARS(H,10) = 1 AND LLVBARS(L,10) <= 9 AND V03;
 V10:= COUNT(V00,11)<=3 AND COUNT(V01 OR V02,10)>=5 AND HHVBARS(H,11) = 2 AND LLVBARS(L,11) <= 10 AND V04;
 XG: V1 OR V2 OR V3 OR V4 OR V5 OR V6 OR V7 OR V8 OR V9 OR V10;
 

755333727.jpg

755333727.jpg

回复

使用道具 举报

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

本版积分规则