Multi instrument robot

 

Hi every body, I used to trade manually since many years. 

But today I want to automatise some of my algorithmics systems.

Is it possible to create a robot who can manage 20 or 22 instruments on a single account, with the possibility to calculate the quantities according to previous results ?

Thanks

 

There are some old EAs which we may call as multi cyrrency and multi timeframe EAs (the settings for many symbols were hardcoded in the code of the EA, together with/for many timeframes). Those EAs (Alpha EA and Electra EA which were uploaded to this forum more than 10 years ago) are very old ones, and working on some pre-defined algorithm.

I think, you can select the developer for create some or similar EA for you.

Alternatively, you can look at CodeBase and the Market (there are some similar EAs there too).

----------------

Multi currency EA ideas - forum thread

Forum on trading, automated trading systems and testing trading strategies

Multi Currency EA

Sergey Golubev, 2019.11.25 19:30

Multi-Currency Expert Advisors in MT5  - backtesting and optimization

 

The threads/posts

  • Buying or Selling all 7 pairs - the thread with the explanation.
  • Multi-Currency Expert Advisors the post with the examples of backtesting/optimization

The articles

Documentation

  • MetaTrader 5 Help → Algorithmic Trading, Trading Robots → Optimization Types - All Symbols Selected in Market Watch
  • MetaTrader 5 Help → Algorithmic Trading, Trading Robots → Strategy Testing - Multi-Currency Expert Advisors
  • MetaTrader 5 Help - Trading Platform — User Manual

Forex Market – App Store of MetaTrader 5 trading robots, Expert Advisors and technical indicators
Forex Market – App Store of MetaTrader 5 trading robots, Expert Advisors and technical indicators
  • www.mql5.com
An official showcase of applications for trading from the terminal
 
Sergey Golubev:

...

Alternatively, you can look at CodeBase and the Market (there are some similar EAs there too).

----------------

...

For example:

 
Sergey Golubev:

There are some old EAs which we may call as multi cyrrency and multi timeframe EAs (the settings for many symbols were hardcoded in the code of the EA, together with/for many timeframes). Those EAs (Alpha EA and Electra EA which were uploaded to this forum more than 10 years ago) are very old ones, and working on some pre-defined algorithm.

I think, you can select the developer for create some or similar EA for you.

Alternatively, you can look at CodeBase and the Market (there are some similar EAs there too).

----------------

Multi currency EA ideas - forum thread


Thank you Sergey !

Are you one of these developers who can create the EA ?

 
Tony Christian Mounibou Robilalao:

Thank you Sergey !

Are you one of these developers who can create the EA ?

Not (I am not a coder sorry).
 

Forum on trading, automated trading systems and testing trading strategies

Buying or Selling all 7 pairs

Sergey Golubev, 2024.06.01 14:18

Developing a multi-currency Expert Advisor (Part 1): Collaboration of several trading strategies

Developing a multi-currency Expert Advisor (Part 1): Collaboration of several trading strategies

During my working activities, I had to deal with various trading strategies. As a rule, EAs implement only one trading idea. The difficulties of ensuring stable collaboration of many EAs on one terminal usually force us to select only a small number of the best ones. But it is still a pity to throw away completely workable strategies for this reason. How can we make them work together?

 

Forum on trading, automated trading systems and testing trading strategies

Buying or Selling all 7 pairs

Sergey Golubev, 2024.06.05 06:47

Developing a multi-currency Expert Advisor (Part 2): Transition to virtual positions of trading strategies 

Developing a multi-currency Expert Advisor (Part 2): Transition to virtual positions of trading strategies

In the previous article, we started developing a multi-currency EA that works simultaneously with various trading strategies. At the first stage there were only two different strategies. They represented the implementation of the same trading idea, worked on the same trading instrument (symbol) and chart period (timeframe). They differed from each other only in the numerical values of the parameters.

We are now only interested in testing the suitability of this approach, and not the efficiency of its implementation. Therefore, within the framework of this article, we will try to develop at least some working implementation of this approach, which later will help us build a more beautiful one from an architectural point of view since we will already have knowledge on how to avoid mistakes.

 

Forum on trading, automated trading systems and testing trading strategies

Buying or Selling all 7 pairs

Sergey Golubev, 2024.06.14 12:44

Developing a multi-currency Expert Advisor (Part 3): Architecture revision

In the previous articles, we started developing a multi-currency EA that works simultaneously with various trading strategies. The solution provided in the second article is already significantly different from the one presented in the first one. This indicates that we are still in search of the best options.

Let's try to look at the developed system as a whole, abstracting from the small details of the implementation, in order to understand ways to improve it. To do this, let us trace the albeit short, but still noticeable evolution of the system.


 

Forum on trading, automated trading systems and testing trading strategies

Buying or Selling all 7 pairs

Sergey Golubev, 2024.06.28 07:36

Developing a multi-currency Expert Advisor (Part 4): Pending virtual orders and saving status

Developing a multi-currency Expert Advisor (Part 4): Pending virtual orders and saving status

In the previous article, we have significantly revised the code architecture to build a multi-currency EA with several parallel working strategies. Trying to achieve simplicity and clarity, we have so far only considered a certain minimum set of functionality. Even considering the limitations of our task, we have significantly altered the code from the previous articles.

Now hopefully we have the groundwork that is sufficient enough to increase functionality without radical changes to the already written code. We will try to make a minimum number of edits only where it is really necessary.


 

Forum on trading, automated trading systems and testing trading strategies

Buying or Selling all 7 pairs

Sergey Golubev, 2024.07.31 17:09

Developing a multi-currency Expert Advisor (Part 5): Variable position sizes

Developing a multi-currency Expert Advisor (Part 5): Variable position sizes

In the previous part, we dded the ability to restore the EA's state after a restart. It does not matter what the reason was - rebooting the terminal, changing the timeframe on the chart with the EA, launching a more recent version of the EA - in all cases, restoring the state allowed the EA not to start working from scratch and not to lose already open positions, but to continue handling them.

However, the size of the opened positions remained the same for each instance of the strategy throughout the entire testing period. Their size was set at the EA launch. If, as a result of the EA's operation, the trading account balance increased, then this would allow the use of an increased position size without increasing risk. It would be reasonable to take advantage of this, so let’s start implementing the use of variable position sizes.


 

Forum on trading, automated trading systems and testing trading strategies

How to Start with Metatrader 5

Sergey Golubev, 2024.08.10 10:59

Developing a multi-currency Expert Advisor (Part 6): Automating the selection of an instance group

Developing a multi-currency Expert Advisor (Part 6): Automating the selection of an instance group

In the previous article, we have implemented the ability to choose the strategy option - with a constant position size and with a variable position size. This allowed us to introduce normalization of the results of the strategies' work according to the maximum drawdown and provided the possibility of combining them into groups, for which the maximum drawdown was also within the specified limits. For the sake of demonstration, we manually selected several of the most attractive combinations of inputs from the optimization results of a single strategy instance and tried to combine them into one group or even into a group of three groups of three strategies. We got the best results in the latter case.