MA10:MA(CLOSE,10),COLORYELLOW;
MA20:MA(CLOSE,20),COLOR00DD00;
MA30:MA(CLOSE,30),COLOR0000DD;
MA60:MA(CLOSE,60),COLORAA0000;
MA120:MA(CLOSE,120),COLORDDDD00;
MA250:MA(CLOSE,250),COLORDD00DD;
涨停:=CLOSE>REF(CLOSE,1)*1.095 AND CLOSE=HIGH;
跌停:=CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW;
{STICKLINE(涨停,O,C,0,0),COLOR00DD00;
STICKLINE(跌停,O,C,0,0),COLORDD0000;}
DRAWICON(涨停,H+0.2,1);DRAWICON(跌停,L-0.02,2);