A1:=REF(C,3)/REF(C,4)>1.099 AND REF(C,3)>REF(O,3);
A2:=REF(C,1)< REF(C,2) AND REF(C,1)>REF(O,3) AND REF(O,1)/REF(O,3)< 1.05 AND REF(C,1)< REF(C,3);
A3:=L/REF(O,3)< 1.03 AND C>REF(C,3);
XG1:=A1 AND A2 AND A3;
DRAWTEXT(XG1,L*0.97,'★N字涨停'),COLORWHITE;
AB1:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20) AND MA(C,5)>MA(C,10);
AB2:=REF((H-MAX(O,C))/MAX(O,C)*100>3,1) AND REF((MIN(O,C)-L)/L*100< 2,1);
AB3:=O< REF(O,1) AND C>REF(H,1);
XGB1:=AB1 AND AB2 AND AB3;
DRAWTEXT(XGB1,H*1.02,'←突破上影'),COLORYELLOW;
ZA1:=REF(O,1)>REF(H,2) AND REF(C,1)< REF(O,1) AND REF(H,1)=REF(O,1);
ZA2:=REF(V,1)=HHV(V,15) AND REF(V,1)/REF(V,2)>=3 AND REF(C,1)/REF(C,2)>1.02;
ZA3:=C>REF(H,1);
ZXG:=ZA1 AND ZA2 AND ZA3;
DRAWTEXT(ZXG,REF(H,1)*1.02,'●突破假阴'),COLORGREEN;
AC1:=REF(C,1)/REF(C,2)< 0.92;
AC2:=C>REF(O,1) AND C/REF(C,1)>1.05;
AC3:=O/REF(C,1)< 1.09;
XGC:=AC1 AND AC2 AND AC3;
DRAWTEXT(XGC,L-0.05,'●先跌停后涨停'),COLORRED;