gspt2:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1);
gspt3:=COUNT(gspt2,2)=1 AND gspt2;
gspt4:=VOL/700000000;
gspt5:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
gspt6:=2.5*MAX(gspt4,gspt5);
gspt7:=DMA(CLOSE,gspt6);
gspt8:=SMA(20*(gspt7/REF(gspt7,1)-1),2,1);
gspt9:=EMA(gspt8,2);
gspt11:=CLOSE>=REF(CLOSE,1);
gspt12:=IF(gspt8>0.3 AND gspt9>=0.005 AND gspt11,1,0);
gspt13:=CROSS(gspt12,0.5) AND COUNT(gspt12>0.5,10)=1;
gspt14:=KDJ.J-REF(KDJ.J,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND MACD.MACD>0 AND MACD.DEA>0;
gspt15:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH AND BETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST(VOL,12));
gspt16:=FILTER(gspt15,28)*100 AND LOW>REF(CLOSE,1)*0.93;
gspt17:=gspt14 OR gspt16 AND gspt13;
gspt20:=CLOSE/REF(CLOSE,1)>1+0.01*9;
gspt21:=EXIST(CLOSE/REF(CLOSE,1)>1+0.01*9,10);
gspt22:=CLOSE/REF(CLOSE,1)>1+0.01*9;
gspt23:=IF(gspt20+gspt21+gspt22=3,1,0);
gspt24:=(HIGH-CLOSE)/(CLOSE-OPEN)< 0.33;
gspt25:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND (OPEN-LOW)/(CLOSE-OPEN)>=1.48 AND LOW< REF(LOW,1) AND LOW< REF(LOW,2);
gspt26:=CLOSE/REF(CLOSE,1)-1>=0.08;
gspt27:=VOL>REF(VOL,1)*1.9 AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)-1>=0.049 AND gspt24;
gspt28:=CLOSE/REF(CLOSE,1)-1>=0.0502 AND CLOSE>REF(CLOSE,1) AND VOL>REF(VOL,1) AND VOL>REF(VOL,1)*2.5 AND gspt24;
gspt29:=EMA(2.055*EMA(EMA(HIGH,34),34)-EMA(EMA(LOW,34),34),5);
gspt30:=IF(FILTER(gspt27 OR gspt28 OR gspt25 OR gspt26 AND gspt29>CLOSE,34),1,0) AND gspt23;
gspt31:=gspt17 OR gspt30;
gspt32:=gspt31-gspt31*0.14 AND gspt3;
gspt34:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>=0.93 AND H=C;
gspt35:=BARSLAST(gspt32);
二板爆量涨停:gspt35 AND gspt34 AND gspt35<=1;