Rectangle Patterns: Trading Ranges and Breakouts
A rectangle is a trading range: price moves sideways between a horizontal ceiling and a horizontal floor until it breaks out of one side. This guide explains how to identify one, how the trend before it changes the reading, what a breakout does and doesn't tell you, and how rectangles fail. For the method that applies to every pattern, see how to read any chart pattern.
Educational content only. This page explains how rectangles are commonly read; it is not investment advice, and no chart pattern predicts or guarantees trading results. Trading carries risk of loss.
Rectangles in one minute
- The shape: reaction highs at about the same level and reaction lows at about the same level, joined by two horizontal, parallel lines.
- Context: ChartSchool reads a rectangle as a pause within a trend, but it can also mark a top or a bottom.
- Direction: the pattern itself is neutral. Only a breakout above resistance or below support shows the exit, and it doesn't guarantee follow-through.
- The caveat: breakouts can fail, and a measured target is a reference point, not a forecast.
Where this page's information comes from
- StockCharts' ChartSchool, its guide to the rectangle, for the conventions on shape, prior trend, duration, volume, confirmation, retests and targets. Those points are attributed in the text.
- Thomas Bulkowski's pages on rectangle tops and bottoms and his glossary on ThePatternSite, for his identification notes and his definitions of pullbacks, throwbacks and busted patterns.
- TradingLoot's own explanations and diagrams. They describe how these patterns are commonly read, not rules that guarantee an outcome.
Bulkowski's pages also publish performance statistics and a target method built on them. This guide leaves both out, because the market, period and method behind the figures aren't set out on those pages. For how he measured patterns, see our summary of his encyclopedia.
How rectangles form
ChartSchool describes the rectangle as a pause in a trend, marked by comparable highs and comparable lows that can be joined by two parallel lines, one along the top and one along the bottom. It notes that rectangles are also called trading ranges, consolidation zones or congestion areas. Bulkowski describes flat tops and flat bottoms, with price crossing from one side of the pattern to the other between two near-horizontal lines.
The highs and lows don't have to match exactly; ChartSchool says they should be reasonably close. In TradingLoot's reading, what matters is that price keeps turning at roughly the same two levels, so that both lines describe the range rather than one or two isolated swings.
A rectangle within an uptrend
When a range forms after an advance, ChartSchool's continuation reading expects the earlier trend to resume with a break above resistance. That expectation comes from the context, not from the shape: the rectangle itself doesn't lean either way, which is why the diagram also shows the opposite exit.
Idealised schematic, not real market data. It has no prices, dates or timeframe.
- Prior advance: The trend the range interrupts. Read as a continuation pattern, a rectangle needs one.
- Resistance: Reaction highs at roughly the same level, joined by a horizontal line.
- Support: Reaction lows at roughly the same level, joined by a second horizontal line.
- Upward breakout: Price closes above resistance. That shows the exit direction; it doesn't guarantee follow-through.
- Possible alternative exit (dashed): Price could instead leave below support.
The solid and dashed exits are alternatives; which one happens is only known once a breakout is confirmed.
A rectangle within a downtrend
The same range after a decline is the mirror case: a continuation reading expects a break below support. The lines, the touches and the uncertainty about direction are the same.
Idealised schematic, not real market data. It has no prices, dates or timeframe.
- Prior decline: The trend the range interrupts. Read as a continuation pattern, a rectangle needs one.
- Support: Reaction lows at roughly the same level, joined by a horizontal line.
- Resistance: Reaction highs at roughly the same level, joined by a second horizontal line.
- Downward breakout: Price closes below support. That shows the exit direction; it doesn't guarantee follow-through.
- Possible alternative exit (dashed): Price could instead leave above resistance.
The solid and dashed exits are alternatives; which one happens is only known once a breakout is confirmed.
Continuation or reversal: the prior trend
ChartSchool says that to qualify as a continuation pattern, a rectangle needs a prior trend, ideally a few months old and not too mature: the more mature the trend, the less likely the range is a pause. It also notes that rectangles, though usually continuation patterns, can mark significant tops and bottoms.
Bulkowski names rectangles by the trend leading into them rather than by the expected exit: a rectangle top follows an advance, and a rectangle bottom follows a decline. Either can break in either direction. The diagram below shows a range after an advance that breaks downward.
Idealised schematic, not real market data. It has no prices, dates or timeframe.
- Prior advance: The same lead-in as the uptrend rectangle.
- Downward breakout: Price closes below support, against the prior trend. The range turned out to mark a top, not a pause.
- Expected continuation (dashed): The upward exit a continuation reading would have expected. It did not happen here.
The mirror case is a rectangle after a decline that breaks upward. Either way, the prior trend sets the context; the breakout shows the direction.
In TradingLoot's view, the prior trend tells you what a break would mean, not which way it will go. That's also why naming a rectangle "bullish" or "bearish" before it breaks can mislead: the label describes the context, and the breakout can contradict it.
Rectangles, channels, triangles, flags and double tops
Several neighbouring shapes are easy to confuse with a rectangle:
- Channel: two parallel lines, as in a rectangle, but sloping up or down. A rectangle's lines are horizontal.
- Triangle: the lines converge instead of staying parallel. ChartSchool notes many similarities with the symmetrical triangle: both are usually read as continuation patterns, and in both the direction is usually unknown until the breakout. Converging lines that both slope the same way are a wedge.
- Flag: a short pause after a sharp pole. ChartSchool says a pattern of less than about three weeks is generally considered a flag rather than a rectangle. As the flags and pennants guide explains, a flag that lasts too long becomes a rectangle in ChartSchool's terms.
- Double top or bottom: after an advance, two highs at a similar level with a low between them can look like the first part of a rectangle. In TradingLoot's view, the two patterns aren't the same. A double top is read as a possible reversal, confirmed by a break of the low between the peaks; a rectangle is a range with repeated touches on both lines, and its direction is open. See the double top guide for how that pattern is confirmed.
Breakout direction
Here the sources agree. ChartSchool describes rectangles as neutral patterns whose next significant move can only be determined after the breakout, and says the pattern is incomplete until then. Bulkowski's pages note that the breakout can go in any direction.
That's why the diagrams show the alternative exit as a separate dashed branch. Once price closes outside the range, you know the direction it took. That doesn't guarantee the move will continue or reach a target. As the hub explains, a pattern's family is a convention, not a promise about direction.
Confirmation and volume
Price can cross the range many times without breaking out; moves between the lines are part of the pattern. ChartSchool says a breakout should be judged on a closing basis, and that some traders add a filter for price, time or volume before treating it as valid. Bulkowski likewise looks for a close outside one of the lines. Sources differ on what counts as convincing, and the hub explains the filter trade-off.
ChartSchool says rectangles have no standard volume pattern. Volume may decline as the range develops, or swing about as price moves between the lines, and it rarely rises as the pattern matures. Where volume has declined, it looks for an expansion on the breakout. Where volume is choppy, it suggests comparing the volume on rallies toward resistance with the volume on declines toward support, as a possible hint about the eventual direction. That comparison is context only: ChartSchool is clear that there is no confirmation until price actually breaks above resistance or below support.
How much weight volume can carry depends on the data. In TradingLoot's view, the volume a platform shows may not represent the whole market, for example where trading is spread across many venues, and some feeds show tick counts rather than traded volume. Treat volume as one input to weigh, not a switch that confirms or cancels a pattern.
Retests, pullbacks and throwbacks
After a breakout, price may come back to the line it just crossed. ChartSchool describes broken resistance sometimes being tested as new support, and broken support as new resistance, while noting that price doesn't always return. Bulkowski names these returns by direction: a throwback after an upward breakout and a pullback after a downward one, each a return to the breakout price within 30 days.
A retest is a possibility, not a step in the pattern. A return that carries back through the range and out the other side isn't a retest any more: it's a failed breakout.
The height convention
ChartSchool estimates the move by measuring the height of the rectangle, from support to resistance, and applying that distance from the breakout: up from resistance after an upward break, down from support after a downward one.
Treat the result as a reference point, not a forecast of distance or timing. It assumes the move after the breakout bears some relation to the width of the range, which nothing guarantees. ChartSchool's own example shows the limit: after a strong breakout, price went well beyond the height-based target, and ChartSchool concluded that an ordinary target was of no use for that move. Bulkowski describes a different target method that depends on his own success-rate figures, which this guide doesn't reproduce. For why TradingLoot doesn't publish hit rates for targets, see probabilities and limits.
Touches and duration
The sources set different minimums. ChartSchool asks for at least two comparable reaction highs and two comparable lows, and prefers them to alternate. Bulkowski asks for at least three touches on one line and two on the other, using distinct peaks and valleys, while advising some flexibility.
On duration, ChartSchool says rectangles can last from a few weeks to many months, treats anything under about three weeks as a flag, and considers about three months ideal. Bulkowski's rectangle pages don't set a duration. These are a source's conventions, stated in weeks and months, and ChartSchool's examples are stock charts. In TradingLoot's view, they don't convert automatically to intraday charts. What carries over is the structure: repeated, clear turns at both lines.
False breakouts and failed patterns
A rectangle can go wrong before or after the breakout. Before it, a poke through one line that quickly reverses can turn out to be part of the range, and the lines may need redrawing. After it, price can leave the range, make little progress, and fall back through it. When it carries on through the opposite line, the breakout has failed. The diagram below shows that for an upward break; a failed downward break is the mirror image.
Idealised schematic, not real market data. It has no prices, dates or timeframe.
- Breakout: Price closes above resistance; the observed exit is upward.
- Little follow-through: Price stalls not far beyond the breakout.
- Back inside and below support: The breakout has failed.
- Possible further decline (dashed): One possible path after the failure, not a prediction.
This shows one way a breakout can fail. It isn't a probability, and it doesn't classify the move under any source's numerical definition.
Bulkowski uses a narrower, technical term for one kind of failure. His busted pattern is one where price moves no more than 10% after the breakout, then reverses and crosses the other side of the pattern, starting a trend in the new direction. Not every failed breakout meets that definition, and the diagram doesn't measure it. For why failures still carry information, see our summary of Bulkowski's research on failure.
Textbook vs live charts
Live rectangles are rarely as clean as the diagrams. Highs and lows stop short of the lines or overshoot them, one line can be clearer than the other, and a range that looks flat on one timeframe can slope on another. The tidier the drawing has to be forced, the less the label is telling you.
In TradingLoot's view, practising on historical data with replay is a good way to check whether you would have drawn both lines in real time, rather than after the breakout.
Common misreadings
These are ways rectangles are often misread, as TradingLoot sees it.
- "A rectangle in an uptrend will break upward."
- The prior trend is context. The pattern is neutral, and the breakout decides the exit.
- "Every touch of a line is a breakout signal."
- Moves between the lines are part of the range. Sources look for a close outside it.
- "Any two equal highs make a rectangle."
- A rectangle needs a lower line too, with repeated touches on both. Two highs alone may be a different pattern, or none.
- "Volume on the swings shows which way it will break."
- ChartSchool treats it as a possible hint at most; only the breakout confirms direction.
- "The height of the range is the target."
- It's a convention for a rough reference point, not a forecast of distance or timing.
Key takeaways
- A rectangle is a range between two horizontal, parallel lines.
- The prior trend decides whether it's read as a pause or a possible top or bottom.
- The pattern is neutral; the breakout decides the exit.
- A confirmed breakout shows direction, not follow-through.
- Touch counts, durations and the height convention are a source's conventions, not certainties.
- A busted pattern is Bulkowski's narrower definition of one kind of failure.
Further reading
- Triangle Patterns: converging boundaries, and why the breakout can go either way.
- Flag and Pennant Patterns: short pauses after a sharp pole, between parallel or converging lines.
- Wedge Patterns: two converging lines that slope the same way.
- Double Top and Double Bottom Patterns: two similar peaks or lows, confirmed by a break of the level between them.
- Head and Shoulders Pattern: a reversal pattern confirmed by a break of its neckline.
- Encyclopedia of Chart Patterns by Thomas Bulkowski: how he measured patterns, including how they fail.
- Technical Analysis of the Financial Markets by John J. Murphy: a broad foundation in which price patterns are one of many tools.
- Chart Patterns: the method that applies to every pattern.
How this page was sourced
Sources were checked in October 2026. Conventions on shape, prior trend, duration, volume, confirmation, retests and targets come from StockCharts' ChartSchool guide to the rectangle. Bulkowski's identification notes come from his pages on rectangle tops and rectangle bottoms, and his definitions from his glossary. His performance statistics and the target method built on them are not reproduced. The diagrams, the misreadings and the practical advice are TradingLoot's own. See our Methodology for how we research and verify.
