At a glance
- Bets that
- Price will reverse at the boundaries of an established range
- Win rate
- 55 to 70 percent
- Payoff
- Regular modest wins, occasional larger loss on the breakout
- Requires
- An objective range definition and a breakout exit rule
- Best markets
- Major FX pairs, index ETFs in quiet regimes
Key takeaways
- A range is only tradeable once it has been tested several times on both sides, which means the first two touches are information, not signals.
- The strategy is short volatility: it earns steadily while the range holds and loses when it breaks, so the breakout rule is the most important part.
- Entries near the boundary with stops just beyond it produce good reward-to-risk, provided you accept a lower fill rate.
- Mean-reversion indicators help time entries but cannot tell you whether the range itself is still valid.
- Ranges end. Planning the transition to a breakout strategy is part of the plan, not an afterthought.
Identifying a tradeable range objectively
Hand-drawn boxes are unreliable and untestable. Use a formal definition so the same data always produces the same range.
- 1
Require a minimum duration
At least 20 bars in which price has remained within a band. Shorter consolidations are pauses within a trend, not ranges.
- 2
Require multiple touches on both sides
Two touches of the high and two of the low, minimum. A boundary defined by a single extreme is a guess.
- 3
Require volatility containment
The band width should be stable or contracting: compare ATR over the range to ATR before it, or require that the highest high minus lowest low stays within a defined multiple of ATR.
- 4
Require the absence of a trend
A flat moving average, or ADX below 20, confirms that the market is not trending. Range trading inside a strong trend is the most common way this strategy fails.
- 5
Define the boundaries numerically
For example, the 90th and 10th percentile of closes over the lookback, rather than the absolute extremes, which are often single spikes.
A complete range trading rule set
- Universe
- Liquid FX majors or index ETFs. Avoid single stocks, where news can end a range instantly and violently.
- Range definition
- Lookback 40 bars. Upper boundary = 90th percentile of highs, lower = 10th percentile of lows. Requires ADX(14) below 20.
- Entry long
- Limit order at or slightly above the lower boundary, filled only if price reaches it. Optional confirmation: RSI(2) below 10.
- Entry short
- Mirror image at the upper boundary.
- Stop
- Beyond the boundary by 0.75 x ATR(14). Tight stops just outside the line are hunted; too-wide stops break the reward-to-risk.
- Target
- The range midpoint for a conservative version, or the opposite boundary for a full-range version. Taking half at the midpoint and trailing the rest is a common compromise.
- Time stop
- Exit after 10 bars if the target has not been reached; a range trade that stalls mid-range has lost its rationale.
- Range invalidation
- Two consecutive closes beyond a boundary cancels the range. No further range entries until a new range forms.
- Position size
- Risk 0.5 percent per trade. Never add to a losing range position: that converts a bounded loss into a breakout disaster.
Worked example
A currency pair has oscillated between 1.0820 and 1.0960 for seven weeks. ADX is 14, confirming no trend. ATR(14) is 0.0058. Account equity 30,000 USD, risk 0.5 percent, so 150 USD.
The realistic distribution over many such trades: roughly 60 to 65 percent reach the midpoint, perhaps 40 percent reach the far boundary, and 30 to 35 percent stop out. That combination is modestly profitable, and the profitability is destroyed entirely by two behaviours: trading ranges that are not really ranges, and failing to stop out when the range breaks.
Managing the inevitable breakout
Every range ends. The strategy accumulates modest gains while it lasts and gives some of them back when it does not. The question is how much.
- Never widen a stop at the boundary. The moment price closes beyond the boundary, the thesis that defined the trade is void.
- Reduce size as the range matures. Long-lasting ranges with contracting volatility often resolve violently; the probability of a break rises with duration.
- Watch for the pre-break signature: progressively shallower pullbacks from one boundary, declining volume at the other, or a series of higher lows within the range.
- Have the breakout plan written. Some traders reverse into a breakout position; others simply stand aside for a defined number of bars. Either is acceptable; improvising is not.
- Avoid ranges before scheduled events. A central bank decision or earnings report is a scheduled range-break risk.
Where range trading works best
| Market | Suitability | Reason |
|---|---|---|
| FX majors | High | Mean-reverting behaviour driven by central bank policy anchors and two-sided flow |
| Index ETFs | Moderate | Ranges occur in low-volatility regimes; upward drift biases the short side |
| Commodities | Moderate | Physical supply and demand create natural bounds, but supply shocks break them violently |
| Individual stocks | Low | Company news can end a range instantly and gap through stops |
| Crypto | Low to moderate | Ranges form but break with extreme force; leverage cascades amplify the breakout |
| Rates and bonds | Moderate | Policy expectations create ranges until the policy regime shifts |
Frequently asked questions
How do I know when a range has ended?
Define it in advance rather than judging in the moment. Two consecutive closes beyond a boundary, or a close beyond it by more than a defined multiple of ATR, are common objective rules. The important property is that the rule is mechanical, because in real time a genuine break and a false one look identical.
Should I take the full range as a target or just the midpoint?
Targeting the midpoint has a much higher hit rate and a lower reward-to-risk; targeting the opposite boundary is the reverse. Scaling out at the midpoint and trailing the remainder captures part of both. Test all three on your instrument, since the answer varies with how cleanly the range oscillates.
Which indicators are useful for range trading?
ADX or a flat moving average to confirm the absence of a trend, Bollinger bands or a short RSI to time entries at the extremes, and ATR for stop placement. The indicators time entries within a range that you have already validated structurally; none of them can tell you whether the range itself remains valid.
Is range trading the same as mean reversion?
It is a specific form of it. General mean reversion trades deviations from a moving reference such as an average. Range trading uses fixed horizontal boundaries defined by prior price action. Both share the payoff shape of frequent small wins funding occasional larger losses.
Can range trading be automated?
Yes, and it benefits from automation because the entries are passive limit orders at pre-computed levels and the invalidation rule is mechanical. The part that resists automation is the judgement about whether a range is genuine, which is exactly why the definition must be formalised into rules a program can evaluate.
Test this idea before you trade it
Describe the rules in plain language and AlgoTrader AI turns them into a structured strategy blueprint with a configurable historical backtest, cost assumptions, and exportable code.
Build a backtestKeep reading
- PatternsSupport and Resistance: Why Levels Work and How to Find Them
- StrategiesMean Reversion Strategy: How to Trade the Snap Back
- StrategiesBreakout Trading Strategy: Rules, Filters, and False Breakouts
- IndicatorsADX Indicator Guide: Measuring Whether a Trend Exists
- IndicatorsBollinger Bands Strategy: Volatility Bands That Adapt
- MarketsForex Trading Strategies: Sessions, Carry, and Trend
Referenced by
Educational use only. This guide explains how a strategy works. It is not investment advice, not a recommendation, and no result described here is a forecast. Test any approach on historical and out-of-sample data, size positions conservatively, and never risk money you cannot afford to lose.