K30:=SMA(((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100),3,1);
A1:=REF(C,2)<REF(C,3) AND REF(C,3)<REF(C,4);
SST:=C>REF(O,2);
ST1:=REF(C,1)<=REF(O,2);
ST2:=REF(C,2)/REF(C,3)<1 AND REF(L,2)<REF(C,3);
ST3:=REF(C,2)/REF(C,3)>1 AND REF(O,2)<REF(C,3);
ST4:=ST2 OR ST3;
A1 AND SST AND ST1 AND ST4 AND V/REF(V,1)>1 AND K30<50;
AA:=REF(C,3)-REF(C,2);
前日涨幅小于5%:=AA/REF(C,3)<0.049;
DD:=O-REF(H,1);
今日高开4%以上:=DD/REF(C,1)>0.039;
涨停:=CLOSE/REF(CLOSE,1)>=1.095;
昨日涨停:=REF(涨停,1);
前日涨幅小于5% AND 昨日涨停 AND 今日高开4%以上;