Discussing the article: "Developing a multi-currency Expert Advisor (Part 15): Preparing EA for real trading"
Hello! The Expert Advisor does not compile. At first it requires different mqh files to be included - I tried to take the corresponding files from your previous articles. It still does not compile - apparently, I load the wrong versions of files.... Could you please tell me which versions of include files are relevant for this EA code? Thank you!
Hello!
I will try to check it soon. In each article I try to double-check that all files that have been modified are attached. So you did the right thing: those files that are not attached to the current article should be taken from the most recent article, where such a file exists.

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
Check out the new article: Developing a multi-currency Expert Advisor (Part 15): Preparing EA for real trading.
As we gradually approach to obtaining a ready-made EA, we need to pay attention to issues that seem secondary at the stage of testing a trading strategy, but become important when moving on to real trading.
Let's now take a short break from the EA's work at some point in time. After the test run, the results were exactly the same as without a break. This indicates that after a short break the EA successfully restores its status and continues working.
To see the difference, let's take a longer break, for example, 4 months. We get the following results:
Fig. 2. Test results with a trading break from 2021.07.27 to 2021.11.29
On the chart, the approximate break position is shown by a rectangle with a yellow border. At this time, the positions opened by the EA were abandoned. But then the EA got back into action, picked up its open positions and was able to get generally good results. So, the ability to save and load the EA status can also be considered implemented.
Author: Yuriy Bykov