What a rectangle pattern is
A rectangle pattern is a price structure where the market moves sideways between a horizontal ceiling and a horizontal floor. The ceiling is resistance, a level where selling has repeatedly stopped rises. The floor is support, a level where buying has repeatedly stopped falls. The space between them is the trading range.
The rectangle shows balance. Buyers and sellers are both active, and neither side has pushed price out of the box. Traders who work inside such a box call it range bound trading. Traders who wait for price to leave the box call it breakout trading.
A rectangle can form after a rise, after a fall, or with no clear trend before it. It is neutral until price closes outside the box. For the wider family of shapes, see Chart Patterns and Technical analysis.
Ready to try it on a real or demo account?
Partner link · trading carries a high risk of loss
How to draw the rectangle
- Find a stretch of chart where swings stop at similar highs and similar lows.
- Draw a horizontal line across the swing highs. This is resistance.
- Draw a horizontal line across the swing lows. This is support.
- Treat each line as a zone, not a precise price. Wicks often poke slightly past the line, so draw the line where most candle bodies or closes turn.
- Mark the midpoint between the lines. Price often hesitates there, and it helps you see which side of the box is in control.
If the lines slope in the same direction, you are looking at a channel, not a rectangle. See Price channels. If they converge, you are looking at a triangle. See Symmetrical triangle.
Identification rules
A rectangle chart pattern is more credible when:
- Both support and resistance have been touched several times, with clear swings between them.
- The highs are roughly level with each other, and so are the lows.
- The range lasts long enough on your timeframe that the touches are not random noise.
- Volume, where your market shows meaningful volume, tends to shrink inside the range and expand on the breakout. In spot forex, tick volume is only a rough guide.
A range with only scattered touches, or with highs and lows that drift, is weaker. Calling it a rectangle does not make it one.
Related structures: a Double Top or Double Bottom is a short range with reversal intent. Repeated tests of the same level can also form a Triple Top and Bottom.
A drawn example
The sketch below is illustrative and does not show live prices.
Price bounces between the lines several times, then closes above resistance. Under the classic convention, this close is the breakout signal that many technical textbooks describe. It is a description of the pattern, not a recommendation.
The measured-move convention
The classic measured move takes the height of the rectangle and projects it from the breakout level in the direction of the breakout:
- Height = resistance minus support.
- Upside projection = resistance plus height.
- Downside projection = support minus height.
This is a charting convention for setting a reference level. It is not a forecast. Price may stop well short of the projection, go far beyond it, or reverse straight back into the box. Many traders use the projection only to compare a possible reward with the distance to their stop, then judge whether the trade is worth taking at all.
Invalidation
A breakout setup loses its basis when:
- Price closes back inside the box soon after the breakout.
- After an upside breakout, price closes below the midpoint. After a downside breakout, it closes above the midpoint.
- The broken level fails a retest. For example, old resistance is supposed to act as new support, and price falls back through it instead.
Decide where the idea is wrong before you enter, not after. See Risk management.
False breakouts and failure modes
False breakouts are common in rectangles. Typical causes:
- Stop runs: price pierces the edge where many stop orders sit, triggers them, then returns into the range.
- News spikes: a data release or central bank decision pushes price briefly outside the box. Fundamental analysis explains why these moves happen.
- Thin liquidity: in quiet sessions, a small order flow can push price past a level without follow-through.
- Wick versus close: a wick outside the box is not the same as a close outside it.
- Wider spreads: near the edges, a wider spread can trigger orders even when the chart price barely touches the level.
Failure modes for range traders differ. A range that has held for a long time can still break hard, and an order placed near the edge can be caught on the wrong side. Range-bound methods depend on the range continuing, and nothing guarantees that.
Risk
Rectangles are drawn after the fact and judged by eye. Different traders draw different boxes on the same chart. Leveraged forex and CFD trading can lose money fast, including more than you planned if price gaps through your stop. Practise drawing ranges on a Demo account before using real funds. Read Regulation and Safety for the legal position in Pakistan.
Frequent questions
Is a rectangle a continuation or a reversal pattern?
Neither by default. It is neutral until price closes outside the box. It can lead to continuation or reversal.
How many touches make a valid rectangle?
There is no fixed rule. Look for several clear touches of both lines, with swings between them, on your chosen timeframe.
Does the measured move tell me where price will go?
No. It is a convention for setting a reference level. Price often falls short of it or goes beyond it.
What is the difference between a rectangle and a channel?
A rectangle has horizontal lines. A channel has parallel lines that slope up or down.
How can I filter false breakouts?
Common approaches are waiting for a close outside the box, watching for a retest, and avoiding entries just before major news. None of these removes the risk.
