gspt1:=(O-REF(C,1))/REF(C,1)*100< 3;
gspt2:=(C-REF(C,1))/REF(C,1)*100< 5;
gspt3:=(C-REF(C,1))/REF(C,1)*100>2;
gspt4:=(REF(C,1)-REF(C,2))/REF(C,2)*100< 5;
gspt5:=(C-REF(C,29))/REF(C,29)*100< 55;
gspt6:=(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);{分析家公式网http://www.70822.com}
长上影:=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;
长上影选股:=gspt1 AND gspt2 AND gspt3 AND gspt4 AND gspt6 AND gspt5 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);
放量阳选股:=gspt1 AND gspt2 AND gspt3 AND gspt4 AND gspt6 AND gspt5 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 放量阳选股;