Blog / Strategy
Strategy

Impulse Efficiency 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?

The Impulse Efficiency Pullback is a pure price-action momentum-continuation strategy that uses a hand-built "path efficiency" momentum gauge — not a packaged technical indicator — to identify clean directional thrusts and then trade their continuation after a shallow pause. It belongs to the trend-continuation (or "pullback") family of trading styles, where the aim is to join an existing move after a brief counter-move rather than to predict tops and bottoms. Because it reads raw bar geometry instead of relying on moving averages, oscillators, or ATR, it is a useful case study for traders who want to understand momentum at a structural level.

At the heart of the strategy is a concept called path efficiency. For a window of recently completed bars, the strategy compares the displacement (how far price travelled in net terms from the start of the window to the end) against the path (the total up-and-down distance price actually covered along the way). When these two numbers are close, price moved in a clean, one-directional line — a genuine impulse leg. When the path is far longer than the displacement, price was choppy and going nowhere. This ratio, which always sits between 0 and 1, becomes the trigger for everything that follows.

This strategy is designed for momentum-rich trending conditions — for example, intraday foreign-exchange pairs or stock-index CFDs that produce sustained directional legs. It is best treated as a learning tool for studying how impulse, retracement, and resumption interact, rather than as a turnkey system. Traders who are comfortable reading candlestick structure and who want to see how momentum can be measured from first principles will get the most educational value from it.

How It Works

The strategy operates as a small state machine that processes one completed bar at a time. It only ever evaluates fully closed bars (the forming bar is ignored), which avoids acting on incomplete information mid-bar. The logic moves through three stages:

The exit logic is taken directly from market structure rather than from any indicator:

impulse efficiency pullback MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
ImpulseLookback 5 3 12 Number of completed bars that define the impulse measurement window.
EfficiencyMin 0.62 0.40 0.90 Minimum path-efficiency value (0–1) required for the window to count as a genuine impulse. Higher values demand cleaner thrusts.
MaxPullbackBars 4 1 8 Maximum number of bars the strategy will keep waiting for a resumption before abandoning the setup.
MaxPullbackFrac 0.55 0.20 0.85 Deepest allowed retracement of the impulse range before the thrust is treated as failed.
StopBufferFrac 0.15 0.0 0.60 Extra stop-loss buffer beyond the pullback extreme, expressed as a fraction of the impulse range.
RewardRiskRatio 1.8 1.0 4.0 Take-profit distance as a reward-to-risk multiple of the stop distance.
Lots 0.10 0.01 1.0 Order volume (lot size) used for each trade.
impulse efficiency pullback MT5 EA — MQL5 source code

Recommended Chart Settings

The Impulse Efficiency Pullback was designed with momentum-rich intraday trends in mind — for example, EURUSD or a US tech index such as US100 on the M15 to H1 timeframes. That said, the timeframe is never hardcoded: every bar access uses the chart's current period, so the strategy will run on whatever timeframe you attach it to. This makes it flexible for experimentation, but it also means behaviour can change meaningfully from one timeframe or symbol to another. Results will vary across different instruments, sessions, and market conditions, and a clean impulse pattern on one chart may be rare on another. Always test on the specific symbol and timeframe you intend to study before drawing any conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Like every approach, the Impulse Efficiency Pullback has strengths and limitations worth understanding before you rely on it for any decision-making.

Strengths. Because it measures momentum directly from raw price geometry, the logic is transparent and free of indicator lag or smoothing artifacts. The path-efficiency filter is a genuinely intuitive way to separate clean trends from chop, and the structure-based stop ties risk to the actual setup rather than an arbitrary fixed distance. The symmetric long/short rules and the single-position discipline keep the behaviour predictable and easy to study.

Known limitations. Trend-continuation systems are, by design, dependent on the market actually trending. In ranging or mean-reverting conditions, impulses may be rare, or — worse — false impulses may be followed by reversals rather than continuations, which can produce a cluster of losing trades. The strategy also acts only on the first qualifying resumption bar and then steps aside, so it may miss extended moves or, conversely, enter just before a stall. The MaxPullbackFrac and EfficiencyMin thresholds are sensitive: set them too loose and you admit noisy setups, too tight and you may see very few signals. Spread, slippage, and commission can also weigh more heavily on lower timeframes where the impulse range is smaller.

The honest takeaway is that this EA is a well-defined, educational example of momentum-continuation logic — not a guarantee of any particular outcome. Treat it as a framework to study and stress-test, not as a finished answer.

Risk Management Tips

Sound risk management matters far more than any single entry rule. Whatever strategy you study, keep these general principles in mind:

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