Pinescripts Study Error : Calculation takes too long to execute

Viewed 19

I am computing a value for each bar using 100-day Fixed Volume Profile data.
The indicator works fine for bar index <500. Calculation execution time hit the study error as the bar index increased. Any pointers on the approach to overcome this issue? Thanks.

0 Answers
Related