Rectangle Chart Pattern: Trading the Box

Trader at a widescreen monitor studying a sideways price box between two flat levels

A rectangle chart pattern is a pause in which price moves sideways between a flat ceiling and a flat floor, then breaks out of one side. It usually forms during a trend and, more often than not, breaks in that trend’s direction, though it can reverse. Trading it means waiting for the exit from the box, not buying and selling inside it.

Quick answer: what is a rectangle chart pattern?

A rectangle is a consolidation between horizontal support and resistance, each touched at least twice. It forms when buyers and sellers are evenly matched for a while. Traders wait for a candle to close outside the box, then project the box’s height from the breakout point as a first target, with a stop back inside.

How to draw a rectangle

A rectangle needs a clear floor and ceiling. We use three simple rules before we call a sideways patch a pattern.

  1. Two touches on each side. At least two swing highs near the same price and two swing lows near the same price.
  2. Roughly flat boundaries. If the highs fall and the lows rise, you are looking at a triangle, not a rectangle.
  3. A prior move. A clear trend or swing into the box gives the pattern its context.

Draw the edges as zones a few points deep, not single lines. Wicks poke through flat levels all the time, and a box drawn to the exact tick will look broken long before it is.

Analyst drawing a rectangle on an office whiteboard around a sideways price sketch

Bullish and bearish rectangles

A bullish rectangle forms during an uptrend and is expected to break upwards; a bearish one forms during a downtrend. The labels describe the context, not a promise. We wait for price to choose a side rather than guessing which way it will go.

Rectangle vs simply trading a range

Both start with the same sideways market, which is why they get confused. The difference is what you trade and when. Our range trading strategy for sideways markets buys near the floor and sells near the ceiling while the box holds. The rectangle chart pattern does the opposite: it ignores the swings inside and waits for the box to fail.

Range trading vs trading the rectangle chart pattern
FactorRange tradingRectangle breakout
What you tradeBounces inside the boxThe exit from the box
Bet you are makingThe edges holdOne edge gives way
Prior trendNot essentialCentral to the read
TargetThe opposite edgeBox height projected out
Main riskThe box breaks against youA false break back inside

You can do both, but not on the same idea at the same time. If you are long from the floor and price breaks the floor, the range trade is wrong and should be closed, not turned into a hope that the box will hold.

Rectangles vs triangles and flags

Our guide to ascending, descending and symmetrical triangle chart patterns covers boxes whose edges converge, which tells you one side is giving ground. In a rectangle neither side is. A bull flag or pennant is shorter and slopes against the trend, so it usually resolves faster.

Trader at a desk with several monitors, holding a tablet

Why rectangle breakouts can move fast

A flat box is obvious to everyone, so stop orders build up just beyond each edge: shorts protect themselves above the ceiling, longs below the floor. When price breaks out, those orders are triggered in a burst. A New York Fed study by Carol Osler on stop-loss orders and price cascades in currency markets found that exchange-rate trends were unusually rapid when rates reached levels where stop-loss orders tend to cluster.

Hand placing a stop order on a smartphone trading app just beyond a price ceiling

The same burst explains many false breaks. A spike that clears the stops and then runs out of new orders can fall straight back inside, as we cover in stop hunting in trading and how to avoid it.

How to trade the rectangle chart pattern

This is the sequence we use for a breakout trade.

  1. Mark the box early. Draw both edges once the second touch on each side is in.
  2. Wait for a close outside. A wick through the edge is not a breakout. Our guide on how to avoid false breakouts lists further filters.
  3. Prefer the retest. A pullback to the broken edge that holds lets you enter with a tighter stop, as in our breakout and retest strategy.
  4. Place the stop back inside the box. Below the retest low for a long; the far side of the box is often too far away.
  5. Project the height. Add the box’s height to the breakout edge as a first target, then check for levels in the way.
Man drinking coffee in an office near a monitor

Worked example: a bullish rectangle on EUR/USD

This example is hypothetical. On a £5,000 account we risk 1% per trade, or £50. After a rise, EUR/USD spends two weeks in a box between 1.0800 and 1.0880, touching each edge twice.

A 4-hour candle closes at 1.0895, above the ceiling. We do not chase it. Price dips back to 1.0885, holds above the old ceiling and prints a bullish candle, so we buy there with a stop at 1.0855, below the retest low and back inside the box: 30 pips.

£50 divided by 30 pips gives about £1.67 per pip on a spread bet, worked out as in our guide on how to calculate position size for spread bets and CFDs. The box is 80 pips tall, so the measured target is 1.0960, 75 pips from entry and two and a half times the risk.

Handwritten notes on paper beside a keyboard

Spread bets and CFDs are leveraged, so losses can build quickly. Our stop becomes a market order once triggered, and a fast move or gap can fill it worse than 1.0855, making the loss larger than £50.

Common mistakes with rectangles

  • Calling any pause a rectangle. Without two clean touches on each side, it is just noise.
  • Entering on a wick. Wait for the close; many intraday pokes fall back inside.
  • Stops just outside the box. That is exactly where everyone else’s stops sit.
  • Treating the measured move as certain. It is a first target, not a forecast. Check the chart for levels in the way.
  • Mixing range and breakout trades. Decide which idea you are trading before you enter.

Frequently asked questions

Is a rectangle a continuation or a reversal pattern?

It is usually described as a continuation pattern, because it often breaks in the direction of the prior trend. It can break the other way, so we wait for the close outside the box rather than assume.

What is the target for a rectangle pattern?

The usual first target is the box’s height projected from the breakout edge. Treat it as a guide and look for support or resistance before it.

How reliable is the rectangle chart pattern?

We have not seen a published success rate for it that we could check, so we quote none. Test it on your own markets with our method for backtesting a trading strategy.

Next steps

Chart patterns sit inside the wider method in our complete beginner’s guide to price action trading. Strong candle runs often start or end at a box; see our guide to the three white soldiers pattern and three black crows.

Supply and demand, filters and triggers, and when not to trade are all covered in our price action trading course, and the basics section is free to start.

This article is for education only and is not financial advice. Trading leveraged products such as CFDs and spread bets carries a high risk of losing money.