STICKLINE(涨停,H,L,2,0),COLORYELLOW;
跌停:=IF((C2-C)*100/C2 =(10-0.01*100/C2),1,0);
STICKLINE(跌停,H,L,1,0),COLORWHITE;
MAXV:=CONST(HHV(VOL,21));
MAXS:=CONST(HHV(HIGH,21));
BS:=MAXV/MAXS;
VOLUME:=VOL/BS*0.10;
ORIGIN:=CONST(LLV(LOW,0))-CONST(0.5*HHV(VOLUME,0)),;
STICKLINE(CLOSE =OPEN,ORIGIN,ORIGIN+VOLUME,0.2,0),COLORRED;
STICKLINE(CLOSE OPEN,ORIGIN,ORIGIN+VOLUME,0.2,0),COLORGREEN;