How can I log the current price when it's above or bellow the Exponential moving average? I have been trying variations of the code below, but I get an error on the Log method: TypeError : Cannot get managed object at OnData in main.py. 

Thanks!

self.slow = self.EMA("EURUSD", 100, Resolution.Hour) def OnData(self, data): price = data["EURUSD"].price if price > self.slow: self.Log("The Price {0} is ABOVE".format(self.Securities["EURUSD"].Price))