Hello all,
I am facing strange “Array out of range” error. If any of you have experienced same issue, may I have some advice please?
“array out of range in ‘Indicator.mq5’(416, 32)”
This is the error message shown in MT5 terminal.
Do you suspect common stack overflow? No, it’s not…
Here are reasons why it is strange.
Line 416 is blank. So I cannot copy & paste code.
It happens only once or twice in a day. If it was coding error, it should happen every tick.
I added few dummy lines above line 416. Error still happens at (416, 32).
I added few dummy lines below line 416. Error still happens at (416, 32).
I deleted ex5 file then recompiled. No change.
I tried “#property strict”. No compile error happens.
Is there anything else I can try?
Thank you.