I generally use
for(i = limit; i >= 0; i--)

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
Is there any benefit to counting bars like this:
for(i = limit; i >= 1; i--)
or this
for(i = 0; i <= limit; i++)
?
Should I have all of my indicators counting bars the same way? If so, how do I convert it from counting bars using one method to the other. specifically from using ++ to using --?
Thanks in advance.