I'm trying to recreate indicators like in the tutorials, so that I don't have to make individual consolidators for a list of symbols, but I'm running into a recursion error. 

# create a 15 day exponential moving average
       self.fast = self.EMA(self.symbol, 15, Resolution.Daily);

# create a 30 day exponential moving average
      self.slow = self.EMA(self.symbol, 30, Resolution.Daily);

if self.fast > self.slow: < ------- This is where error is hitting

Runtime Error: RecursionError : maximum recursion depth exceeded while calling a Python object
at OnData
if self.fast.Current.Value > self.slow.Current.Value * Decimal(1 + tolerance):
===
at Python.Runtime.PyObject.Invoke(PyTuple args in main.py:line 55 
RecursionError : maximum recursion depth exceeded while calling a Python object (Open Stacktrace)

 

Is something like this format still possible to make work?