Skip to content
All library documents

Combining Higher-Timeframe Trend Filters with Lower-Timeframe Entries

Article MQL5 articles

Summary

The article develops a general method for turning a single-timeframe Expert Advisor into a two-timeframe system. A higher timeframe supplies the broad trend direction, while a lower timeframe identifies potential entries. The higher-timeframe trend acts as a directional filter, restricting long or short trades to the prevailing direction. The author illustrates the approach with an OsMA entry signal and a smoothed moving-average trend measure, then notes that the same structure can be paired with other entry and trend algorithms.

The document includes code examples for Expert Advisors and discusses separate settings and calculations for long and short trades. It argues that a system observing only one chart interval may fail to respond to larger trend changes. However, it presents the framework as a design approach rather than validated evidence of profitability: no performance results or out-of-sample evaluation are supplied. Its practical value therefore depends on choosing, implementing, and properly optimizing the component signals; the multi-timeframe arrangement itself does not guarantee improved results.

Key ideas

  • A higher timeframe can define directional bias while a lower timeframe supplies trade entries.
  • The higher-timeframe trend filter limits entries to trades aligned with the broader direction.
  • The example pairs an OsMA entry condition with a smoothed moving-average trend measure.
  • The framework can be adapted to other choices of trend and entry algorithms.
  • No performance evidence is provided, and results depend on the selected signals and their optimization.

Tags

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