MA2:MA(CLOSE,10);
DRAWGBK(CLOSE>1,RGB(0,0,0),RGB(86,219,254),0,0,0);
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;
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;
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(XG,OPEN,CLOSE,0.2,0),COLOR00FFFF;
DRAWTEXT(XG,L*0.98,''),COLORYELLOW;
DRAWICON(XG,L*1,9);
DRAWICON(重点 AND COUNT(重点,10)>=2,L*0.98,9);
DRAWICON(重点 AND COUNT(重点,10)>=2,L*0.96,9);
DRAWICON(重点 AND COUNT(重点,10)>=2,L*0.94,9);
MID1:=MA(C,15)*1.005;
VART1:=POW((C-MID1),2);
VART2:=MA(VART1,15);
VART3:=SQRT(VART2);
UPPER:=MID1+2*VART3;
LOWER:=MID1-2*VART3;
启明线:=REF(MID1,1),COLORFFFFFF;
揽月线:=REF(UPPER,1),COLOR00FFFF;
U:=IF(启明线>REF(启明线,1),启明线,DRAWNULL),COLORRED,LINETHICK1;
D1:=IF(启明线< REF(启明线,1),启明线,DRAWNULL),COLORGREEN,LINETHICK1;
DRAWICON(CLOSE>揽月线,LOW,9);
DRAWICON(REF(C,1)>揽月线 AND CLOSE< 揽月线,HIGH,2);
LC:=REF(CLOSE,2);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 80);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(68,RSI),(HIGH * 1.02),'逃'),COLORYELLOW;