Library · Chart Patterns
Rectangle
A rectangle is a sideways pause in which price moves between two roughly horizontal boundaries. It describes balance between buyers and sellers and can resolve in either direction.
Why it matters
Markets spend a great deal of time going sideways. The rectangle is the pattern name for a sideways stretch with clear edges: a ceiling that has turned price down more than once and a floor that has turned it up more than once.
It is one of the most honest patterns on this shelf, because its conventional reading is openly two-sided. A rectangle says that buyers and sellers are evenly matched inside a band. It makes no claim about who wins.
What it looks like
The conventional recognition rules are:
- price moving sideways between two roughly horizontal boundaries;
- at least two clear turns at the upper boundary and two at the lower, so each line rests on more than one swing point;
- swings that cross most of the band, not small wiggles near one edge;
- completion is commonly defined as a close outside the band.
The upper boundary is an area of resistance and the lower one an area of support. A rectangle is, in effect, a range viewed as a pattern.
How it forms
In plain words
Picture a tennis rally. The ball goes back and forth between two players of similar skill. Watching the rally tells you the players are evenly matched. It does not tell you who wins the point.
Near the top of the band, sellers find the price attractive and buyers lose interest, so price turns down. Near the bottom, the reverse happens. Classic texts describe this as a contest between two groups of roughly equal strength, which ends when one group runs out of orders or conviction.
How to read it
- Convention, upward exit128Upper boundary plus the height. A textbook convention, not a target.
- Upper boundary120Selling has appeared here repeatedly.
- Midpoint116
- Lower boundary112Buying has appeared here repeatedly.
- Convention, downward exit104Lower boundary minus the height. Also only a convention.
| Element | Conventional reading | What is subjective |
|---|---|---|
| Boundaries | Areas where supply and demand have repeatedly appeared | Lines or zones; wicks or closes |
| Number of touches | More touches make the edges more visible | What counts as a touch |
| Exit | A close outside the band | How far outside, and for how long |
Volume. Some texts suggest watching whether volume is heavier on the swings up or on the swings down inside the band, as a hint about which side is more active. They also describe volume rising on a genuine exit. These are hints in the literature, and they do not always hold.
Invalidation. A rectangle has no built-in direction, so invalidation applies to the reading made after an exit. If price closes above the band and then closes back inside it, the upward reading has failed. The same holds in reverse. The neutral description, “price is in a range”, is invalidated only when price leaves and stays out.
Going deeper
Common false signals. The rectangle is the natural home of the fakeout. A well-watched boundary collects resting orders just beyond it, and a brief push through the edge that reverses back inside is one of the most common events on any chart. Some fakeouts are followed by a move to the opposite side of the band.
Two exits.
UPWARD EXIT
A close above the upper boundary.
- After an advance: read as continuation
- After a decline: read as reversal
DOWNWARD EXIT
A close below the lower boundary.
- After a decline: read as continuation
- After an advance: read as reversal
Texts describe the rectangle mostly as a continuation pattern, meaning a pause in the prior trend, while accepting that it can also mark a reversal. A rectangle that exits downward after three failed pushes at the top is exactly what other pages call a triple top.
The measured move. Textbooks describe projecting the height of the band from the boundary that broke. This describes proportion. It is not a target or an expectation.
Pattern recognition is probabilistic and often ambiguous. With a rectangle the ambiguity is explicit: the pattern is complete as a description while its outcome is entirely open.
A hypothetical rectangle, measuredHypothetical illustration
After rising from 98, price turns down near 120 three times and up near 112 three times.
- Height of the band: 120 minus 112 = 8.
- Midpoint: 112 plus 4 = 116.
- Convention for an upward exit: 120 plus 8 = 128.
- Convention for a downward exit: 112 minus 8 = 104.
A candle then closes at 121.5. By the usual definition the rectangle has resolved upward. If a later candle closes back at 118, inside the band, that reading has failed and the chart shows a range again. The figures of 128 and 104 are outputs of a convention, not forecasts.
What it does NOT mean
- A rectangle does not lean either way. The shape is symmetric. Any directional reading comes from context, and context can be wrong.
- More touches do not mean a stronger wall. A boundary that has been tested often may also be closer to giving way.
- A close outside the band is not the end of the story. Returns into the band are common.
- Sideways does not mean safe. Ranges can end with sudden, large moves.
Common mistakes
- Drawing the box after one touch on each side. Two points make a line only when both edges have been tested more than once.
- Treating edges as exact prices. Turns happen in an area, and wicks overshoot.
- Assuming the prior trend decides the exit. Continuation is the textbook label, not a rule.
- Reacting to wicks. A wick through a boundary and a close beyond it are different events.
Risks and limitations
- Where the boundaries sit is a judgement, and small changes alter when an exit “counts”.
- False exits are frequent, and they are identified only afterwards.
- The pattern gives no information about how long the sideways period lasts.
Key takeaway
A rectangle is a range with visible edges: buyers and sellers balanced between two horizontal boundaries. It describes the balance precisely and says nothing reliable about which side breaks it.
Sources and further reading
- Technical Analysis of Stock Trends, Robert D. Edwards and John Magee. Describes the rectangle as a contest between two groups of roughly equal strength
- Technical Analysis of the Financial Markets, John J. Murphy (1999)
- Encyclopedia of Chart Patterns, Thomas N. Bulkowski