Page 1 of 1

About memory exceed problem in pinescript

Posted: Wed Feb 07, 2024 12:40 am
by aenes22346
Hi, when i look at plot(bar_index) at BINANCE:BTCUSDT i am seeing 36800 bars, does this count is always incresing or not? or does it depend on the BINANCE? Because i am using 40 request.security at most in 30 minutes chart, and when the bar_count increasing the memory that consumes the script always increases. one month ago when i use 40 request 1.8 times memory limit exceeds but now it says 2.0 times memory exceeds. how can i learn the maximum limit of bar_index in the instrument?