DIF:EMA(CLOSE,12)-EMA(CLOSE,26),colorblack;
DEA:EMA(DIF,9),colorbrown;
macd:(DIF-DEA)*2,COLORSTICK;
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
STICKLINE(涨停,0,MACD,0.1,0),colorblue;
DIF:EMA(CLOSE,12)-EMA(CLOSE,26),colorblack;
DEA:EMA(DIF,9),colorbrown;
macd:(DIF-DEA)*2,COLORSTICK;
涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);
STICKLINE(涨停,0,MACD,0.1,0),colorblue;