# Range Trading Strategy: How to Trade a Sideways Market

Web page: https://uptickflow.com/en/learn/range-trading-strategy  
Updated: 2026-10-17

A range trading strategy for sideways markets: how to spot a range, trade its edges with confirmation, set stops and targets, and know when the range is over.

A range trading strategy buys near support and sells near resistance while price moves sideways between them. First confirm the range: at least two touches on each side, flat moving averages and a low ADX. Then wait for a candle to close back away from an edge, put the stop just outside the range, and aim for the middle or the opposite side. A close outside the range ends the setup.

Below: how to spot and mark a sideways market, the no-trade middle, entries, stops, targets and size, false breakouts, when to stop range trading, and how it fails. All prices are hypothetical, and trading carries real risk.

## What is range trading?

A trading range is a stretch of time when price moves sideways between a ceiling and a floor instead of trending. Buyers step in near the floor, sellers near the ceiling, and neither side pushes through. Range trading means trading that back-and-forth: buy near support, sell or short near resistance, and take profits on the way back across.

It is a form of [mean reversion](https://uptickflow.com/en/learn/mean-reversion-strategy): you bet that price returns toward the middle rather than running away. That makes it the opposite of a [breakout trading strategy](https://uptickflow.com/en/learn/breakout-trading-strategy), and the two meet at the same place, the edge of the range. Ranges appear on every timeframe, from a 5-minute chart in a quiet session to a daily chart that drifts sideways for months.

- **Trading range (sideways market)**: A period when price swings between a horizontal support and resistance instead of making higher highs or lower lows.
- **Range high and range low**: The resistance zone at the top and the support zone at the bottom. Treat each as a zone, not a single price.
- **Midpoint**: Halfway between the range high and the range low: a common first target and the center of the no-trade zone.
- **False breakout (fakeout)**: A move beyond an edge that fails: a wick through it that closes back inside, or a close outside that is quickly reversed.

## How to identify a sideways market: three checks

Many losing range trades start with a range that was never there. Before you trade the edges, run the three checks in the list below on your trading timeframe. All three should agree.

ADX comes from J. Welles Wilder Jr., who introduced it with his directional movement system in his 1978 book New Concepts in Technical Trading Systems. On TradingView, the built-in Directional Movement Index (DMI) plots ADX with +DI and −DI, and both lengths default to 14. The drawing below shows the switch: ADX climbs above 25 while price trends, then sinks below 20 once price chops sideways.

Hypothetical: over three sessions on a 15-minute chart, a stock tops out at $49.92, $49.85 and $50.00 and bottoms at $48.05, $48.12 and $47.98. Its 20 and 50 EMAs are flat and crossed, and ADX reads 16. That is a range from about $48.00 to $50.00. One caution: ADX lags and also reads low in the first bars of a new trend, so it confirms a range; it does not predict one.

1. At least two touches on each side: two highs that stall near the same price and two lows that hold near the same price. One high and one low is just a swing; the range exists once both edges have been tested twice.
2. Flat moving averages: a 20 and a 50 EMA that run sideways and tangle, with price crossing them back and forth. In a trend they slope and fan apart; see the [EMA trading strategy](https://uptickflow.com/en/learn/ema-trading-strategy).
3. A low ADX: the [ADX indicator](https://uptickflow.com/en/learn/adx-indicator) measures trend strength, not direction. A common reading is above 25 for a strong trend, below 20 for no trend, and 20 to 25 as a gray zone.

## How to mark the range: zones, the midpoint and the no-trade middle

Draw each edge as a zone that holds the wicks and closes of the touches, not as one line. In the example, support runs from $48.00 to $48.20 and resistance from $49.80 to $50.00. On TradingView, the Rectangle drawing tool does this, and the Middle line checkbox on the Style tab of its settings adds the midpoint, here $49.00. The [support and resistance strategy](https://uptickflow.com/en/learn/support-and-resistance-strategy) guide covers zones in detail.

Then split the range into thirds. The bottom third is where you look for longs, the top third for shorts, and the middle third, shaded in the drawing at the top of this page, is the no-trade zone: here, roughly $48.67 to $49.33.

Why skip the middle? Because the stop does not move with you. Buy at $49.00 and the stop still belongs below the range at $47.85, $1.15 away, while resistance caps the move near $49.75, $0.75 away: you risk more than you can make. A tight stop inside the range fixes the ratio on paper, but it sits in the noise and routine swings hit it.

## How to trade the edges of a range: wait for confirmation

Touching an edge is not a signal, because price can slide straight through. Wait for a candle on your timeframe to close back away from the edge: a long lower wick or a bullish engulfing candle at support, a long upper wick or a bearish engulfing candle at resistance. The [candlestick patterns](https://uptickflow.com/en/learn/candlestick-patterns) guide shows these shapes, and the drawing below shows the long side: price dips into support, rejects it, and the signal comes on the close.

Hypothetical long: price dips to $48.10, inside the support zone, and a 15-minute candle closes at $48.35 with a long lower wick. You buy at $48.35. On the other side, price pushes to $49.95 and a candle closes at $49.70 with a long upper wick; you short at $49.70.

The failure case looks the same at first. If price never prints a rejection and closes inside the zone, then below it, there is no trade, while a limit order resting at $48.05 “because it is support” is already filled and losing. Confirmation costs a few cents of entry price and keeps you out of a breakdown.

[UpTickFlow](https://uptickflow.com/en/indicator), our invite-only TradingView indicator, works on the same confirmation-first principle, so weigh this accordingly. On 1-hour charts and up, its harmonic BUY comes only after a reversal bar confirms the zone, with an entry, a stop and targets drawn before the trade, and it skips a signal whose reward to risk to TP2 is below a minimum (a setting). It does not detect ranges, and on a 15-minute chart like this one it shows its map of support and resistance only.

## Stops, targets and position size in a range

The stop goes just outside the range, beyond the zone plus a small buffer for noise, because a move outside means the range idea is wrong. For the long at $48.35, that is $47.85, $0.15 below the $48.00 floor: $0.50 of risk per share. For the short at $49.70, it is $50.15: $0.45 of risk.

Two targets are common: the midpoint, and the opposite edge, aimed just in front of the far zone rather than at its extreme. For the long, the midpoint at $49.00 is $0.65 away, about 1.3R, and $49.75, just under resistance, is $1.40 away, about 2.8R. For the short, the midpoint pays $0.70, about 1.6R, and $48.25, just above support, pays $1.45, about 3.2R. Many traders take part of the position off at the middle and let the rest run to the far edge.

Size from the stop: risking 1% of a hypothetical $10,000 account ($100) on the long allows 200 shares ($100 ÷ $0.50). A stop-out costs about $100, or 1R, plus costs, and a gap or a fast move can fill a stop beyond its price. The [position size calculator](https://uptickflow.com/en/learn/position-size-calculator) does the math, and the [risk-reward ratio](https://uptickflow.com/en/learn/risk-reward-ratio) guide explains R.

The drawing below shows the plan in R: the red box is the risk down to the stop, the green box the reward up to the target. If the midpoint pays less than 1R from your entry, the entry is too far from the edge.

## False breakouts: the trap at the edge

Ranges are full of false breakouts. Stop orders cluster just beyond each edge, from range traders’ stop losses and from breakout traders’ entry orders. Price often pokes through to fill them, then snaps back inside.

Hypothetical: price drops to $47.70, under support, and the 15-minute candle closes back inside at $48.15. That wick is a failed breakdown, and the traders who sold the break are now trapped. Some range traders buy the close back inside, with the stop under the wick at $47.60: $0.55 of risk for $0.85 to the midpoint, about 1.5R. If the next candle closes at $47.55 instead, the breakdown was real and the trade is a −1R loss.

The same wick shows the cost of a stop just outside: it would have stopped out the earlier long, with its stop at $47.85, before price came back. A wider buffer survives more wicks but buys fewer shares for the same dollar risk, and no stop dodges every false breakout. That is why each loss has to be small.

## When to stop range trading: a close outside, then the retest

A candle that closes outside the range on your timeframe ends the range. Cancel any orders at that edge and stop fading that side. In the drawing below, the earlier short at the top is crossed out: a close above resistance means the sellers lost.

Hypothetical: a candle closes at $50.40, above the $50.00 top. The short from $49.70 was already stopped at $50.15 for −1R. Price then drifts back to $50.05, holds, and a candle closes at $50.25. Old resistance has become new support, and the retest is now a breakout trade with its own plan; see the [breakout trading strategy](https://uptickflow.com/en/learn/breakout-trading-strategy).

If price instead closes back inside within a bar or two, the breakout failed, and the range is back in play with that push as its new extreme. Volume helps you weigh the break: one on above-normal volume deserves more respect than one on thin volume. See [relative volume](https://uptickflow.com/en/learn/relative-volume).

## When range trading fails

Range trading fails often, and losses tend to bunch up when a range finally breaks. Same hypothetical long at $48.35, another day: no wick, no bounce, a candle closes at $47.60 and the stop at $47.85 takes you out for about $100. Planned and survivable. The trader who skips the stop, or buys more at $47.50 to “average down”, turns one small loss into a large one.

The usual causes, and what to do about each:

- News: earnings, economic data or a headline can break a range in one candle. Avoid holding a range trade into scheduled news.
- The bigger trend: a sideways stretch on a 5-minute chart can be a pause inside a strong daily trend. Check the [higher timeframe](https://uptickflow.com/en/learn/multi-timeframe-analysis) and be wary of fading its direction.
- Chop, not a range: overlapping candles with wicks on both sides and no clean rejections at the edges. If you cannot point to the touches, there is no range.
- A coil, not a range: lows that keep rising into a flat top show pressure building against one edge, the shape of an ascending triangle. See [triangle patterns](https://uptickflow.com/en/learn/triangle-patterns).
- Too narrow: if the distance from a sensible entry near an edge to the midpoint is smaller than your risk, costs and noise decide the result.

## Key takeaways

- Range trading buys near support and sells near resistance while price moves sideways: a mean-reversion bet that price returns toward the middle.
- Confirm the range first: at least two touches on each side, flat moving averages and an ADX below about 20.
- Trade only the outer thirds, and only after a candle closes back away from the edge; the middle third is a no-trade zone.
- Put the stop just outside the range, aim for the midpoint or just in front of the opposite edge, and size the trade from the stop.
- A close outside the range ends it; a quick close back inside is a false breakout. Ranges fail often, so keep every loss small and planned.

## FAQ

**What is a range trading strategy?**

A way to trade a sideways market: buy near support, sell or short near resistance, and take profits at the middle or the opposite side. It needs a confirmed range, a closed rejection candle at the edge, and a stop just outside the range.

**How do you know if the market is ranging or trending?**

Look for at least two touches on each side of a horizontal band, flat and tangled moving averages, and an ADX below about 20. Higher highs and higher lows, sloping averages and an ADX above 25 point to a trend instead.

**What is the best indicator for range trading?**

No indicator finds ranges on its own. ADX is a common filter because it measures trend strength, so a low reading supports the range idea. The edges themselves come from price: the touches of support and resistance.

**Where should the stop loss go in a range trade?**

Just outside the range, beyond the support or resistance zone plus a small buffer. A stop inside the range sits in normal noise, and a move outside the range means the idea is wrong anyway.

**What should you do when price breaks out of a sideways market?**

Stop trading the range: cancel orders at that edge and treat a close outside as the end of the setup. If price retests the broken edge and holds, that is a breakout trade with its own plan; if it closes back inside quickly, the breakout failed.

---

Educational content, not financial advice. Trading involves risk of loss. https://uptickflow.com/llms.txt
