DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); macd:=(DIF-DEA)*2; 取值1:MacD>=-0.05 AND MACD<=0.05;