Running and Testing Multiple MetaTrader Strategies from One Expert Advisor
Article MQL5 articles
Summary
The article describes a universal MetaTrader 4 and 5 template that runs robots for multiple symbols from one chart. It explains the motivation: simplify setup, reduce the load of many chart instances, and evaluate a combined multi-instrument equity curve. The template represents each strategy’s symbol and period as a separate internal chart-like unit, with shared interface handling and distinct trade management.
Key ideas
- A single Expert Advisor can process several symbols and strategy instances internally.
- MetaTrader 5’s tester can synchronize multi-symbol data and show a combined profitability curve; MetaTrader 4’s tester limits this approach to the chart symbol.
- Polling ticks through a timer introduces delay, making the architecture unsuitable for latency-sensitive tick strategies.
- Bar-based strategies fit the template more naturally and can reduce testing and computation demands.
- The article demonstrates the MetaTrader 5 template in a visual test with seven major currency pairs.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.