A:=VOL/REF(VOL,1)>1.9 AND C/REF(C,1)>1.03;
B:=VOL/REF(VOL,1)<0.6 AND REF(C,1)>REF(C,2) AND C/REF(C,1)>0.99 AND C/REF(C,1)<1.01;
ZF:=(C-REF(C,1))/REF(C,1)*100;
NOST:=EXIST(ZF>5.2,100) OR EXIST(ZF<-5.2,100);
K10:=SLOPE(CLOSE,10)>0.02;
XG:COUNT(A,5) AND COUNT(B,5) AND NOST AND K10;
请加学分,谢谢。
伸倍量柱:= REF(V>=REF(V,1)*1.5 AND C>O,1) AND V<=REF(V,1)*0.9;
T:=BARSSINCEN(伸倍量柱,8);{178448-WEN98编写};
不跌破:=LLV(C,T+2)>=REF(L,T+1);
缩倍双阴:=COUNT(C<O,2)=2 AND REF(C>O,2) AND MA(V,2)<=REF(V,2)*0.7;
倍量伸缩:= REF(伸倍量柱,1) AND 缩倍双阴;
凹底:= (MA(C,3)-LLV(L,20))/LLV(L,20)<0.1;
涨停:= C>=(1.10*REF(C,1)-0.004);{178448-WEN98编写}
XG1:= COUNT(伸倍量柱,8)>=2 AND 倍量伸缩 AND 凹底 AND 不跌破 AND T>=3 AND COUNT(涨停,30);
XG: COUNT(XG1,10) ;
本帖最后由 何大 于 2012-7-12 16:23 编辑 A:=VOL/REF(VOL,1)>1.9 AND C/REF(C,1)>1.03; B:=VOL/REF(VOL,1)<0.6 AND REF(C,1)>REF(C,2) AND C/REF(C,1)>0.99 AND C/REF(C,1)<1.01; ZF:=(C-REF(C,1))/REF(C,1)*100; NOST:=EXIST(ZF>5.2,100) OR EXIST(ZF<-5.2,100); K10:=SLOPE(CLOSE,10)>0.02; XG:COUNT(A,5) AND COUNT(B,5) AND NOST AND K10; 请加学分,谢谢。