MA5:MA(C,5);
MA8:MA(C,8);
MA13:MA(C,13);
MA45:MA(C,45),LINETHICK2;
MA55:MA(C,55),LINETHICK2;
MA65:MA(C,65),LINETHICK2;
C3:=REF(C,1);
涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(涨停,OPEN,CLOSE,2.5,0),COLORRED;
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,2.5,0),COLOR66FF33;