某大侠发的分型选股,我该成通达信的,已经过测试
小弟刚学不久,还未领略分型选股精华。
MA5:=(c,5),LINETHICK1;
V00:= h
V01:= href(l,1);
V02:= h>ref(h,1) AND l
V03:= h>ref(h,1) AND l>ref(l,1);
V04:= ref(h,2) < h AND ref(l,2) < l
AND ref(h,2) > ref(h,1) AND ref(l,2) < ref(l,1);
V1:= count(V00,6)>=3 AND count(V01 OR V02,5)=0 AND llv(l,6) = 1 AND hhv(h,6) >= 5 AND V03;
V2:= count(V00,7)>=3 AND count(V01 OR V02,6)=1 AND llv(l,7) = 2 AND hhv(h,7) >= 6 AND V04;
V3:= count(V00,7)>=3 AND count(V01 OR V02,6)=1 AND llv(l,7) = 1 AND hhv(h,7) >= 6 AND V03;
V4:= count(V00,8)>=3 AND count(V01 OR V02,7)<=2 AND llv(l,8) = 2 AND hhv(h,8) >= 7 AND V04;
V5:= count(V00,8)>=3 AND count(V01 OR V02,7)<=2 AND llv(l,8) = 1 AND hhv(h,8) >= 7 AND V03;
V6:= count(V00,9)>=3 AND count(V01 OR V02,8)<=3 AND llv(l,9) = 2 AND hhv(h,9) >= 8 AND V04;
V7:= count(V00,9)>=3 AND count(V01 OR V02,8)<=3 AND llv(l,9) = 1 AND hhv(h,9) >= 8 AND V03;
V8:= count(V00,10)>=3 AND count(V01 OR V02,9)<=4 AND llv(l,10) = 2 AND hhv(h,10) >= 9 AND V04;
V9:= count(V00,10)>=3 AND count(V01 OR V02,9)<=4 AND llv(l,10) = 1 AND hhv(h,10) >= 9 AND V03;
V10:= count(V00,11)>=3 AND count(V01 OR V02,10)<=5 AND llv(l,11) = 2 AND hhv(h,11) >= 10 AND V04;
DFX:=V1 OR V2 OR V3 OR V4 OR V5 OR V6 OR V7 OR V8 OR V9 OR V10 and c> MA5;
XG:DFX and c> MA5 ;
上一篇:MACD 强势做多版 下一篇:通达信之KD比较法主图公式