Blog / Strategy
Strategy

Narrow Range Expansion

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 Narrow Range Expansion strategy is a pure price-action breakout system built around the classic narrow-range bar pattern (often called the NR7 setup), and it uses no technical indicators at all. Instead of moving averages or oscillators, it reads the raw High and Low of recent candles to find moments when the market is "coiling" — trading in an unusually tight range — and then waits for price to break free from that range. A narrow-range bar is simply a candle whose High-to-Low distance is the smallest of the last several completed bars, and it is widely interpreted as a sign that volatility is being compressed before a larger directional move.

The core idea behind Narrow Range Expansion is the well-documented tendency of markets to alternate between two phases: contraction (low volatility, sideways drift) and expansion (a trending burst of movement). When a market squeezes into a narrow range, buying and selling pressure reach a temporary balance. The strategy treats that balance point as stored energy. When price finally closes beyond the narrow bar's boundary, the system reads it as the start of an expansion leg and trades in that direction.

This EA is best suited to traders who want to study breakout mechanics and volatility cycles without the lag or complexity of indicators. Because every rule is derived directly from candle prices, it is an excellent learning tool for understanding how raw price action can define entries, stops, and targets. As with any system, it should be viewed as a framework for analysis and education rather than a shortcut to trading results.

How It Works

The strategy operates on a single timeframe and evaluates conditions only once per completed bar, never on every tick. Here is how the logic unfolds:

For exits, the strategy relies on a fixed stop-loss and take-profit attached at entry:

This structure means each trade has a defined, pre-planned risk and reward measured in the market's own terms — the coil range — the moment the position opens.

narrow range expansion MT5 EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
RangeLookback 7 3 20 How many completed bars the coil bar must be the narrowest of. Larger values demand a more significant volatility contraction.
MaxWaitBars 3 1 10 How many bars after the coil the strategy keeps watching for a breakout close before abandoning the setup.
BreakoutBufferPct 0.10 0.0 1.0 Breakout filter: the close must clear the fence by this fraction of the coil range. Higher values require a stronger break.
StopRangeMult 1.0 0.5 3.0 Stop distance expressed as this many coil ranges from the entry price.
RewardRiskRatio 2.0 1.0 5.0 Take-profit set as this reward-to-risk multiple of the stop distance.
Lots 0.10 0.01 1.0 Order volume in lots for each trade.

Recommended Chart Settings

Narrow Range Expansion is a single-timeframe strategy, so it runs entirely on the chart's symbol and period you attach it to. Breakout systems like this are commonly studied on the H1 or H4 timeframes, where narrow-range bars tend to represent meaningful consolidation rather than minor noise. Liquid instruments with clear volatility cycles — major forex pairs such as EUR/USD or GBP/USD — are a sensible starting point for analysis.

Keep in mind that the ideal settings depend heavily on the instrument and prevailing conditions. A timeframe and symbol that produce clean coils in one market regime may behave very differently in another. Results will vary across different market conditions, and any configuration should be studied carefully 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 strengths and weaknesses, and understanding them is part of trading education.

Strengths: Because Narrow Range Expansion uses no indicators, it is free of indicator lag and is conceptually simple to follow — you can see the coil and the breakout directly on the chart. Its risk is measured from the coil range, so stops and targets automatically scale with current volatility instead of relying on a fixed number of pips. The breakout-close requirement and buffer help filter out some weak, marginal breaks that an intrabar trigger would catch.

Known limitations: Breakout strategies are vulnerable to false breakouts, where price closes beyond the fence and then quickly reverses. This is especially common in choppy, range-bound markets where the expansion phase fails to develop. The strategy also commits to whichever direction breaks first, so a "fakeout" in one direction can lead to a losing trade even if the market later moves the opposite way. Because it trades only one setup at a time and abandons stale coils, it may sit idle for long stretches when volatility is not contracting and expanding in a clean cycle.

When it may underperform: Periods of erratic, news-driven volatility, very tight low-liquidity sessions, or persistently trendless ranges can all produce signals that historically tend to be less reliable for breakout logic. No single set of parameters performs equally well across all symbols and timeframes, so the defaults should be treated as a starting point for study, not a finished solution.

Risk Management Tips

Sound risk management matters far more than any single entry rule. Consider these general principles as you study this EA:

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