Blog / Strategy
Strategy

Momentum Glide Pullback

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?

Momentum Glide Pullback is a trend-continuation strategy built around two exponential moving averages (EMAs — averages that weight recent prices more heavily) and the Relative Strength Index (RSI — a momentum oscillator that measures the speed of price changes on a 0–100 scale). It is designed to trade with an already established trend rather than to predict tops and bottoms. The trading style here is a "pullback rider": instead of chasing a market that has already run, the strategy waits for a temporary dip inside a trend and then re-enters as momentum turns back in the trend's favour.

The core idea is patience. A trend is only recognised when a fast EMA sits above (or below) a slow EMA and the slow EMA's own slope agrees with that direction. Within such a trend, price often pauses and pulls back briefly before continuing. The strategy uses RSI to time that pause: it looks for RSI to cool back across its midline during the pullback, then to cross the midline again in the trend direction. That crossover — confirmed by a candle that closes back beyond the fast EMA — is what the strategy treats as a re-entry signal, or "glide," back into the move.

As a learning tool, Momentum Glide Pullback is well suited to traders who want to understand how trend filters and momentum oscillators can be combined to avoid counter-trend trades. It demonstrates multi-condition confirmation, mirrored logic for longs and shorts, and volatility-based risk scaling. It is best viewed as a study in disciplined, rules-based trend following — not as a shortcut to results.

How It Works

The strategy evaluates its rules once per newly closed bar and never acts on an unfinished candle. All conditions below refer to that most recently closed bar.

Trend filter (the context):

Entry signal — long:

Entry signal — short:

Position management:

Stop-loss logic:

Take-profit logic:

Momentum Glide Pullback MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
EmaFast 20 5 60 Period of the fast EMA used to define the near-term trend and the reclaim level for entries.
EmaSlow 50 20 200 Period of the slow EMA that anchors the broader trend direction.
SlopeLookback 5 1 20 How many bars back the slow EMA is compared against to confirm its slope is rising or falling.
RsiPeriod 14 5 30 Number of bars used to calculate the RSI momentum oscillator.
RsiMid 50.0 40 60 The RSI midline that must be re-crossed in the trend direction to trigger an entry.
RsiCap 72.0 60 85 Exhaustion cap; entries are skipped if RSI is already this high (or its mirror for shorts).
AtrPeriod 14 5 30 Number of bars used to calculate ATR for stop and target distances.
AtrSlMult 1.8 0.5 5.0 Multiplier applied to ATR to set the stop-loss distance from entry.
AtrTpMult 3.0 0.5 8.0 Multiplier applied to ATR to set the take-profit distance from entry.
Lots 0.10 0.01 2.0 Fixed order volume, in lots, used for each trade.
Momentum Glide Pullback MT5 EA — MQL5 source code

Recommended Chart Settings

Momentum Glide Pullback is a general-purpose trend-continuation strategy, and its ATR-scaled stops and targets are specifically intended to adapt to whatever symbol and timeframe you attach it to. A common starting point for testing this style is a liquid major forex pair such as EUR/USD on the H1 (one-hour) timeframe, where trends develop cleanly enough for the EMA filter to be meaningful and pullbacks are frequent enough to generate signals.

That said, the defaults are a starting point, not a prescription. The EMA periods, RSI thresholds, and ATR multipliers may all behave very differently across instruments and timeframes, and results will vary considerably across changing market conditions. Always test the strategy on your chosen symbol and timeframe in a risk-free demo environment before drawing any conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Strengths of this approach. Trading in the direction of an established trend, and only after momentum confirms a resumption, is a time-tested framework that helps avoid the common mistake of fading strong moves. The dual EMA filter with a slope requirement is stricter than a simple crossover, which historically reduces the number of trades taken in choppy, directionless conditions. The RSI exhaustion cap adds a further filter that keeps the strategy from entering after momentum has already stretched. Because stops and targets scale with ATR, risk distances adapt to volatility instead of being fixed in pips.

Known limitations. Every pullback strategy faces the same core challenge: distinguishing a shallow, healthy pullback from the beginning of a genuine reversal. This strategy has no way of knowing which it is looking at — it simply acts on the rules. Moving averages are lagging by nature, so the trend filter can keep signalling "uptrend" even as a top forms. RSI midline crosses can also cluster and produce whipsaw entries during sideways drift that only looks like a trend.

Where it may underperform. In ranging or news-driven markets, the EMA structure can flip back and forth, generating signals that are quickly stopped out. Sharp gaps and low-liquidity sessions can push fills away from the intended entry, distorting the ATR-based risk math. Fixed lot sizing does not adjust to account equity, so drawdowns can compound if left unmanaged. Treat this EA as a framework to study and stress-test, not as a set-and-forget solution.

Risk Management Tips

Sound risk management matters far more than any single entry rule. Consider these general principles:

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