doesn't re-calculate past formed bars

 

Hello Guys

I'm using backward loop for calculating past formed bars but it's recalculate all bars every time, how can i limit to just recalculate only past three bars?

 
Milad Ahmadpanah:

Hello Guys

I'm using backward loop for calculating past formed bars but it's recalculate all bars every time, how can i limit to just recalculate only past three bars?

Set up to only loop through the 3 bars.

Reason: