# Expansion → Retracement → Consolidation Cycle

A Market Structure concept (Structure events) in the LuxAlgo Library, with 1 indicator implementation.

## What is the Expansion → Retracement → Consolidation Cycle?

The expansion → retracement → consolidation cycle is the rhythm many structure traders assume price repeats: a directional [impulse leg](https://www.luxalgo.com/library/concept/impulse-leg/) expands the range, a [corrective leg](https://www.luxalgo.com/library/concept/corrective-leg/) gives part of it back, and price then settles into a contracting balance that becomes the base of the next expansion. Each phase has a job: expansion is one-sided initiative, retracement tests who is committed, and consolidation is two-sided trade establishing acceptance and the reference levels for the next leg.

The framing has a long pedigree. [Dow theory](https://www.luxalgo.com/library/concept/dow-theory/) described markets advancing through directional moves and reactions more than a century ago, and Richard Wyckoff built a method around the alternation between ranges and the directional campaigns that leave them. Contemporary value-line frameworks, including the ideas behind LuxAlgo's Master Pattern indicator, redraw that lineage as a repeating loop: contraction around a fair-value area, expansion away from it, and a fresh contraction where the move finds acceptance.

The cycle is the structure trader's phrasing of a well-documented volatility property: quiet, contracting periods tend to follow one another and to precede directional ones, and range expansion and contraction alternate rather than persist indefinitely. Its honest limits matter. Phases are easy to label in hindsight and only provisionally in real time, and the cycle says nothing about the direction of the next expansion. It is a framing device that sets expectations for tactics, not a signal by itself.

In structure terms, each phase has a signature. Expansion prints impulsive swings that force a [break of structure](https://www.luxalgo.com/library/concept/break-of-structure/). The retracement is slower and overlapping, ideally holding above the prior [swing low](https://www.luxalgo.com/library/concept/swing-high-low/) in an advance. Consolidation shows swing highs and lows converging into a narrowing range where neither side follows through, and its edges are where the next chapter tends to start, sometimes after a [false breakout](https://www.luxalgo.com/library/concept/false-breakout/) or a [deviation above or below the range](https://www.luxalgo.com/library/concept/deviation-above-below-range/) that traps early positioning before the genuine expansion departs.

## How to Identify the Cycle Phases on a Chart

Labels are provisional in real time, so the goal is a consistent procedure applied the same way every session.

1. Map the swings: mark pivots with a rule you never change mid-analysis, such as fixed fractal or zigzag settings, so legs are comparable.
2. Label expansion: consecutive directional swings with little overlap that break prior structure and travel farther and faster than recent legs.
3. Label retracement: an overlapping, corrective pullback that surrenders only part of the expansion and decelerates as it goes.
4. Label consolidation: pivots converging around a middle price with failed pokes at both edges; mark the boundaries, since they become the next move's reference levels.
5. Watch the resolution: distinguish a deviation that snaps back inside the range from a breakout that holds and builds acceptance outside.
6. Cross-check the timeframe above: your consolidation is often just the retracement of a higher-timeframe expansion, and [multi-timeframe alignment](https://www.luxalgo.com/library/concept/multi-timeframe-structure-alignment/) settles which label governs.

## How it's calculated

A repeating market-structure sequence in which price breaks out of a range, extends impulsively, gives back part of the leg, then compresses into a new range.

```
1. Mark a consolidation: a span of bars whose highs and lows all hold inside a range high RH and range low RL, with no follow-through beyond either boundary.
2. Expansion begins when price closes beyond RH (or RL) and follows through with successive new extremes in the breakout direction and wider bar ranges.
3. Record the leg: origin O = the last swing extreme inside the range before the break; extreme E = the swing point where follow-through stops.
4. Retracement: price reverses against the leg; measure its depth as ret = abs(E - P) / abs(E - O).
5. The phase counts as a retracement while ret < 1; common reference depths are 0.382, 0.5, and 0.618 of the leg.
6. Consolidation resumes when price stops making new extremes in either direction and bar ranges contract; set the new RH and RL from that span's highs and lows.
7. Repeat from step 2; if the pullback trades fully back through O (ret >= 1), label it a reversal and restart the cycle in the opposite direction.

  RH: range high of the consolidation (highest high of the sideways span)
  RL: range low of the consolidation (lowest low of the sideways span)
  O: origin of the expansion leg (last swing extreme before the breakout)
  E: terminal extreme of the expansion leg
  P: furthest price reached by the retracement
  ret: fraction of the expansion leg retraced (0 to 1)
```

This is a price-action framework, so phase boundaries are judgmental rather than formula-defined.

Common objective proxies: rising true range or ATR marks expansion, while contracting and overlapping bars mark consolidation.

The Fibonacci depths are conventions, not requirements of the cycle.

## How traders use it

- As a tactics selector: momentum and breakout methods fit the expansion phase, fading the edges fits consolidation, and patience fits the retracement, where chasing is most expensive.
- As an entry map: continuation traders let the retracement come back into the origin of the prior expansion or the old consolidation before committing, rather than buying the middle of a stretched leg.
- As an anticipation cue: a maturing, narrowing consolidation flags conditions for the next expansion, with direction taken from higher-timeframe structure or from how the balance actually resolves.
- As a risk template: stops belong beyond phase boundaries, under the retracement's swing point or outside the consolidation's edge, so a position is only stopped when the phase reading itself is wrong.
- As a trap playbook: edge deviations and [swing failure patterns](https://www.luxalgo.com/library/concept/swing-failure-pattern/) at consolidation extremes offer early entries against trapped breakout traders, for those who prefer trading the failure to the follow-through.

## The Cycle vs Neighboring Frameworks

- **Trading Range** (https://www.luxalgo.com/library/concept/trading-range/): A trading range is the consolidation phase studied in isolation: boundaries, midpoint, failed breaks. The cycle places that range in sequence, as the destination of the last move and the base of the next.
- **Accumulation vs Distribution Ranges** (https://www.luxalgo.com/library/concept/accumulation-vs-distribution-ranges/): The Wyckoff-style question is who is absorbing inside the balance, adding an interpretive layer of intent to what the cycle treats as simple contraction between expansions.
- **Swing Structure Grammar** (https://www.luxalgo.com/library/concept/swing-structure-grammar/): Structure grammar supplies the vocabulary of swings, breaks, and shifts used to define each phase; the cycle is a sentence built from that vocabulary.

## FAQ

### Is the expansion, retracement, consolidation cycle the same as Wyckoff's market phases?

They are close relatives. Wyckoff's accumulation, markup, distribution, markdown sequence describes the same alternation between balance and directional campaigns, and several modern frameworks repackage it as a contraction, expansion, trend sequence built around a central value line. The shared observation is that directional legs and balance alternate; the frameworks differ mainly in labels and in where they start the count.

### Can the cycle predict the direction of the next expansion?

No. Contraction identifies conditions, not direction. A consolidation can resolve either way, and early breaks of balance can fail before the real move. Traders typically take direction from the higher-timeframe trend or wait for the consolidation to resolve and hold, accepting a later entry in exchange for fewer traps.

### How do you know when a consolidation is about to end?

You estimate maturity, not timing. Clues include contraction reaching an extreme relative to recent history, repeated failures at one edge, and shakeouts that recover instantly. None fixes a date, which is why many traders wait for the break and judge whether it holds, treating anything earlier as anticipation at reduced size.

### Does the cycle work on all timeframes?

The alternation appears from weekly charts down to intraday, which is why frameworks built on it describe the market as fractal. What changes is noise: on lower timeframes phases are shorter, deviations more frequent, and scheduled news can compress a whole loop into an hour. The procedure stays the same; the reliability of any single label drops.

### What tells you a phase label was wrong?

Structure breaking against it. If a supposed retracement extends until it consumes the whole expansion, or a breakout instantly reverses through the opposite edge of the range, the market disagrees with the reading. A [change of character](https://www.luxalgo.com/library/concept/change-of-character/), where corrective swings turn impulsive the other way, is the standard early warning.

### Is the expansion, retracement, consolidation cycle the same as Elliott wave?

They rhyme without matching. Elliott also alternates directional and corrective phases, but adds strict counting rules, wave degrees, and ratio guidelines. This framing is deliberately looser: it claims only that initiative, testing, and balance rotate, leaving direction and targets to other tools.

## Implementations in the Library

- Master Pattern (LuxAlgo): https://www.luxalgo.com/library/indicator/master-pattern/

## Related concepts

- Break of Structure: https://www.luxalgo.com/library/concept/break-of-structure/
- Change of Character: https://www.luxalgo.com/library/concept/change-of-character/
- Swing Failure Pattern: https://www.luxalgo.com/library/concept/swing-failure-pattern/
- Internal vs External Structure: https://www.luxalgo.com/library/concept/internal-vs-external-structure/
- Strong vs Weak Swings: https://www.luxalgo.com/library/concept/strong-vs-weak-swings/
- Structure Invalidation: https://www.luxalgo.com/library/concept/structure-invalidation/
- Impulse Leg: https://www.luxalgo.com/library/concept/impulse-leg/
- Corrective Leg: https://www.luxalgo.com/library/concept/corrective-leg/
- Measured Move: https://www.luxalgo.com/library/concept/measured-move/
- Compression Into Level: https://www.luxalgo.com/library/concept/compression-into-level/

---

Source: https://www.luxalgo.com/library/concept/expansion-retracement-consolidation-cycle/ (LuxAlgo Library, the encyclopedia of trading & technical analysis). Free to use with attribution: https://www.luxalgo.com/library/license/