gspt3:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
gspt4:=FILTER(gspt3,10);
gspt5:=BARSLAST(gspt4);
gspt6:=REF(HIGH,gspt5+2);
gspt7:=REF(HIGH,gspt5+1);
gspt8:=REF(HIGH,gspt5);
gspt9:=MAX(gspt6,gspt7);
gspt10:=MAX(gspt9,gspt8);
gspt11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
gspt12:=gspt5<150;
gspt13:=(OPEN-gspt10)/gspt10*100<30;
gspt14:=(CLOSE-LLV(LOW,gspt5))/LLV(LOW,gspt5)*100<50;
gspt15:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
gspt16:=VOL/MA(VOL,5)<3.5;
gspt17:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
gspt18:=gspt11 AND gspt12 AND gspt13 AND gspt14 AND gspt15 AND gspt16 AND gspt17;
gspt19:=FILTER(gspt18,15);
gspt20:=(CLOSE-MA(CLOSE,55))/MA(CLOSE,55)<0.1;
gspt21:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)<0.3;
gspt22:=(gspt20=1 AND gspt21=1)*0.2;
gspt23:=(gspt22=0 AND REF(gspt22,1)=0.2 AND REF(COUNT(gspt22=0.2,10)=10,1)=1)*(-0.1);
gspt24:=gspt23=(-0.1);
gspt25:=gspt19 OR gspt24;
gspt26:=C/REF(CLOSE,1)>1.05 AND C/OPEN>1.05;
gspt27:=VOL/REF(VOL,1)>1.2 AND CLOSE>OPEN OR (LOW>REF(HIGH,1) AND OPEN>CLOSE AND VOL/REF(VOL,1)>1.2);
gspt28:=IF(CODELIKE(3) OR (CODELIKE(4) AND DATE>=1200824),CLOSE>=ZTPRICE(REF(CLOSE,1),0.2) AND CLOSE=HIGH,CLOSE>=ZTPRICE(REF(CLOSE,1),0.1) AND CLOSE=HIGH);
财龙:gspt25 AND gspt26 AND gspt27 AND gspt28 AND REF(NOT(gspt28),1) AND C>MA(C,60);