I have written an EA that I have been using for more than a year. During this time I used it on several demo and live accounts and could test it numerous times in the Strategy Tester (ST) successfully - until a couple of days ago. Then it suddenly stopped working in the ST. I restarted my computer. It worked once and then the next time it did not work. I restarted the computer again but it did not want to work. Then I tried it on another computer and it worked the first time and the did not want to work thereafter.
I studied the code in detail as well as the values of all variables and I cannot find any error.
I put it on a demo account and it works!
What the hell is going on here? It is a mystery to me!
It is critical that i get it to work on the ST again.
When I say "it does not work" i mean it does not open any trades when it should.
Yes I am using MT4.
Anyone experienced such strange behaviour before?
Many times actually.