SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);
SR2:=FILTER(SR1,10);
SR3:=BACKSET(SR2,10+1);
HDD:=FILTER(SR3,10);
前高高:=REF(H,BARSLAST(HDD));
倍量量:=VOL/REF(VOL,1)>=1.9;
突破前高高:=CROSS(C,前高高);
强庄:=倍量量 AND 突破前高高;
DRAWGBK(C>1,RGB(0,0,0),RGB(1,1,1),1,0,0);
DRAWKLINE(H,O,L,C);
BK:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2 ,IF(INBLOCK('ST板块'),0.05,0.1)));
ZTBTJ1:=C>=MAX((INTPART(REF(C,1)*1.1*100)/100),ZTPRICE(REF(C,1),BK));
ZTBTJ2:=C>=(INTPART(REF(C,1)*1.05*100)/100);
涨停提示:=IF(NAMELIKE('ST') OR NAMELIKE('*') OR NAMELIKE('SS') OR NAMELIKE('S'),ZTBTJ2,ZTBTJ1);
STICKLINE(IF(CODELIKE('999') OR CODELIKE('399') OR CODELIKE('880') OR NAMELIKE('超大盘'),DRAWNULL,涨停提示 AND PERIOD=5 AND O!=H),C,O,3,0),COLORYELLOW;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
主力:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,20))/210,COLORRED;
IF(主力>=REF(主力,1),主力,DRAWNULL),COLORRED;
IF(主力<=REF(主力,1),主力,DRAWNULL),COLORGREEN;
IF(主力<=REF(主力,1),主力,DRAWNULL),COLORGREEN;
HAN:=DATE=DATE;
A:=REF(HIGH,9)=HHV(HIGH,2*9+1);
B:=FILTER(A,9);
AB:=BACKSET(B,9+1);
HD:=FILTER(AB,9);
前高:=REF(H,BARSLAST(HD));
倍量:=VOL/REF(VOL,1)>=1.1;
突破前高:=CROSS(C,前高);
XG:=倍量AND突破前高;
YX:=DRAWLINE(XG,L,XG,L,1);
重点:=XG AND 强庄;
STICKLINE(重点,8,88,99999.88,0)*HAN,COLOR000000;
STICKLINE(重点,8,88,0.01.88,0)*HAN,COLOR505050;
DRAWTEXT(重点,70,' ▲')*HAN,COLORRED;
DRAWTEXT(重点,60,' 〓')*HAN,COLORRED;
DRAWTEXT(重点,50,' 红')*HAN,COLORRED;
DRAWTEXT(重点,40,' 箭')*HAN,COLORRED;
DRAWTEXT(重点,30,' 头')*HAN,COLORRED;
DRAWTEXT(重点,10,'◢〓◣')*HAN,COLORRED;
DRAWTEXT_FIX(1,0.00,0.15,0,' 异动'),COLORYELLOW;