- OrderModify
- Error code 1 while modifying the order open price using OrderModify() function in MQL4
- [ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4.
The EA may be coded to only work in the tester, many demo versions are. Contact the owner of the EA or buy the non-demo version.
I wrote the EA. There are no account checks for operation only in demo or in real mode only
If you wrote the EA, then include error reports if an ordersend fails.
There must be a reason and it must be in your code.
I have never had an EA work correctly in the tester but not on a real time chart.
There is a reason, but we are unable to guess what it is.
I'm zero of solutions. I asked the broker if maybe he encountered similar problems but he still did not give me an answer. It's something out of the ordinary
I doubt that it is anything out of the ordinary. It can be frustrating when you can't find a solution, but it is always something in the code and it is normally something so ridiculous that you will kick yourself when you do find it.
If it does not produce normal errors in MetaTrader's logs then there is obviously a logic problem in your code.
So add a lot of debugging code (printing to log, or outputting to your own files) at every step of the logic so you can find the problem.
That is how we all do it when we are trying to find a logic bug in our code.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use