Error message when testing EA

 
How do I correct the error Tester stopped because OnInit returns non-zero code 1 in my mql5 code?
 
Claire Marie Byrne: How do I correct the error Tester stopped because OnInit returns non-zero code 1 in my mql5 code?

One would assume that if the code is correct, then OnInit is reporting a problem and that it should not continue in the first place. It may be reporting invalid parameters or some other invalid condition. Verify the situation and find out why.

Reason: