GUP1:=(O-REF(C,1))/REF(C,1)*100< 3;
GUP2:=(C-REF(C,1))/REF(C,1)*100< 5;
GUP3:=(C-REF(C,1))/REF(C,1)*100>2;
GUP4:=(REF(C,1)-REF(C,2))/REF(C,2)*100< 5;
GUP5:=(C-REF(C,29))/REF(C,29)*100< 55;
GUP6:=(H-C)/REF(C,1)*100< 4.3;
volUME:=VOL;
MAVOL1:=MA(VOLUME,120);
A8:=VOL>MAVOL1*1.2;
A65:=FINANCE(40)< 200*100000000;
A66:=FINANCE(40)>10*100000000;
去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));
A88:=(REF(HHV(C,12),1)-REF(LLV(C,12),1))/REF(LLV(C,12),1)*100< 18;
LC:=REF(CLOSE,1);
Wrsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
G:=crOSS(wrSI,50);
长上影:=C/H<=0.96 AND C/O>=0.98;
放量阳:=C/REF(C,1)>=1.04 AND C>O AND VOL/REF(VOL,1)>=1.8;
长上影选股:=GUP1 AND GUP2 AND GUP3 AND GUP4 AND GUP6 AND GUP5 AND A8 AND A65 AND A66 AND A88 AND 去ST AND 0.35>DYNAINFO(37) AND DYNAINFO(37)>0.03 AND G AND COUNT(长上影,90)>=2 AND C=HHV(C,3);
放量阳选股:=GUP1 AND GUP2 AND GUP3 AND GUP4 AND GUP6 AND GUP5 AND A8 AND A65 AND A66 AND A88 AND 去ST AND 0.35>DYNAINFO(37) AND DYNAINFO(37)>0.03 AND G AND COUNT(放量阳,90)>=2 AND C=HHV(C,3);
尾盘选股:长上影选股 OR 放量阳选股;