Multicurrency Expert Advisors at the Automated Trading ChampionshipsOne of MQL4's advantages is the fact that it allows users to trade all available symbols shown in the Market Watch window. Expert Advisors usually trade only one currency pair - the one, to the chart of which they are attached. However, there are EAs that trade several symbols simultaneously. We call such programs multicurrency Expert Advisors. The Championship Rules allow trading 12 currency pairs. This is why it is no wonder that multicurrency EAs were submitted for participation in the previous Championships. They were represented in smaller amounts than single-currency ones, though. In this article, we will consider multicurrency EAs that participated in the Championships of 2006/2007. What Are Multicurrency Expert Advisors For?It will be recalled that the Rules allow only one EA from one Participant of the Championship. This EA must be launched on only one specified chart. So, if a trading system requires making trades on several currency pairs, you should independently specify the names of these symbols in your code. What are the reasons for trading several currency pairs simultaneously? The answer is very simple: diversification. By diversification is initially meant the diversification of risks that accompany speculations on financial markets. Even the most profitable trading system experiences drawdowns that cause gradual decreasing the account deposit. If a system is really profitable, the situation will better sooner or later and the amount on the account will start growing again.
The drawdown periods themselves are very unpleasant and impose some limitations on the risk considered for each trade. Considering that fact that there can be both profitable and losing series of trades, one has to restrict the volumes of positions to be opened. Otherwise, the series of losing trades will kick you out of the game before you continue realizing your advantage. However, if you find a number of trading strategies that would mutually compensate the drawdowns, then the curve of your trading capital will become smoother, which means the risk it is exposed to will decrease. It means that losing trades on one trading system will be neutralized by winning trades on the other one. There are several types of diversification. Type one: One trading system is used on several symbols (markets). In this case, the symbols themselves must not correlate. Type two: Several trading systems trade one symbol simultaneously. In this case, the systems themselves must have the minimal correlation between them. Otherwise, a series of losing trades on one system will be worsened by the series of losing trades on the other system(s). All other types of diversification are more or less combinations of the two above ones. MQL4 allows you to realize any kind of diversification in the code of one Expert Advisor. Multicurrency Expert Advisors in ATC 2006The first Automated Trading Championship was in all respects really the first one. This includes the experience in creation of multicurrency EAs. There were no guidelines both in the direction of choosing the strategy that would win and in what currency pairs should be chosen for such trading. Totally 258 Participants were admitted to Championship 2006, only 14 of them (5.42%) having submitted multicurrency EAs.
Table 1. Participants of the Automated Trading Championship 2006, which traded several symbols. As you can see from Table 1, of 14 multicurrency EAs only three completed their participation with profits. In column 'Symbols', you can see the number of symbols traded by the Participant's EA, while in the column 'Trades' you can see the number of trades made. The conclusion is obvious: The percentage of multicurrency EAs that finished the contest with profits is not very large and doesn't exceed the average performance. It means that using multicurrency Expert Advisors didn't provide their authors with any advantages. Profitable multicurrency EAs make 21% (3/14*100%), although we should be very careful using the term of 'percentage' for such small figures. Profitable single-currency EAs make 16.6% (40 EAs of 244). So the first Automated Trading Championship was used by the developers of multicurrency EAs as an opportunity to test in the real-time mode how complex systems that trade several currency pairs simultaneously will behave during a long period of time. Automated Trading Championship 2007The Championship of 2007 was surprising by both its greater amount of Participants and the growth in the number of multicurrency EAs participating in it. During the year that had elapsed since the first Championship, various aspects of developing and using automated trading systems were vividly discussed on forums. Eventually, the general level of programming in MQL4 improved. At ATC 2007, we observed 45 multicurrency EAs, or 7.46% of the total amount of 603 Participants. Thus, the number of multicurrency EAs became obviously higher. It will be recalled that there were just above 5% a year before. However, in terms of statistical accuracy, we can say that the percentage of multicurrency EAs remained at the same level. The very first conclusion we made having looked at the list of the Participants of ATC 2007 who had submitted multicurrency EAs was that only two Participants of ATC 2006 had had a shot to win with a multicurrency EA. These Participants were cplayer and Pinch. The other 12 Participants had either changed for the systems trading only one currency pair (6 Participants) or canceled participating for some reasons (6 Participants, as well). Thus, most of those participating in the first Championship with a multicurrency EA preferred to go in for the second Championship with an EA that traded a single currency pair. Among them were the Winner of ATC 2007, Better, and the Participant nicked dogada, who had taken the 15th place. In total, 6 multicurrency EAs of 45 (13.3%) finished the Championship with profits. There were 85 profitable single-currency EAs, or 15.23% of the total amount of 558. Thus, the profitability of multicurrency and single-currency EAs is practically the same.
Table 2. Participants of the Automated Trading Championship 2007, who traded several symbols simultaneously and finished with profits. However, the EAs of only two Participants (AlexanderD and SolarTrader) made more than 30 trades for these results to be considered as statistically valid. The results of other 4 Participants don't allow us to make any conclusions about their stable profits due to small amount of trades made. Dependence of Anticipated Profit on the Number of Symbols TradedLet's also consider the dependence of EA profitability on the number of symbols traded.
The red line shows the linear regression based on the given points. You can see the negative slope of the line. This points to the fact that the profit probability decreases with the growth of the number of currency pairs traded. What is behind these results? In our opinion, creating a simple profitable EA itself is a challenge. Due to the fact that all currency pairs more or less correlate, it becomes a very non-trivial task to find a trading system that could be applied to several currency pairs simultaneously. Overall Conclusions
Created: 2008.08.14 Author: MetaQuotes
A key problem for creating a multi-currency EA is to obtain the list of available currencies to trade. I am trying to create a script that will diagram the relative values of all currencies based on current pair prices - but how to obtain the full list of currency pairs available for a given account/broker?
sanfords
2008.12.27 06:03
hello. my expert was not ready in time for this years contest. i do have and use a multi-currency EA. it is based on ichimoku kinko hyo and price action. as a result, it will always perform well. download octoberea.zip to see the current results as well as run my expert on your demo account. i have the expert attached to about 20 pairs. i can always extend the trial period....as of now, the trial is good until dec. 2008. no one has an ea coded like this one. i am the sole developer. here is the site http://sites.google.com/site/ichimokuforexautotrader/ i'm ready and waiting to enter and win the contest in 2009. note: you must have a chart open with the expert attached for each pair. thanks. 2008.11.01 23:31
I think that one of the major limitations right now is the lack of a multi-currency backtester.
2008.10.01 16:23
|
|







