DRAWGBK(C>0, RGB(50,60,250),RGB(17,21,89),0,'11',0);

NN:=MIN(BARSCOUNT(C),N);

FF:=(C-REF(C,NN))/REF(C,NN);

STICKLINE(FF>0,DYNAINFO(3),DYNAINFO(3)*(1+FF),0.5,0),COLORRED;

STICKLINE(FF<0,DYNAINFO(3),DYNAINFO(3)*(1+FF),0.5,0),COLORGREEN;

X_1:=IF(CODELIKE(77) AND DATE>1200823 OR CODELIKE(78),1,0);

X_2:=CLOSE>=ZTPRICE(REF(CLOSE,1),IF(X_1>0,0.2,0.1));

NOTEXT60:60,CIRCLEDOT,COLORLIGRAY;

X_3:=30;

X_4:=200;

X_5:=LOW;

A2:SMA(MAX(X_5-REF(X_5,1),0),X_3,1)/SMA(ABS(X_5-REF(X_5,1)),X_3,1)*100,COLORRED,LINETHICK2;

抓涨停:A2>60 AND X_2,NODRAW;

割韭菜:REF(抓涨停,1) AND NOT(X_2),NODRAW;

DRAWICON(抓涨停,60,23);

DRAWICON(割韭菜,60,2);

工作线:EMA(CLOSE,14),COLORFFFFFF;

生命线:EMA(CLOSE,47);

VAR326:=IF(CLOSE>REF(CLOSE,1),88,0);

VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0);

STICKLINE(VAR327>90,L*0.99,L*0.95,4,0),COLORGREEN;

DRAWTEXT(VAR327>90,H*0.99,'●追涨追涨'),COLORYELLOW;

DRAWICON(VAR327>90,LOW*0.95,23),COLORYELLOW;