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
<=
This is where the error is.
int Arr [4]
The code from memory, but in fact any standard code of this type. Everywhere works as it should, if you write indicator- error. Maybe there is a bug.
Maybe there is a bug
Please enlighten me as to why
Please enlighten me as to why
If you say that when the array size is 4, it is standard for you to loop through the array values from zero to four, including four, it means that in each such loop you go beyond the array, because you loop through five cells of an array that has only four cells.
I'll write it from PC later.
Code from memory, in fact any standard code of this type.
It works properly everywhere, if you write indicator- error.
Maybe there is a bug.
In indicator buffers, you should take into account the direction of buffer indexing.