Blog / Strategy
Strategy

Multi Horizon Momentum Consensus

Disclaimer: This article is for educational and informational purposes only. It does not constitute financial or investment advice. Trading forex and CFDs carries significant risk of loss. Past performance of any strategy — including backtests — does not guarantee future results. Never trade with money you cannot afford to lose.

What Is This Strategy?

The Multi Horizon Momentum Consensus strategy is a volatility-normalized, indicator-based time-series momentum system for MetaTrader 5. Time-series momentum (sometimes called "absolute momentum") simply measures whether price is higher or lower than it was a fixed number of bars ago — a well-documented tendency for markets that have been rising to keep rising, and for markets that have been falling to keep falling. This trend-following EA takes that classic idea and adds a strict filter: instead of trusting a single lookback window, it demands agreement across four different time horizons before it will act.

The core problem the strategy is built to solve is noise. A 20-bar momentum reading can point up even while the deeper drift of the market is flat or turning. To separate genuine one-directional trends from short-lived spikes, Multi Horizon Momentum Consensus measures momentum across four geometrically spaced horizons — L, 2L, 4L, and 8L bars — and divides each reading by the current Average True Range (ATR), a standard measure of recent volatility. Normalizing by ATR makes the four numbers directly comparable, so a fast move and a slow drift are graded on the same scale.

As a learning tool, this strategy is well suited to traders who want to study how confirmation across multiple timeframes changes the character of a momentum system. It is designed for trending markets and is intentionally selective — it stays out of choppy, range-bound conditions where the horizons disagree. Beginners can use it to understand consensus filtering, while more experienced traders may find it a useful template for studying volatility normalization and disciplined entry timing. It is not a "set and forget" money machine; it is a structured framework for examining a specific market anomaly.

How It Works

The strategy evaluates the market once per newly closed bar and reduces every decision to a single question: do all four momentum horizons agree? Here is how the logic unfolds.

multi horizon momentum MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
BaseLookback 5 3 15 Shortest momentum horizon in bars. The four horizons are set to L, 2L, 4L, and 8L, so a value of 5 measures momentum over 5, 10, 20, and 40 bars.
MomentumThreshold 1.50 0.50 5.00 Minimum average vol-adjusted momentum (in ATR units) required to call a move a trend. Higher values demand stronger conviction and produce fewer signals.
AtrPeriod 14 7 30 ATR period used for volatility normalization and for the stop-loss / take-profit distances.
AtrStopMult 2.00 1.00 5.00 Stop-loss distance expressed as a multiple of ATR.
AtrTargetMult 3.00 1.00 8.00 Take-profit distance expressed as a multiple of ATR.
Lots 0.10 0.01 1.00 Fixed position size in lots for each trade.
multi horizon momentum MT5 EA — MQL5 source code

Recommended Chart Settings

Multi Horizon Momentum Consensus is a bar-based trend system, so it is best studied on intraday to swing timeframes such as H1 or H4, where trends have room to develop across the 8L slow horizon without excessive noise. Liquid instruments — major forex pairs like EUR/USD or GBP/USD, or a broad index CFD — tend to suit momentum studies because their trends are less prone to erratic gaps.

Because the deepest horizon plus the ATR window need enough history to compute, make sure the chart has loaded ample bars before evaluating signals. Keep in mind that momentum behavior differs greatly between trending and ranging regimes: the same settings that perform well in one market phase may underperform in another. Always test any symbol-and-timeframe combination on historical data and a demo account before drawing conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Every strategy has trade-offs, and understanding them is the point of studying an EA like this one.

Strengths. The multi-horizon consensus filter is genuinely selective — by requiring agreement across a 16:1 span of lookbacks, it discards the bulk of mean-reverting chop, where fast and slow horizons naturally disagree. Volatility normalization via ATR means the strategy adapts to changing market conditions rather than using fixed pip thresholds. The fresh-transition entry gate is a thoughtful touch: it aims to catch trends as they ignite rather than chasing mature, extended moves. ATR-scaled stops and targets keep risk proportional to current volatility.

Limitations. Strict consensus filtering means the strategy trades infrequently and will sit out of many moves — including trends that only appear on some horizons. This is a feature, but it can test a trader's patience and produce long flat periods. Like all trend-following systems, it is vulnerable to whipsaws: sharp reversals immediately after a consensus forms can trigger the stop or a reverse-consensus exit at a loss. In sideways, low-volatility markets the strategy may generate few signals, and the ones it does take may fail as false breakouts. The fixed reward-to-risk framing (default ~1.5:1) also means the strategy relies on a reasonable win rate to remain balanced — it is not a high-reward, low-frequency lottery.

Underperformance conditions. Expect the weakest behavior in choppy ranges, during news-driven volatility spikes that gap through stops, and in markets that trend on one horizon but not the others. No momentum system profits in all conditions, and this one is explicitly designed to trade only a minority of regimes.

Risk Management Tips

Sound risk management matters more than any single indicator setting. Consider these general principles as you study this EA:

Risk management is about survival and consistency, not about eliminating risk — which is impossible in trading.

Risk Warning

Trading foreign exchange, CFDs, and other leveraged financial instruments involves substantial risk of loss and is not suitable for all investors. The strategies and tools discussed on this page are provided for educational purposes only and do not constitute financial advice, investment recommendations, or solicitation to trade. Always consult a qualified financial adviser before making trading decisions. Past backtest performance is not indicative of future results.

Downloads

← Back to Blog