{开盘竞价选股2}
gsptAU:=(CAPITAL/100)/10000<=10;
gsptSQ:=OPEN/ref(CLOSE,1);
gsptO5:=gsptSQ>=1.00 and gsptSQ< 1.05;
gsptZP:=VOL/CAPITAL*100;
gsptMZ:=MA(gsptZP,5);
gsptHK:=CLOSE/ref(CLOSE,1)>1.075;
gspt1V:=BARSLAST(gsptHK);
gsptBJ:=BETWEEN(gspt1V,1,10);
gsptMB:=BARSSINCE(v)+1=1;
gsptBQ:=BARSLAST(gsptMB);
gsptEP:=if(gsptMB,sum(v,0)/DYNAINFO(38)*240,ref(sum(v,0)/DYNAINFO(38)*240,gsptBQ));
gspt0T:gsptAU and gsptO5 and ref(gsptMZ,1)< 3 and gsptZP>3 and gsptEP>20;