improved macd