Consolidation Zones

Consolidation Zones detect sideways price action by finding clusters of pivot highs and lows compressed within a narrow price range, then signal when price breaks out of the zone.

What it measures

The indicator scans a lookback window for pivot highs and pivot lows and flags a consolidation zone when both the highs and the lows sit within a maximum spread. The zone's top and bottom become breakout triggers, and its width is a direct proxy for the coming expansion size.

Parameters

NameDefaultRangeNote
pivot_lookback52–20How strict the pivots are. Higher values require cleaner swings.
max_range_pct20.5–10Maximum spread between highest pivot high and lowest pivot low as a percentage of price. Tighter values catch cleaner boxes.
min_pivots43–10Number of pivots required inside the zone before it is considered valid consolidation.

How it behaves

Consolidations mark accumulation or distribution phases: order flow is balanced, and the market is deciding. Breakouts from tight zones after long compression tend to be sharp and follow through; breakouts from wide, sloppy zones are much weaker and often fade back inside.

When it misleads

Not every sideways patch is a real base — trending markets frequently print short consolidations that look like breakouts about to happen but are simply pauses. Zones detected on very small pivot samples (min_pivots too low) fire on noise. And the biggest failure mode is late entry: by the time a zone is drawn, price is already at the edge, and stop-hunts through the boundary are common. Wait for a close and a retest.

Backtest result

Sourced backtest in preparation — we're running the rule on our own historical candles before publishing numbers we can stand behind.

FAQ

How is a consolidation zone different from a range?
A range is any horizontal price movement. A consolidation zone is specifically a tight range, typically at the end of a prior move, that suggests a directional decision is pending.
What is a good breakout confirmation?
A close beyond the zone with above-average volume, followed by acceptance (no immediate return inside the zone on the next few candles).
Do zones "measure" the target?
A common heuristic is to project the zone's height as the initial target from the breakout point — the tighter the zone was, the more reliable this projection tends to be.

Build a strategy with Consolidation Zones

Drop the block into the Nodlow builder and backtest on real historical data.

Try it in the builder