UID102674
积分140
学分
推广 个
预报后涨停 支
阅读权限20
在线时间 小时
注册时间2011-2-24
最后登录1970-1-1
|
N:=20;{该值可调}
VV:=MA(V,N/4);
缩量柱:=COUNT(VV<REF(VV,1),N/2)>=N/2*0.9;
梯量柱:=COUNT(VV>REF(VV,1),N/2)>=N/2*0.7;
地量群:=COUNT(V<=LLV(V,50)*1.2 AND V>0,5)>=1 {AND BARSCOUNT(V)>=100};
并平 :=RANGE(V/REF(V,1),0.97,1.03) AND BARSCOUNT(V)>=2;
凹平2:=RANGE(V/REF(V,2),0.97,1.03) AND REF( VOL,1) <V;
凹平3:=RANGE(V/REF(V,3),0.97,1.03) AND REF(HHV(VOL,2),1)<V;
凹平4:=RANGE(V/REF(V,4),0.97,1.03) AND REF(HHV(VOL,3),1)<V;
凹平5:=RANGE(V/REF(V,5),0.97,1.03) AND REF(HHV(VOL,4),1)<V;
凹平6:=RANGE(V/REF(V,6),0.97,1.03) AND REF(HHV(VOL,5),1)<V;
凹平7:=RANGE(V/REF(V,7),0.97,1.03) AND REF(HHV(VOL,6),1)<V;
凹平8:=RANGE(V/REF(V,8),0.97,1.03) AND REF(HHV(VOL,7),1)<V;
平量:= 并平 OR 凹平2 OR 凹平3 OR 凹平4 OR 凹平5 OR 凹平6 OR 凹平7 OR 凹平8;
XG1:= COUNT(REF(缩量柱,N/2),3)>0 AND 梯量柱
AND COUNT(地量群,N)>0 AND COUNT(平量,N)>0
AND HHV(V,N/2)<=V;CC:=MA(C,N/4);
价缩:=COUNT(CC<REF(CC,1),N/2)>=N/2*0.9;
价增:=COUNT(CC>REF(CC,1),N/2)>=N/2*0.7;
XG2:= COUNT(REF(价缩,N/2),3)>0 AND 价增 {AND HHV(C,N/2)<=C};
XG: XG1 AND XG2; |
|