I have debugged my EA and found when the problem occurs. Once the tester tries invalid parameters as input, the OnInit() does not return 0, it tries again with the same input parameters instead of skipping the "bad parameters" and going to the next pass.
On this run, pass 0 was OK, but starting pass 1. I got the problem.
I don't quite get why it is behaving this way because it used to worked okay; meaning that the tester would skip pass returning non-zero from the OnInit().
Has anyone run into this problem before ? Does anyone have a solution to this problem ? Can this be a bug ?
I'm running Metatrader 5 Version 5.00 build 514.
Try again with build 519