Hi, I am using rolling window to be able to access previous indicator values. However, I am getting error when I comparing the value from the  indicator to 0. I am not sure what the issue is. Thanks!

This works.

long_signal_1 = self.momfiveDayWindow[0] > self.momfiveDayWindow[2]

## THIS DOES NOT WORK.
 long_signal_1 = self.momfiveDayWindow[0] > float(0)