MqlRates Issue My ea was working perfectly until the 2nd of November(working for almost a year without an issue). Since then randomly I'm getting Array Out of Range.
But I haven't changed anything to my code.
My ea was working perfectly until the 2nd of November(working for almost a year without an issue). Since then randomly I'm getting Array Out of Range.
So I have changed the code to this:
I'm still randomly getting error about Price Data. Any ideas?
Thanks in advance
"Array out of range" is a problem in your code, you need to fix it.
Error 4401 can always happen, but it seems you are right, it happens more often in recent builds. Did you try the last beta (1943) ?
"Array out of range" is a problem in your code, you need to fix it.
Error 4401 can always happen, but it seems you are right, it happens more often in recent builds. Did you try the last beta (1943) ?
Thank you very much for your comment Alain. The code was working perfectly before. And now is working again without issue. (Before the signal sections to avoid any issues I'm already checking every array to see if there is any issue). I assume it was some kind of broker's problem cause the problem was just for a few days and only with MqlRates for e.g. PriceInformation[0] - servers lag something like that.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
My ea was working perfectly until the 2nd of November(working for almost a year without an issue). Since then randomly I'm getting Array Out of Range.
So I have changed the code to this:
I'm still randomly getting error about Price Data. Any ideas?
Thanks in advance