'I am getting the error -> NameError : name 'MACD' is not defined in quantconnect on lline 8

I am getting the error NameError: name 'MACD' is not defined in quantconnect on line 8

from AlgorithmImports import *

class PensiveYellowGreenChimpanzee(QCAlgorithm):

    def Initialize(self):
        self.SetStartDate(2020, 9, 26) 
        self.SetEndDate(2021, 9, 26)
        self.SetCash(100000)  
        self.AddForex('EURUSD', Resolution.Daily)
        # The line 8:
        self.__macd = MACD("EURUSD", 12, 26, 9, MovingAverageType.Exponential, Resolution.Daily)


    def OnData(self, data: Slice):

        self.Plot("My Indicators", "MCD Signal", self.__macd.Signal)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source