How about this one?
for (int i = limit; i >= 0; i--)
Because when calculating from 0 to limit, the value of i + 1 has not yet been determined.
Naguisa Unada:
How about this one?
Because when calculating from 0 to limit, the value of i + 1 has not yet been determined.
Dear @Naguisa Unada
Its working, thanks :)

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
Dear coders,
this is part of my EA and I put BBand Stop indicator into the EA by using function, I don't want using iCustom function to get Buffer value.
The problems is final array print in journal shows wrong value, I appreciated if you check it what is the problem.
for your information journal just shows BBandUpLineArray value and all array shows wrong values.