The Rectangle pattern (also called a trading range or consolidation box) forms when price moves horizontally between two parallel levels — a clear support floor and resistance ceiling. It signals that buyers and sellers are in balance. The pattern resolves when one side overwhelms the other and price breaks out.

Rectangle Pattern Diagram

Resistance Support Buy ↑ H
Range between support and resistance — breakout direction determines continuation or reversal

Two Ways to Trade a Rectangle

Strategy 1 — Range Trading

Buy at support, sell at resistance — repeat until the range breaks
Stop Loss: 1–2% below support (long) or above resistance (short)
Best for: Wide rectangles (10%+ range) over several weeks
Exit all range trades immediately when breakout occurs

Strategy 2 — Breakout Trading

Wait for price to close above resistance (bullish) or below support (bearish)
Entry: Breakout candle close
Stop Loss: Back inside the rectangle (below resistance for longs)
Target: Rectangle height added above resistance (or subtracted below support)
Must have high volume — low-volume breakouts fail frequently

Rectangle as Continuation vs Reversal

Prior TrendBreakout DirectionPattern Type
UptrendUpwardContinuation — trend resumes
UptrendDownwardReversal — trend changes
DowntrendDownwardContinuation — trend resumes
DowntrendUpwardReversal — trend changes
On NSE, Rectangles form frequently in sector leaders during market consolidation phases. When NIFTY is rangebound, strong stocks form tight rectangles. The breakout from these ranges, when it comes, is often sharp and sustained — these stocks lead the next rally.