On this page
In short
Range trading works with fixed price zones. When the market moves sideways, there is a support below and a resistance above. The strategy buys at the bottom, sells at the top and takes the distance in between.
The stop sits just outside the zones. When the range breaks, the trade ends there and the strategy stops trading these zones.
The strategy as a schematic
A drawn price path, no market data. First the case where the rule works, then the same routine when it fails.
- Closed
- ±0 pips
- Open
- –
- Open volume
- –
Schematic, no market data: a drawn price path, results in pips weighted to 0.10 lots. Not a backtest and no statement about any real EA.
How the strategy trades
- Spot a sideways phase and mark its upper and lower edge as zones.
- When price reaches support and closes above it: buy.
- When it reaches resistance and closes below it: sell.
- The target is the other side of the range, a little before the zone.
- The stop sits just outside the zone. After a break the range is no longer traded.
Where the risk sits
Every trade has a stop just beyond the zone. The ratio of target to stop is usually favourable as long as the range is wide enough.
The risk is the break of the range. It comes without warning, and the first trade after it is almost always a loss.
Moving the zones afterwards instead of fixing them by rule turns a range strategy into one without a stop.
When it works, when it fails
Tends to work when …
- Clear sideways phases with edges confirmed several times.
- Ranges wide enough for target and costs to stand in a healthy ratio.
Tends to fail when …
- A breakout from the range, especially after news.
- Very narrow ranges in which spread and stop eat up the room.
- Pokes through the zone that trigger the stop and then return.
How to recognise it in an EA
Traces in the trade log of a live account, whatever the vendor calls the EA.
- Buy and sell trades alternate, entries sit at similar price levels.
- Targets and stops cluster at fixed prices rather than at fixed distances.
- Longer pauses without trades when the market forms no range.
Typical settings
| Setting | Typical | Effect |
|---|---|---|
| Range detection | high/low of the last N candles or manual zones | The most important and most subjective part. |
| Zone width | a few pips | How close price must get to the edge. |
| Stop beyond the zone | 5–15 pips | Caps the breakout trade. |
| Target | opposite side minus a buffer | The buffer avoids narrowly missed targets. |
| Minimum range width | filter | Narrow ranges are skipped. |
Common ranges from EA manuals and set files, not a recommendation.
EAs in our tests built this way
No EA in our tests is explicitly tagged with this design yet. Many EAs combine it with other mechanics; the trade log usually shows it sooner than the product description. All EA reviews →
Related strategies
- Mean reversionTrades against stretches and waits for price to return to its mean.
- BreakoutWaits for a quiet phase and enters as soon as price breaks through its edge.
- Price actionReads signals straight from the candles, such as a pin bar at support, and trades without indicators.
All strategies →All designs compared: EA strategies explained →
Frequently asked questions
How does an EA detect a range?
What happens when the range breaks?
Is range trading the opposite of breakout?
Video: the strategy in under a minute
The same animation as a video with subtitles, for those who prefer to watch.