Symbol1 and Symbol2 pair trading

 

Hi,

I have read many articles here about multi-currency trading systems, but none of them is able to trade and backtest 2 or more Symbols simultaneously.

It means to buy Symbol1 and simultaneously sell Symbol2 based on some signal (sperad, correlation etc.).

How can I enhance following systems to support such functionality?

 

Writing an Expert Advisor Using the MQL5 Object-Oriented Programming Approach

https://www.mql5.com/en/articles/116


Writing an Expert Advisor Using the MQL5 Object-Oriented Programming Approach

https://www.mql5.com/en/articles/217


Thanks for any hints

Peter

Writing an Expert Advisor Using the MQL5 Object-Oriented Programming Approach
  • 2010.07.12
  • Samuel
  • www.mql5.com
This article focuses on the object oriented approach to doing what we did in the article "Step-By-Step Guide to writing an Expert Advisor in MQL5 for Beginners" - creating a simple Expert Advisor. Most people think this is difficult, but I want to assure you that by the time you finish reading this article, you will be able to write your own Expert Advisor which is object oriented based.
 
Hi ,You can used Metatrader5 for backtest 2 or more Symbols simultaneously