VAR2:=FILTER(VAR1,10);
VAR3:=BACKSET(VAR2,10+1);
VAR4:=FILTER(VAR3,10);
前高:=REF(H,BARSLAST(VAR4));
倍量:=VOL/REF(VOL,1)>=1.9;
突破前高:=CROSS(C,前高);
品种限制:=CODELIKE('60') OR CODELIKE('30') OR CODELIKE('00');
涨幅限制:=(C-REF(C,1))/REF(C,1)>0.02;
阳线:=C>=O;
在均线上:=C>MAX(MA(C,20),MA(C,30));
XG:=倍量 AND 突破前高 AND 品种限制 AND 涨幅限制 AND 阳线 AND 在均线上 AND FINANCE(41) < 30000000000;
选股:=XG;
DRAWTEXT(XG,L*0.99,'主力突破'),COLORYELLOW;
STICKLINE(XG,O,C,3,0),COLORD017CC;
DRAWICON(选股 AND COUNT(选股,20)>=2,L*0.98,9);
DRAWICON(选股 AND COUNT(选股,20)>=2,L*0.97,9);
STICKLINE(选股 AND COUNT(选股,20)>=2,O,C,3,0),COLORD017CC;
STICKLINE(选股 AND COUNT(选股,20)>=2,O,C,3,0),COLORYELLOW;
STICKLINE(选股,20,0,4,0),COLOR000099;
STICKLINE(选股,30,0,2,0),COLOR0000BB;
STICKLINE(选股,40,0,1,0),COLOR0000DD;
STICKLINE(选股,60,0,0.9,0),COLOR0000FF;
DRAWICON(选股,60,34);
DRAWTEXT(选股>0,30,'主力突破'),COLOR00C5FF;