C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2>=(9.5-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,4,0),COLORRED;
STICKLINE(涨停,H,L,0,0),COLORRED;
跌停:=IF((C2-C)*100/C2>=(9.5-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,4,0),COLORGREEN;
STICKLINE(跌停,H,L,0,1),COLORGREEN;