gspt1:=REF(OPEN,5)*100;
gspt2:=(CLOSE-REF(OPEN,5));
gspt3:=REF(CLOSE,1)*100;
gspt4:=(CLOSE-REF(CLOSE,1));
gspt5:=REF(CLOSE,3)*100;
gspt6:=(REF(CLOSE,3)-CLOSE);
gspt7:=MA(CLOSE,54);
gspt8:=gspt6/gspt5>5;
gspt9:=FILTER(gspt8,10);
gspt10:=BARSLAST(gspt9);
gspt11:=REF(HIGH,gspt10+2);
gspt12:=REF(HIGH,gspt10+1);
gspt13:=REF(HIGH,gspt10);
gspt14:=MAX(gspt11,gspt12);
gspt15:=MAX(gspt14,gspt13);
gspt16:=gspt4/gspt3>5;
gspt17:=gspt10< 150;
gspt18:=(OPEN-gspt15)/gspt15*100< 30;
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
gspt19:=(CLOSE-LLV(LOW,gspt10))/LLV(LOW,gspt10)*100< 50;
gspt20:=gspt2/gspt1< 30;
gspt21:=VOL/MA(VOL,5)< 3.5;
gspt22:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100< 80;
gspt25:=gspt16 AND gspt17 AND gspt18 AND gspt19 AND gspt20 AND gspt21 AND gspt22;
gspt26:=FILTER(gspt25,15);
gspt27:=(((CLOSE-gspt7)/gspt7)< 0.1);
gspt28:=(((CLOSE-MA10)/MA10)< 0.3);
gspt29:=(((gspt27=1) AND (gspt28=1))*0.2);
gspt30:=((((gspt29=0) AND (REF(gspt29,1)=0.2)) AND (REF((COUNT((gspt29=0.2),10)=10),1)=1))*-0.1);
gspt31:=gspt30=-0.1;
gspt32:=(gspt26 OR gspt31);
gspt38:=DYNAINFO(7)/(REF(CLOSE,1))>1.05 AND (DYNAINFO(7)/O>1.05);
gspt39:=(VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1)) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);
成龙:gspt32 AND C/REF(C,1)>1.095 AND gspt39 AND gspt38,NODRAW;
STICKLINE(C/REF(C,1)>=1.096 AND H=C,O,C,2,0),COLORYELLOW;
DRAWICON(成龙,LOW*0.995,7);
DRAWTEXT(成龙,LOW*0.975,' 成龙'),COLORYELLOW;