Rectangle and Range Patterns: Trading Sideways Markets
A rectangle is price bouncing between a roughly flat support level and a roughly flat resistance level for an extended period, going nowhere in a straight line while still moving plenty within that band. It is one of the simplest chart patterns to spot and one of the easiest to trade badly, because the flat, repeating structure tempts traders into overtrading every single bounce.
This guide is a spoke of our Continuation vs Reversal Chart Patterns pillar guide. It covers how rectangles form, why they can act as either continuation or reversal patterns depending on context, and how to trade sideways markets with a real Nifty example.
What a rectangle looks like
A rectangle needs two things to qualify. First, a clear resistance level that price touches and rejects from at least twice. Second, a clear support level that price touches and holds at least twice. Between those two touches, price simply oscillates back and forth, with no clear directional trend within the range itself.
The tighter and more consistent the touches on each boundary, the cleaner the rectangle, and the more traders are likely to be watching the same two levels, which itself becomes part of why those levels tend to hold until they eventually break.
Why sideways markets happen
A rectangle forms when buyers and sellers reach a temporary standstill. Neither side has enough conviction to push price decisively past the other side’s defended level. Every time price approaches resistance, enough sellers show up to push it back down. Every time price approaches support, enough buyers show up to push it back up. This can continue for days or weeks until something changes the balance, either fresh information, a change in broader market direction, or simply one side running out of orders to defend their level.
This is different from a trend, where one side is gradually gaining ground. In a rectangle, both sides are holding their ground evenly, which is precisely why price keeps bouncing between the same two levels instead of drifting.
Why rectangles can be continuation or reversal
As covered in our pillar guide on continuation versus reversal patterns, a rectangle’s meaning depends heavily on where it forms.
- Inside an existing trend, a rectangle usually acts as a pause, a continuation pattern, with price eventually breaking out in the same direction as the trend that came before it.
- After an extended trend that has already run far, a rectangle can act as a distribution or accumulation zone, a reversal pattern, with price eventually breaking out against the prior trend instead.
You cannot tell which one you are looking at from the rectangle alone. You need the context of what came before it, and ultimately, confirmation from the breakout itself.
A worked example on Nifty
Suppose Nifty has been rising steadily for two months, climbing from 23,500 to 24,800. It then enters a rectangle, bouncing between 24,600 support and 24,850 resistance for three weeks, touching resistance three times and support twice, rejecting cleanly each time.
Because this rectangle comes after a strong, fresh uptrend and lasts only three weeks, a reasonable initial read is that this is a continuation pause rather than a top. If price eventually breaks above 24,850 with a rise in volume, that would confirm the continuation reading, with a rough target estimated by adding the rectangle’s height, about 250 points, to the breakout level, suggesting a move toward roughly 25,100.
If instead price broke down below 24,600 on strong volume after those same three weeks, that would be a more significant signal precisely because it goes against the prior trend, and would deserve more caution and a smaller initial position size until the new direction proves itself with further follow-through.
How to trade inside the range versus the breakout
There are two very different ways traders approach a rectangle, and mixing them up without a plan is a common source of losses.
Range trading (buying support, selling resistance)
Some traders buy near the support boundary and sell near the resistance boundary, repeating this each time price bounces between the two levels. This can work while the range holds, but it requires tight risk management, since a stop just outside the range is required each time, and the reward per trade is limited to the width of the rectangle.
Breakout trading (waiting for the range to break)
Other traders ignore the inside-the-range bounces entirely and wait for a confirmed close beyond one of the two boundaries, ideally with a pickup in volume, before entering in the breakout direction. This avoids the repeated small trades of range trading but requires patience, since the range can persist for a long time before it finally breaks.
Mixing both approaches without deciding in advance, buying support one day and then chasing a breakout attempt the next, is how many traders end up on the wrong side of a rectangle repeatedly.
Why false breakouts are common with rectangles
Because a rectangle’s boundaries are well known and widely watched, false breakouts are common. Price pokes above resistance, triggers a wave of breakout buyers, and then falls back inside the range, trapping those buyers at the top. This is exactly why waiting for a confirmed close beyond the boundary, rather than reacting to an intraday touch, matters so much with this particular pattern. Some traders also wait for a retest of the broken level from the other side before fully committing, though this means occasionally missing part of the initial move.
What actually breaks a rectangle
It is worth understanding what typically ends a standoff like this, since it changes how you should watch for the eventual break. A rectangle usually resolves for one of a few reasons. Fresh information arrives, an earnings surprise, a policy announcement, or a broader market move that changes the calculation for one side. Or one side simply runs out of orders to defend their level, the resting buy orders at support get fully absorbed after enough tests, or the resting sell orders at resistance get fully absorbed after enough attempts, and the next test finally goes through with less resistance than before.
Watching how each touch behaves as the rectangle matures can give you an early clue. If the bounces off support start getting weaker, smaller rallies each time price approaches resistance, that can suggest buyers are slowly losing conviction even while the rectangle technically still holds, often a warning sign ahead of an eventual breakdown. The same logic works in reverse near resistance ahead of a potential breakout. This is the same kind of shrinking-force reading used in wedge patterns, applied here to a sideways structure instead of a sloped one.
How to actually trade a rectangle
- Confirm at least two touches on each boundary before treating the levels as genuine support and resistance.
- Decide in advance whether you are range trading or breakout trading, and do not switch mid-pattern without a clear reason.
- Check the prior trend to form an initial view on whether a breakout is more likely to continue it or reverse it.
- Wait for a confirmed close beyond the boundary before treating a breakout as real, given how common false breakouts are with this pattern.
There is no dependable win rate for rectangle patterns, and treating every touch of the boundary as an automatic trade is a fast way to overtrade a market that is, by definition, going nowhere.
The overtrading trap
A rectangle is uniquely tempting because it keeps generating what look like fresh opportunities, price touches support, bounces, touches resistance, bounces again, over and over. Each bounce feels like a new trade to take. The real discipline required here is not about reading the chart correctly, since the boundaries are usually obvious. It is about resisting the pull to trade every single touch, and sticking to whichever plan, range trading or breakout waiting, was decided before the pattern even started forming.
Frequently asked questions
How many touches does a rectangle need to be valid?
At least two clean touches on both the support and resistance boundaries. More touches generally make the pattern more reliable, since more participants are likely watching and defending those same levels.
Is a rectangle always a continuation pattern?
No. It depends on context. A rectangle inside a fresh trend often continues that trend on breakout. A rectangle after an extended trend can instead mark a reversal. The prior trend and the breakout confirmation both matter.
Why do rectangle breakouts fail so often?
Because the boundaries are widely watched, an initial poke past the level can trigger early breakout entries that then reverse once the move fails to follow through, trapping those traders. Waiting for a confirmed close reduces this risk.
Should I trade every bounce inside a rectangle?
Not without a clear, decided-in-advance plan. Trading every touch of support and resistance without discipline is one of the most common ways traders overtrade a sideways market.
How do I estimate a target after a rectangle breakout?
A common rough method is measuring the height of the rectangle and projecting that same distance from the breakout point in the breakout direction. This is a general guide, not a guaranteed target.
Where to go from here
Rectangles are simple to identify and genuinely difficult to trade well, precisely because the simplicity invites overtrading. Reading the boundaries correctly is the easy part. Choosing one approach, range trading or breakout waiting, and sticking to it without switching mid-pattern out of impatience or fear of missing out, is what actually separates a good rectangle trader from one who slowly bleeds capital on a market that never really went anywhere. See our Continuation vs Reversal Chart Patterns guide for how rectangles compare with other pattern types.
Market jab kahin nahi jaa raha, wahi sabse zyada mauka lagta hai.
Related reading:
- Chart Patterns Every Trader Should Know
- Advanced Candlestick Patterns: Multi-Candle Formations Explained
- Support and Resistance: How to Actually Draw Them
- The Opening Range: Why the First 15 Minutes Matter
- Sideways Market: How to Trade When There Is No Trend
A sideways market tempts you into a trade at every single bounce, and every one of those extra trades chips away at the plan you actually had. I run a free live session twice a week for traders with two or more years of experience who know the setups but still cannot execute under pressure. Register for the next free session here.
I am Samir Dash, founder of Mindful Trading Hub. I work with experienced traders on live market decision-making. More about my story here.