What that means "doesn't work" ?
Are you talking about MT4 or MT5??. Regards.
Jose Francisco Casado Fernandez:
Are you talking about MT4 or MT5??. Regards.
99% chance it's MT4.
Are you talking about MT4 or MT5??. Regards.
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?
Yes !
Many times actually.
Yes, it's called broken code, that we can't see. And there is no mind readers here. Print out your variables, and find out why.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.