gpxiazai1:=(O-REF(C,1))/REF(C,1)*100< 3;
gpxiazai2:=(C-REF(C,1))/REF(C,1)*100< 5;
gpxiazai3:=(C-REF(C,1))/REF(C,1)*100>2;
gpxiazai4:=(REF(C,1)-REF(C,2))/REF(C,2)*100< 5;
gpxiazai5:=(C-REF(C,29))/REF(C,29)*100< 55;
gpxiazai6:=(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;
长上影选股:=gpxiazai1 AND gpxiazai2 AND gpxiazai3 AND gpxiazai4 AND gpxiazai6 AND gpxiazai5 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);
放量阳选股:=gpxiazai1 AND gpxiazai2 AND gpxiazai3 AND gpxiazai4 AND gpxiazai6 AND gpxiazai5 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 放量阳选股;