
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
You will get the same output if your calculation loop is a decrementing loop or incrementing loop. If your loop is incrementing when buffers are set as series, your start index should be zero. If your loop is decrementing when buffers are set as series, your end index should be zero.
Sorry Conor Mcnamara, I guess I misunderstood You at first... and of course You're right! In any case, you can simply read data the other way around to achieve the same result.
I just have a couple of more complicated algorithms built a few years ago that enter from 0 assuming that it is the newest element... Then there was two options, either rebuild the algorithms or simulate the data flow in reverse... I got lazy and didn't bother to rebuild, so this topic came up...
So, it would be right to access the data from the other side and re-build the logic around it, that would be the most effective solution, but laziness won this time.