ERR_SOME_ARRAY_ERROR (4053) .. i have tried but cannot locate my issue
Greetings all, I am learning mql4 newly and am running into this error
Your topic has been moved to the section: MQL4 and MetaTrader 4 — Please consider which section is most appropriate — https://www.mql5.com/en/forum/443428#comment_49114884
If your array is sized to ARRAY_SIZE, then obviously accessing ARRAY_SIZE + 5 will fail, because it is out of the array's range ...
// Attempt to access an element outside the array bounds int indexToAccess = ARRAY_SIZE + 5; int value = myArray[indexToAccess];
Why are you even attempting to "access an element outside the array bounds" when you know that is going to fail?
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