Skip to content
All library documents

Implementing Multi-Timeframe Signals in Wizard-Built MQL5 EAs

Article MQL5 articles

Summary

This article explains how to configure multi-timeframe and multi-symbol signals in Expert Advisors assembled with the MQL5 Wizard. Its main implementation point is that a signal’s symbol and timeframe are set during initialization, so separate signal instances are generally assigned for each desired timeframe. For multi-symbol trading, the article also describes the need to create multiple expert instances and reassign trade symbols in the assembled source.

To illustrate the setup, it uses quadratic moving averages and a mirrored version to derive price buffers, then refers to envelope and divergence applications. The discussion contrasts using signals across timeframes for trend context or confirmation with using shorter-timeframe crossovers as entries. It refers to differing test outcomes but supplies no precise performance figures in the provided text. Wizard-assigned settings are difficult to optimize after assembly; input parameters offer a workaround for timeframes, while multi-symbol order placement may still require changes to generated code.

Key ideas

  • Wizard signal instances receive their symbols and timeframes during initialization.
  • Separate signal attachments can represent different timeframes within one assembled Expert Advisor.
  • Multi-symbol trading may require multiple expert instances and source changes to direct orders correctly.
  • Quadratic and mirrored means illustrate how custom signals can be built for multi-timeframe experiments.
  • A higher timeframe can provide trend context while a lower timeframe supplies an entry trigger.
  • Input parameters can make timeframe selection adjustable, though symbol-based order routing has further constraints.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.