ABC1:=(OPEN-REF(C,1))/REF(C,1)*100< 3;
ABC2:=(C-REF(C,1))/REF(C,1)*100< 5;
ABC3:=(C-REF(C,1))/REF(C,1)*100>2;
ABC4:=(REF(C,1)-REF(C,2))/REF(C,2)*100< 5;
ABC5:=(C-REF(C,29))/REF(C,29)*100< 60;
ABC6:=(H-C)/REF(C,1)*100< 4.3;
ABC9:=VOL/CAPITAL*100>5 AND VOL/CAPITAL*100< 10 AND V/REF(MA(V,5),1)>2;
VOLUME:=VOL;
MAVOL1:=MA(VOLUME,120);
ABC7:=VOL>MAVOL1*1.2;
去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));
ABC78:=(REF(HHV(C,12),1)-REF(LLV(C,12),1))/REF(LLV(C,12),1)*100< 18;
AI尾盘抢筹:ABC1 AND ABC2 AND ABC3 AND ABC4 AND ABC5 AND ABC6 AND ABC7 AND ABC78 AND 去ST AND ABC9 COLORRED;
DRAWICON(AI尾盘抢筹,1,9);
DRAWTEXT(AI尾盘抢筹,0.6,' ★抢筹'),COLORYELLOW;