VAR1:=Abs(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,2) AND CLOSE/REF(CLOSE,1)>1.0572;
VAR2:=LLV(LOW,4)=LLV(LOW,10);
VAR3:=CLOSE/REF(CLOSE,1)>1.06 AND HIGH=CLOSE AND LOW<CLOSE;
VAR4:=CLOSE/LLV(LOW,4)<1.05 AND CLOSE/LLV(LOW,4)>1.05;
VAR5:=VAR3 AND (VAR4 OR VAR2);
XG:VAR1 AND VAR5 LINETHICK2 COLORYELLOW;
STICKLINE(XG,0,1,2,0),COLORMAGENTA;
DRAWTEXT(XG,0.8, '★涨停小妖'),COLORRED;
DRAWICON(XG,1,9);