ABC1:=HIGH>LOW*1.051;
ABC2:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.05;
ABC3:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=(-0.095);
ABC4:=CLOSE>OPEN*1.051;
ABC5:=LOW<OPEN*0.949;
ABC6:=(CLOSE/REF(CLOSE,1)-1)*100;
ABC7:=ABC6>9.93 AND CLOSE=HIGH;
ABC8:=COUNT(ABC7,100)>0;
ABC9:=(REF(CLOSE,1)/REF(CLOSE,2)-1)*100;
狙击涨停:=(ABC1 AND ABC2 AND ABC4 AND (CLOSE-MA(CLOSE,3))/MA(CLOSE,3)>0.05)*100 AND ABC8 AND ABC9<4;
STICKLINE(狙击涨停,0,6,2,0),COLORYELLOW;
STICKLINE(狙击涨停,0,6,1,0),COLORMAGENTA;
STICKLINE(狙击涨停,0,6,0.1,0),COLORRED;
DRAWICON(狙击涨停,6,29);{公式网WWW.GPXIAZAI.COM}
DRAWTEXT(狙击涨停,5,' ★狙击涨停'),COLORYELLOW;