Hi,
I´m having a problem calculation range bars. What I want is that it calculates a certain number of bars and wait for the next same number of bars to recalculate. Everytime I´m trying, when a new bar come in it reads the bars all over again and stays dinamically instead of fixed.
For exemple, calculate highest bar Starting on 0 and through 10, that I´ve got it. But now I want the indicator to wait 10 more bars to recalculate. What´s happening is that it calculate the firsts 10 bars, when a newbar comes it calculate when next 10 instead of letting the array 1 - 11 fixed and wait for another 10…
Sorry about my english, I don´t know if I was clear enough.
Thanks in advance.