I made a robot, and I have a problem,
The robot's result in the test are difrent from the real account
Both have been tested in ecn account, but the real account result is in loss, and test is in profit
spread and commission in test are more than real account
![Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Account Properties Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Account Properties](https://c.mql5.com/36/38/documentation-on-mql5-constants__14.png)
Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Account Properties
- www.mql5.com
, then each symbol positions will be closed in the same order, in which they are opened, starting with the oldest one. In case of an attempt to close positions in a different order, the trader will receive an appropriate error. There are several types of accounts that can be opened on a trade server. The type of account on which an MQL5 program...
![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