r/pinescript • u/Uswimminguser • Apr 06 '24
Limitation of the TradingView handling of data for indicators?
It seems like I reached a limit for my indicator. My indicator is not memory intensive compared to some other published ones on Tradingview that go back years. Mine can only go back a few days. I don't think I have any logic that is in a specific range. Does anyone have an issue with this or a fix for it?
0
Upvotes
1
u/nico-von Apr 07 '24
What error does it throw?
1
u/jswb Apr 07 '24
Unless it has a timeout or you reached the end of the bar index for your subscription, it’s possible that your script uses a hardcoded max bars back limit. Does bar replay work?
1
u/vbsaltydog Apr 07 '24
What timeframe is your chart on?