DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2,COLORSTICK; DRAWICON(MACD<0 AND MACD>REF(MACD,1)AND REF(MACD,1)<REF(MACD,2),L*0.99,1); DRAWICON(MACD>=0 AND MACD<REF(MACD,1)AND REF(MACD,1)>REF(MACD,2),H*1.01,2);
看股吧 公式 www.kanguba.co m