Mathieu2301 / TradingView-API

📈 Get real-time stocks from TradingView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

stormbkk87 opened this issue · 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. :)