DRAWBAND(MA(CLOSE,13),RGB(55,0,0),MA(CLOSE,34),RGB(0,91,0));
DRAWBAND(MA(CLOSE,13),RGB(155,50,50),MA(CLOSE,55),RGB(83,123,68));
DRAWKLINE(H,O,L,C);
EMA13:MA(C,13),COLORWHITE,LINETHICK1;
EMA34:=MA(C,34),COLORYELLOW;
EMA55:MA(C,55),COLORGREEN;
{涨跌停显示}
涨停1:=IF((C-REF(C,1))*100/REF(C,1) =(10-0.01*100/REF(O,1)),1,0);
STICKLINE(涨停1,O,C,2,0),COLORRED;
跌停:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(跌停 -9.9,O,C,2,0),COLORGREEN;
ST:=NAMELIKE('ST')||NAMELIKE('*ST')||NAMELIKE('SST');
C1:=REF(C,1);
ST涨停:=IF(1.05*C1-C 0.005,2,0)
非ST涨停:=IF(1.1*C1-C 0.005,2,0);
STICKLINE(ST涨停,O,C,2,0),COLORRED;
STICKLINE(ST涨停,H,L,0,0),COLORRED;
ST跌停:=IF(C-0.95*C1 0.005,2,0)
STICKLINE(ST跌停,O,C,2,0),COLORGREEN;
STICKLINE(ST跌停,H,L,0,1),COLORGREEN;
前20内高:=HHV(C,20);
压力线:CONST(REF(前20内高,2)),COLORRED,DOTLINE,LINETHICK1;