STICKLINE(C>0,C,O,2.5,0),COLOR000000;
STICKLINE(C>0,H,L,0.1,0),COLOR000000;
现价:C,LINETHICK2;
均价:SUM(V*C,0)/SUM(V,0),COLORFF00FF;
昨收:DYnaINFO(3),COLORWHITE,LINETHICK2;
{涨停:REF(C,1)*1.1,NODRAW,COLORWHITE;
跌停:REF(C,1)*0.9,NODRAW,COLOR00FF00;}
VAR1:=Ema(C,12)-ema(C,26);
VAR2:=EMA(VAR1,9);
MacD:=2*(VAR1-VAR2)*5;
STICKLINE(macd>0,昨收,昨收+MACD,0,0),COLORWHITE;
STICKLINE(MACD<0,昨收,昨收+MACD,0,0),COLOR00FF00;