Added MACD method