Rectangle (Trading Range) Pattern: Range and Breakout Trading
A rectangle is a sideways range between horizontal support and resistance. Learn two ways to trade it - inside the range and on the breakout - with stops, targets and filters.
A rectangle, or trading range, forms when price moves sideways between a horizontal resistance and a horizontal support. Neither side is strong enough to take control. Rectangles appear in every market and timeframe - and they give two different trading opportunities: inside the range and on the breakout.
How to recognise it
| Element | Description |
|---|---|
| Resistance | At least two highs at roughly the same level |
| Support | At least two lows at roughly the same level |
| Width | Clearly larger than normal bar-to-bar noise |
| Duration | Several swings back and forth |
Approach 1: trading inside the range
- Buy near support, sell near resistance, with a stop just beyond the boundary.
- Works while the range holds; loses when it finally breaks.
- Best in quiet, mean-reverting conditions, and with ranges wide enough to pay for spread and commission.
Approach 2: trading the breakout
- Entry: on a close outside the range, or on a retest of the broken boundary.
- Stop-loss: back inside the range - for example in the middle of the rectangle, or beyond the retest swing.
- Target: the height of the range projected from the breakout.
Worked example
During the Asian session, EUR/JPY trades between 162.20 and 162.70 (50 pips). At the London open, price closes above 162.70 at 162.78.
- Entry: 162.78.
- Stop in the middle of the range: 162.45 → risk 33 pips.
- Target: 162.70 + 0.50 = 163.20 → reward 42 pips (1.3 : 1).
This is the logic behind session-box breakout systems: build a box over a quiet session, trade the break in an active one. Our Lisa EURUSD Breakout and Petra Oil Breakout robots automate exactly this idea with filters for spread and box size, and the Samurai Breakout indicators draw the boxes on the chart.
Filters against false breakouts
- Minimum and maximum range size relative to ATR.
- Close beyond the boundary by a small buffer (an “entry offset”).
- Spread filter - breakouts at illiquid times are often fake.
- One trade per side per session, to avoid repeated losses in choppy markets.
Common mistakes
- Mixing the two approaches without rules: buying support and then refusing to exit when it breaks.
- Trading tiny ranges where spread eats most of the move.
- Ignoring time: a range that started at a news release behaves differently from one formed in a quiet session.
See Breakout trading strategy and Range trading for the full strategy context.
FAQ
How do I know whether to trade the range or the breakout?
Decide in advance with rules you have tested. Many traders range-trade in quiet sessions and trade breakouts at the start of active sessions or around scheduled news.
What if price breaks out and returns into the range?
That is a failed breakout. Exit according to your stop; some traders then trade the move back towards the opposite side of the range.
Sources and further reading
- StockCharts ChartSchool: Introduction to Chart Patterns - chartschool.stockcharts.com