Download MetaTrader 5

Optimizing multiple pairs in one EA

To add comments, please log in or register
Launch your trading signal and add account monitoring!
gangsta1
1172
gangsta1 2015.04.08 01:23 

Hello,

Is it possible to code and back test an EA in mt5 that has 20+ currency pairs? I do not want to test the currency pairs individually, I want to be able to optimize my indicator settings over all currency pairs at one time to achieve a universal set file. I understand that I would need to code an EA with all the pairs required within the code and I could then download all the currency pairs used data and optimize it on any currency pair and it will still give me results for the other built in currency pairs. Is this correct? I am worried that I will spend a long time coding the multi-currency EA and then not to be able to optimize it on all pairs (using the same settings) or even for it to run very slow in back testing.

Thank you for reading and I would appreciate if anyone can advise.

Young Ho Seo
15816
Young Ho Seo 2015.04.11 04:58  
gangsta1:

Hello,

Is it possible to code and back test an EA in mt5 that has 20+ currency pairs? I do not want to test the currency pairs individually, I want to be able to optimize my indicator settings over all currency pairs at one time to achieve a universal set file. I understand that I would need to code an EA with all the pairs required within the code and I could then download all the currency pairs used data and optimize it on any currency pair and it will still give me results for the other built in currency pairs. Is this correct? I am worried that I will spend a long time coding the multi-currency EA and then not to be able to optimize it on all pairs (using the same settings) or even for it to run very slow in back testing.

Thank you for reading and I would appreciate if anyone can advise.

As long as you put them all in one code, you should be able to do that. This is one of the better feature of MT5 over MT4. But building such a code is not simple and very erroneous. 

For simplicity, instead of optimization multiple currency pairs, you rather look at portfolio theory. It is short cut of doing multiple currency optimization. 

http://en.wikipedia.org/wiki/Modern_portfolio_theory

Regards.

Modern portfolio theory - Wikipedia, the free encyclopedia
Modern portfolio theory - Wikipedia, the free encyclopedia
  • en.wikipedia.org
Modern portfolio theory (MPT) is a theory of finance that attempts to maximize portfolio expected return for a given amount of portfolio risk, or equivalently minimize risk for a given level of expected return, by carefully choosing the proportions of various assets. Although MPT is widely used in practice in the financial industry and several...
To add comments, please log in or register