fix macd cross issue