Pine 'referencing length of a series' error after about 12 hours
stormbkk87 opened this issue · comments
Rich Storm commented
"Pine cannot determine the referencing length of a series. Try using max_bars_back in the study or strategy function.: Out of depth at index 10649: TimeScaleImpl depth=1135, length=11828, required depth=1179."
I've tried setting "indicator.setOption('max_bars_back', 1000)" but I get an error saying that option is not found. I've looked at all the examples and into the indicator code but can't find anything.
Thank you for your work. :)