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.
"Indicator.mq5" is just an example. Actual file has unique name and I am sure that I am looking at same source code.
I have a number of times been working on code and not understanding why it isn't doing as I want and then found that I am working on a different version to the one actually on the chart.
It's an easy mistake to make when you have more than 1 version.
I fully understand what you are trying to say. Unfortunately, it isn't the case.
As soon as I added "Print("Help me!");" under OnCalculate(), it immediately became effective.
So I am sure I am referring correct version.
Ahhhhhh, this must be the reason.
As you assumed, there is an include file and there is complicated array handling on (416, 32).
Thank you very much for big hint!