My coded mql5 when back tested works perfectly opening a trade one at a time according to my command but when I run the code on a demo live trade it opens multiple trades at a time why?
- trade at time
- My EA Doesn't Work on Live Trading
- Hello! Anybody can help me code this EA, Please!
Use the debugger to find out why it happens:
https://www.mql5.com/en/articles/654https://www.mql5.com/en/articles/2041
https://www.mql5.com/en/articles/272
https://www.mql5.com/en/articles/150

Debugging MQL5 Programs
- www.mql5.com
This article is intended primarily for the programmers who have already learned the language but have not fully mastered the program development yet. It reveals some debugging techniques and presents a combined experience of the author and many other programmers.
julliandinho: My coded mql5 when back tested works perfectly opening a trade one at a time according to my command but when I run the code on a demo live trade it opens multiple trades at a time why?
There is a bug in your code. Since we cannot see the source code it we cannot say what is the cause.
Analyse the log output both in the Experts and Journal to get more information.

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