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)
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!