TradingView-API icon indicating copy to clipboard operation
TradingView-API copied to clipboard

Pine 'referencing length of a series' error after about 12 hours

Open stormbkk87 opened this issue 2 years ago • 0 comments

"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. :)

stormbkk87 avatar Apr 18 '23 07:04 stormbkk87