I've only been using QuantConnect for a few weeks and assume this is pretty basic, but I can't seem to get candle stick indicators to work. My code is just the following, but when backtesting I get the error: "Runtime Error: TypeError : Cannot get managed object at OnData in main.py:line 52 TypeError : Cannot get managed object". Also, I don't understand why the it says the error is in line 52, as my code is only 10 lines. Thank you!

class TachyonVerticalCompensator(QCAlgorithm):

def Initialize(self):
self.SetStartDate(2018, 12, 29)
self.AddEquity("NUGT", Resolution.Hour)
self.tls = self.CandlestickPatterns.ThreeLineStrike("NUGT")

def OnData(self, data):
if self.tls > 0: self.Debug(self.tls)