Macd calculation added.