One account, every market we offer
Explore all marketsA rectangle pattern is a trading range bounded by 2 horizontal lines: resistance across a series of roughly equal highs and support across a series of roughly equal lows. Price moves back and forth between the lines until a candle closes outside one of them. Where that close happens decides whether the rectangle was a pause in the trend or the end of it.
The rectangle offers 2 separate ways to trade it. You can trade the swings inside the box, or you can wait and trade the exit. This article covers how to identify a rectangle, the difference between bullish and bearish rectangles, what Thomas Bulkowski's statistics show for each breakout direction, how to choose between the 2 approaches, and worked examples on Ethereum and crude oil.
Quick answer: A rectangle pattern forms when price touches a flat resistance line at least twice and a flat support line at least twice. A bullish rectangle breaks out through the top, usually continuing an uptrend. A bearish rectangle breaks down through the bottom, usually continuing a downtrend. The breakout is a close outside the range, the stop goes back inside it, and the measured target is the height of the rectangle projected from the broken line.
Highlights of this article
- A rectangle is 2 flat lines with at least 2 touches each. StockCharts asks for 4 points, Bulkowski for 5
- The direction of the exit names it: up is a bullish rectangle, down is a bearish rectangle
- In Bulkowski's data, upward breakouts reached the measured target 78% to 79% of the time, downward ones 54% to 55%
- A swing that turns before reaching the far line often points to the breakout side
- About two thirds of breakouts return to the broken line, so a missed breakout is rarely a missed trade
The 4 parts of a rectangle
1. A trend into it. StockCharts' ChartSchool classes the rectangle as a continuation pattern and says a prior trend should exist, ideally a few months old on a daily chart. A box with no trend before it is just a quiet market.
2. A flat top. At least 2 reaction highs at about the same price. This is resistance, and the line across it does not slope.
3. A flat bottom. At least 2 reaction lows at about the same price. StockCharts asks for a minimum of 2 equivalent highs and 2 equivalent lows, 4 points in total. Bulkowski is stricter. He wants at least 3 touches on one line and 2 on the other, using distinct peaks and valleys, for a minimum of 5.
4. A close outside. The pattern is complete only when a candle closes beyond one line. StockCharts states that the breakout should be on a closing basis, and notes that some traders add a filter: 3% beyond the line, 3 days outside it, or a clear expansion in volume.
On duration, StockCharts gives 2 markers. A range shorter than 3 weeks is generally a flag. Ideally a rectangle develops over about 3 months. StockCharts says rectangles do not show a standard volume pattern, although Bulkowski measured a downward volume trend in 70% of the rectangles that formed after a rise.
Bullish rectangle vs bearish rectangle
The trend into the box and the direction of the exit classify any rectangle.
| Trend into the box | Exit | Name | Role |
|---|---|---|---|
| Up | Through the top | Bullish rectangle | Continuation |
| Down | Through the bottom | Bearish rectangle | Continuation |
| Up | Through the bottom | Rectangle top | Reversal |
| Down | Through the top | Rectangle bottom | Reversal |
A bullish rectangle is a rally, a sideways box, and a close above resistance.
A bearish rectangle is a decline, a sideways box, and a close below support.
The reversal cases matter because the picture is identical until the exit. StockCharts states that the direction of the breakout is usually not determinable beforehand. An uptrend that stalls at 3 equal highs and then breaks support is, by another name, a triple top. The triple top pattern guide covers that outcome.
Bulkowski's data gives the base rates. For rectangles that price entered from below, 63% broke upward. For rectangles that price entered from above, 59% still broke upward.
Rectangle vs flag, pennant and triple top
| Pattern | Boundaries | Needs a sharp move first? | Typical length on a daily chart | Usual role |
|---|---|---|---|---|
| Rectangle | Flat and parallel | No, only a trend | Weeks to months | Continuation, sometimes reversal |
| Flag | Parallel, tilted against the trend | Yes | Under 3 weeks | Continuation |
| Pennant | Converging | Yes | 3 weeks or less | Continuation |
| Triple top or bottom | One flat level tested 3 times | No | 3 to 6 months | Reversal |
Rectangle vs flag. Both have parallel lines. A flag is short, follows a near-vertical move and slopes against it. A rectangle is flat and lasts longer. The bull flag pattern guide covers the tilted version.
Rectangle vs pennant. In a pennant the highs fall and the lows rise, so the lines meet. In a rectangle the highs and lows repeat. The pennant pattern guide has the rules for the converging case.
For the full family of continuation and reversal formations, see the chart patterns guide.

What Bulkowski's statistics show
Bulkowski splits rectangles by how price entered. A rectangle top has a rising trend into it. A rectangle bottom has a falling trend into it. Each is then measured by breakout direction, in US stocks during bull markets. The rectangle top figures are based on more than 1,000 trades and the rectangle bottom figures on more than 900.
| Measure | Top, up breakout | Top, down breakout | Bottom, up breakout | Bottom, down breakout |
|---|---|---|---|---|
| Performance rank | 4 of 39 | 32 of 36 | 8 of 39 | 14 of 36 |
| Break-even failure rate | 15% | 34% | 15% | 24% |
| Average rise or decline | 51% | 13% | 48% | 16% |
| Throwback or pullback rate | 66% | 64% | 64% | 66% |
| Reached the measured target | 78% | 54% | 79% | 55% |
The first column is the bullish rectangle and the last is the bearish rectangle. 4 points stand out.
- Upward exits tested far better. The failure rate was 15% for upward breakouts in both groups, against 24% to 34% for downward ones. The sample is from bull markets, which explains part of the gap.
- The measured target is realistic on the upside. 78% to 79% reached the full height projection after an upward breakout. For downward breakouts it was 54% to 55%.
- Retests are the norm. Price came back to the broken line in 64% to 66% of cases. Bulkowski adds that throwbacks and pullbacks hurt performance after the breakout.
- Short swings give a hint. Bulkowski calls a move that starts at one line and turns before reaching the other a partial rise or partial decline. In rectangle tops, a partial decline correctly predicted an upward breakout 79% of the time, and a partial rise predicted a downward breakout 75% of the time. In rectangle bottoms the figures were 77% and 75%.
These are daily stock statistics. Test your own market and timeframe before leaning on them.
2 ways to trade a rectangle
Trading inside the range
The range approach buys near support and sells near resistance while the box holds. It is a mean reversion method: you are trading on the idea that price returns to the middle of the range.
Rules that keep it sound:
- Wait for the box to exist. There is no range to trade until both lines have 2 touches.
- Trade only tall boxes. The distance between the lines must be several times your stop.
- Enter on rejection, not on touch. Wait for a candle that tests the line and closes back inside. An oscillator such as the RSI indicator can help confirm that the swing is stretched.
- Stop outside the box. Just beyond the line you are trading against.
- Target short of the far line.
- Favour the trend side. After an uptrend, buying support is with the larger trend.
The range approach wins small and often, then takes a full loss on the swing that finally breaks out.
Trading the breakout
The breakout approach ignores the swings and waits for the exit.
- Entry. A close outside the line, or a limit order at the broken line for the retest. The breakout trading guide covers both entries in detail.
- Stop. Back inside the rectangle. Below the breakout candle's low for a long, or below the retest low.
- Target. StockCharts gives the classic method: measure the rectangle's height and apply it to the breakout. Bulkowski's adjusted method multiplies the height by the share that reached the target, 78% for an upward breakout from a rectangle top, and projects that from the broken line.
Which approach to use
| Situation | Better fit |
|---|---|
| Tall box, only 2 touches per line so far | Range trading |
| Narrow box, or box getting tighter | Breakout |
| Many touches, swings getting shorter | Breakout |
| A partial rise or partial decline just printed | Breakout, in the direction it points |
Worked example: a bullish rectangle on Ethereum
Prices are illustrative. On the 4-hour chart, Ethereum rallies from 2,950 to 3,420 in 2 weeks and then stalls. Over the next 25 days it prints highs at 3,420, 3,415 and 3,422 and lows at 3,280 and 3,286. That is 5 touches. The box runs from 3,280 to 3,420, a height of 140.
The last swing down turns at 3,345, well above support. That is a partial decline. Price then closes at 3,436, above the top line, with the breakout candle's low at 3,384.
| Item | Value | How it is derived |
|---|---|---|
| Entry | 3,436 | Close above the 3,420 line |
| Stop | 3,378 | Below the breakout candle's low at 3,384 |
| Risk per ETH | $58 | 3,436 minus 3,378 |
| Target 1 | 3,529 | 78% of 140 is 109, added to 3,420 |
| Target 2 | 3,560 | The full 140 added to 3,420 |
| Reward to risk | About 1.6R and 2.1R | 93 and 124 divided by 58 |
| Size at $500 risk | 8.62 ETH, about $29,600 notional | 500 divided by 58 |
The retest alternative: a buy limit at 3,424 with the same stop risks $46 per ETH and reaches target 2 at about 3R.
Worked example: range trade, then a bearish rectangle on crude oil
Prices are illustrative. WTI crude falls from 78.00 to 68.00 and then moves sideways for 6 weeks between 68.00 and 72.00. Both lines have 2 touches. The box is 4.00 high.
The range trade. Price rallies to 71.80 and a daily candle closes back at 71.50 with a long upper wick. Selling resistance here is with the prior downtrend.
- Short entry: 71.60
- Stop: 72.60, outside the box
- Target: 68.60, short of support
- Risk 1.00, reward 3.00, or 3R
The breakdown. After reaching 68.60, crude bounces only to 70.40, a partial rise, and then closes at 67.55, below support. The breakdown candle's high is 68.55.
- Short entry: 67.55
- Stop: 68.70, back inside the box, for a risk of 1.15
- Target 1: 65.80. Bulkowski's figure for a downward breakout from a rectangle bottom is 55%, and 55% of 4.00 is 2.20 below 68.00
- Target 2: 64.00, the full height below support
- Reward to risk: about 1.5R and 3.1R
- Size at $400 risk: about 348 barrels
The range trade was closed at 68.60 before the breakdown trade was opened.

False breakouts
The false breakout is the rectangle's main cost. Price closes outside the line, draws in breakout traders, and returns to the box.
Stop orders from range traders and entry orders from breakout traders both sit just outside the lines. The liquidity sweep guide explains how to tell a stop run from a real break.
How to reduce the damage:
- Require a close, not a wick. Most stop runs end as wicks.
- Use one of the StockCharts filters on daily charts: 3% beyond the line, 3 days outside, or a clear rise in volume.
- Prefer the retest entry. It gives a closer stop.
- Exit on a close back inside. A candle that closes back within the box has cancelled the breakout. Do not wait for the full stop.
Using this in a prop firm challenge
Velotrade runs simulated, educational evaluations across crypto, forex, stocks, index ETFs and commodities on DXtrade. The risk with rectangles is a string of small losses from false breakouts.
On a $100,000 CLASSIC 1-Step account, the daily loss limit is 4%, or $4,000, and the maximum drawdown is 7%. The drawdown is static, so the floor stays at $93,000. See static maximum drawdown explained for the detail.
The Ethereum example risked $500, or 0.5% of the account. 8 full losses in one day would reach the daily limit and 14 would reach the floor. A choppy range can produce 3 false breakouts in a row, so cap the attempts per box at 2. Funded traders keep an 80% profit split.
This article is educational and is not investment advice. The rectangle gives you 2 lines. The plan is deciding, before price reaches either one, what you will do there.
Sources
- Thomas N. Bulkowski, Encyclopedia of Chart Patterns (Wiley), with statistics published on ThePatternSite: rectangle tops and rectangle bottoms: touch requirements, volume trend, breakout direction, performance ranks, failure rates, average moves, throwback and pullback rates, share meeting the price target, the measure rule and partial rises and declines.
- StockCharts ChartSchool, "Rectangle": the continuation classification, the 4-point minimum, volume, duration, closing-basis breakouts with filters, the height target and the return to the breakout level.
- StockCharts ChartSchool, "Triple Top Reversal": 3 equal highs can also form in a rectangle, so the formation is neutral until it breaks.
- Robert D. Edwards and John Magee, Technical Analysis of Stock Trends (CRC Press): the classic description of rectangles as consolidation and reversal formations.
Frequently Asked Questions
About the author

Gianluca Pizzituti
Chief Executive Officer
Formerly on the derivatives desk at Dresdner Kleinwort in London, then founded and ran a proprietary HFT firm in FX and equity indices out of Singapore.
Velotrade was founded in Hong Kong in 2016 by a team from JP Morgan, Dresdner Kleinwort and Bank of America, has facilitated over $2.5 billion in trade-finance payments, and has been featured in Bloomberg, the Financial Times, the Wall Street Journal and on Nasdaq. Its prop trading evaluations are simulated and educational.
View author page




