Discussing the article: "Developing a multi-currency Expert Advisor (Part 16): Impact of different quote histories on test results"

 

Check out the new article: Developing a multi-currency Expert Advisor (Part 16): Impact of different quote histories on test results.

The EA under development is expected to show good results when trading with different brokers. But for now we have been using quotes from a MetaQuotes demo account to perform tests. Let's see if our EA is ready to work on a trading account with different quotes compared to those used during testing and optimization.

In the previous article, we started preparing the multi-currency EA for trading on a real account. As part of the preparation process, we added support for different names of trading instruments, automatic completion of trading when you want to change the settings of trading strategies, and correct resumption of the EA after restarting for various reasons.

The preparation activities do not end there. We have outlined a few more necessary steps, but we will return to them later. Now let's look at such an important aspect as ensuring similar results across different brokers. It is known that the quotes for trading instruments at different brokers are not identical. Therefore, by testing and optimizing on some quotes, we select the optimal parameters specifically for them. Of course, we hope that when we start trading on other quotes, their differences from the quotes used for testing will be minor, and therefore, the differences in trading results will also be insignificant. 

However, this is too important a question to be left without detailed examination. So let's see how our EA behaves when tested on quotes from different brokers.

Author: Yuriy Bykov

 
That's exactly what Signal Service does.
 
i download last files how i can run the advisor in my meta! i cant compile advisor file and have error
 

I got this error when I tried to run a backtest on the EA:


2025.02.04 01:11:13.690 Core 01 2021.01.01 00:00:00   database error, no such table: passes

2025.02.04 01:11:13.690 Core 01 tester stopped because OnInit returns non-zero code 1


Any help please?

 
Cristian-bogdan Buzatu #:

I got this error when I tried to run a backtest on EA

Most likely the reason is that you have not created a database and have not performed the first two steps of optimisation, which will fill the database with information about the performed passes(part 9, part 11, part 13). Unfortunately, at the time of writing this article, there is not yet a simple tool to create a database, create an optimisation project and export its results to the final EA. We revisited this issue in part 21, but did not finish addressing it. It will be continued in parts 22 and 23 (not ready for publication yet).