3.5.6Chart Patterns

Learn rectangles and ranges

3,610 words16 min readdifficulty · medium

Overview

Rectangles and ranges are horizontal consolidation patterns where price oscillates between two parallel levels of support and resistance, showing a temporary equilibrium between buyers and sellers. They represent accumulation or distribution phases before continuation or reversal.

Figure — Learn rectangles and ranges

Core Intuition


Detailed Mechanics

Pattern Structure

Mathematical definition:

  • Let HH = highest high in range, LL = lowest low
  • Rectangle height: R=HLR = H - L
  • Price oscillates within [L,H][L, H]. The minimum valid structure needs 2 touches at each boundary (i.e. at least one full down-and-up traverse). Additional touches strengthen validity but are not required.

Why Ranges Matter: The Psychology

What's happening beneath the surface:

During a rectangle, three forces battle:

  1. Weak hands exit: Retail traders get frustrated by lack of direction, sell at support
  2. Smart money accumulates: Institutions slowly build positions at support without moving price
  3. Sentiment neutralizes: Fear and greed balance out temporarily

How to read it:

  • Narrowing swings inside the box → energy coiling, breakout imminent
  • Volume declining → participation dropping, breakout will surprise most traders
  • Failed breakout (returns to range) → false signal, opposite direction likely

Pattern Variations


Step-by-Step: Trading the Rectangle

Phase 1: Identification

How to spot it:

  1. Look for at least 4 pivot points (2 highs, 2 lows) at similar levels
  2. Draw horizontal lines connecting swing highs and lows
  3. Verify lines are parallel (use ruler on charts!)
  4. Measure height: R=ResistanceSupportR = \text{Resistance} - \text{Support}

Why this matters: False rectangles (wedges/triangles) have converging lines—these behave differently.

Phase 2: Internal Trading (Optional, Advanced)

Range-bound strategy:

  • Buy at support when price touches L+0.05RL + 0.05R (slightly above for confirmation)
  • Sell at resistance when price touches H0.05RH - 0.05R
  • Stop loss: Just outside the range (L0.03RL - 0.03R for longs, H+0.03RH + 0.03R for shorts)

Why the 0.05R buffer? Prevents getting faked out by wicks that briefly pierce the boundary.

Phase 3: Breakout Trading (Primary Strategy)

The setup:

  1. Wait for price to close outside the range (not just a wick)
  2. Measure target: Breakout level ± RR (the rectangle height)
  3. Enter on the first pullback to the broken boundary (old resistance → new support, or vice versa)

Why wait for pullback? Reduces risk and improves R:R from 1:1 to 1:3+.


Worked Examples


Common Mistakes & Fixes


Volume Analysis Deep Dive

Why volume matters in rectangles:

How to use this:

  1. Calculate 20-day average volume: MA20=120i=120Vi\text{MA}_{20} = \frac{1}{20}\sum_{i=1}^{20} V_i
  2. On breakout day, check if Vtoday>1.5×MA20V_{\text{today}} > 1.5 \times \text{MA}_{20}
  3. If yes → higher-conviction trade
  4. If no → wait for confirmation or skip

Strategy Decision Tree

Price in Rectangle? 
├─ YES → Are you near support/resistance?
│   ├─ Near Support (within 0.1R)
│   │   └─ Wait for bounce confirmation → Enter long
│   ├─ Near Resistance (within 0.1R)
│   │   └─ Wait for rejection → Enter short OR wait for breakout
│   └─ Middle of Range
│       └─ Stay out (worst R:R zone)
│
└─ NO → Did price break out?
    ├─ YES → Check volume
    │   ├─ Volume > 1.5× average
    │   │   └─ Wait for pullback to broken level → Enter in breakout direction
    │   └─ Volume < 1.5× average
    │       └─ Likely weaker signal → Fade cautiously or wait
    │
    └─ NO → Not in pattern, no trade

Integration with Other Concepts

Connections:

  • Support and Resistance Levels: Rectangles are extended S/R zones
  • Volume Analysis: Volume confirms breakout validity
  • Measured Moves: Target calculation uses measured move principle
  • Trend Continuation Patterns: Rectangles are pause patterns in trends
  • Breakout Trading Strategies: Primary way to profit from rectangles
  • Risk Management Position Sizing: Use R as the basis for stop placement
  • Candlestick Patterns: Confirm bounces at boundaries with engulfings/hammers
  • Market Psychology and Sentiment: Rectangles show equilibrium between fear/greed

Active Recall Tests

Recall Feynman Explanation (Explain to a 12-year-old)

Imagine you're bouncing a tennis ball in a hallway. The ball keeps hitting the floor and the ceiling, bouncing up and down in the same space. That's like a rectangle pattern in the stock market!

The floor is called "support"—that's where buyers think "hey, this is a good price!" and start buying, pushing the price up. The ceiling is called "resistance"—that's where sellers think "this is too expensive!" and start selling, pushing the price down.

The ball (stock price) keeps bouncing between these two levels for a while, maybe weeks or months. Everyone watching gets bored because nothing exciting is happening!

But here's the cool part: the ball is storing up energy with every bounce. Eventually, someone comes along with a REALLY big hit—maybe lots of people decide to buy at once. The ball smashes through the ceiling and flies way higher! Or maybe lots of people sell, and it crashes through the floor.

The secret: When the ball finally breaks free, it usually travels roughly as far as the hallway was tall. So if the hallway was 10 feet tall (the distance between floor and ceiling), the ball tends to fly about another 10 feet beyond the ceiling!

Smart traders wait for the ball to break through, then bet it'll keep going roughly that far. That's how they make money from rectangle patterns!


Memory Aid


Flash Cards

#flashcards/stock-market

What are the minimum requirements for a valid rectangle pattern?
(1) At least 2 touches on upper resistance, (2) At least 2 touches on lower support, (3) Horizontal parallel boundaries, (4) Minimum 3 weeks duration, (5) Typically declining volume
Is a rectangle required to complete 3 full low→high→low cycles?
No. The minimum is 2 touches at EACH boundary (one full traverse), which is less than a complete cycle. More touches add validity but are not required
How do you calculate the price target after a rectangle breakout?
Target = Breakout level ± R, where R = (Resistance - Support). Upside: Target = H + (H-L). Downside: Target = L - (H-L). Use 1.0R as a conservative planning target
What volume behavior serves as a breakout filter?
A rule-of-thumb heuristic: breakout volume > 1.5× the 20-day average volume signals stronger participation. It is a filter to improve odds, not a guarantee
Why do you enter on the pullback rather than on the initial breakout?
Pullback entry reduces risk, improves R:R (often toward 1:3+), and confirms that the broken level now acts as support/resistance (role reversal)
In the range-trading EV model, what units is EV = 0.48R expressed in?
Price units (a fraction of range height R). To compare with commissions you must convert to the SAME units — commissions are a % of capital / currency per share, not a fraction of R
What does a failed breakout typically signal?
A failed breakout (price returns inside the range) often precedes a strong move in the OPPOSITE direction because stops trigger, trapped traders exit, and smart money faded the false move
What's the difference between continuation and reversal rectangles?
Continuation: price breaks out in the SAME direction as the prior trend. Reversal: breaks OPPOSITE (accumulation/distribution). Trade the ACTUAL breakout direction, not a predicted one
Where should you place stops when trading a rectangle breakout?
Just beyond the broken boundary after the pullback. Upside breakout: below the pullback low (old resistance). Downside: above the pullback high (old support)
Why does volume typically decline during rectangle formation?
It shows impatient traders exiting, smart money accumulating sl

Concept Map

bounded by

bounded by

caused by

at bottom

at top

creates

creates

requires

shows

hides

resolves via

projects target of

profits from

Rectangle / Range Pattern

Support - lower boundary

Resistance - upper boundary

Tug-of-war equilibrium

Buyers step in at support

Sellers dominate at resistance

Declining volume

Smart money accumulation

2 touches per boundary

Rectangle height R = H - L

Breakout

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho beta, rectangle pattern ko samajhne ka sabse simple tarika hai ek tug-of-war ki tarah sochna. Yahan buyers aur sellers ke beech ek fight chal rahi hoti hai jahan koi bhi decisively jeet nahi pata. Jab price niche wale level (support) par aati hai to buyers aa jaate hain aur price ko upar push kar dete hain, aur jab price upar wale level (resistance) tak pahunchti hai to sellers dominate karke price ko niche gira dete hain. Isse ek horizontal channel ban jaata hai jismein price bar-bar oscillate karti rehti hai—bilkul jaise ek basketball floor aur ceiling ke beech bounce hota rehta hai jab tak koi strong force use tod na de.

Ab yeh important kyun hai? Kyunki ranges directional traders ko bahut frustrate karti hain—log top par buy karke aur bottom par sell karke "chop up" ho jaate hain, matlab bar-bar chhote losses lete rehte hain kyunki koi clear trend hi nahi hota. Lekin asli khel breakout mein hai. Jab price finally box se bahar niklti hai, to often ek explosive move aata hai jo rectangle ki height (H minus L) se related hota hai. Smart money yani institutions is range ke dauraan chupke se positions accumulate karte hain, aur phir breakout se profit banate hain. Ek key baat yaad rakho—ek valid rectangle ke liye sirf 2 touches per boundary chahiye, ismein confuse mat hona "complete cycles" ke saath; 2 touch ka rule kaafi hai.

Practically iska matlab yeh hai ki jab tum range dekho to teen cheezein observe karo: agar swings narrow ho rahe hain to samajh lo energy coil ho rahi hai aur breakout aane wala hai; agar volume declining hai to participation kam ho rahi hai aur breakout most traders ko surprise karega; aur agar breakout fail hokar wapas range mein aa jaaye to woh false signal tha aur opposite direction likely hai. Sabse important lesson—kabhi bhi yeh mat maano ki continuation guaranteed hai. Rectangles dono directions mein resolve hote hain, isliye hamesha actual breakout direction ko trade karo, koi prediction ke bharose mat baitho.

Test yourself — Chart Patterns

Connections