Weird problem with my EA's code
-
I found a very weird problem with my EA. I'm running it in two MT4 platforms: same code, same broker, different demo account and different VPS. In one of them it works perfectly, but in the other one it doesn't. I got an error message saying this:
'Array out of range in <My_EA>: (2219,14)'
I compiled the code in both platforms and no errors were identified. Could someone please tell me what is happening?
-
What is around row 2219 in the code? Can you easily repeat this error or it happens at random?
-
Apparently it was a kind of random error. I've been testing for a week now and apparently it works smoothly. Weird.