OPEN-SOURCE SCRIPT
Consolidation Zones (Range + ATR + optional ADX)

Consolidation Zones — Market Compression Visualizer
Consolidation Zones is a visual market-structure indicator designed to identify periods of price compression where volatility contracts and directional movement pauses. These zones often precede expansion, breakout, or trend continuation, making them critical areas for trade preparation and risk planning. Instead of relying on a single oscillator, this script evaluates price behavior over time to detect when the market is moving sideways within a defined range. When consolidation is present, the indicator highlights the zone directly on the chart, allowing traders to immediately see where balance is occurring.
What This Indicator Helps You Do:
Identify low-volatility, sideways markets
Spot compression before expansion
Avoid entering trades during chop and noise
Prepare for breakout or breakdown scenarios
Combine structure with your existing trend or momentum tools
How to Use It
Inside the zone: Expect indecision and mean-reversion behavior
Break above the zone: Potential bullish expansion
Break below the zone: Potential bearish expansion
Use zone boundaries as context for entries, stops, and targets
This indicator is intentionally non-predictive — it does not guess direction. Instead, it provides clarity, showing where the market is coiling so you can act when price reveals intent.
Best Paired With
Trend indicators (EMA, VWAP)
Momentum tools (RSI, MACD)
Volume or volatility expansion tools
Notes
Consolidation is timeframe-dependent — zones may differ across intervals
Designed as a context tool, not a standalone signal generator
This indicator is for educational and informational purposes only.
Consolidation Zones is a visual market-structure indicator designed to identify periods of price compression where volatility contracts and directional movement pauses. These zones often precede expansion, breakout, or trend continuation, making them critical areas for trade preparation and risk planning. Instead of relying on a single oscillator, this script evaluates price behavior over time to detect when the market is moving sideways within a defined range. When consolidation is present, the indicator highlights the zone directly on the chart, allowing traders to immediately see where balance is occurring.
What This Indicator Helps You Do:
Identify low-volatility, sideways markets
Spot compression before expansion
Avoid entering trades during chop and noise
Prepare for breakout or breakdown scenarios
Combine structure with your existing trend or momentum tools
How to Use It
Inside the zone: Expect indecision and mean-reversion behavior
Break above the zone: Potential bullish expansion
Break below the zone: Potential bearish expansion
Use zone boundaries as context for entries, stops, and targets
This indicator is intentionally non-predictive — it does not guess direction. Instead, it provides clarity, showing where the market is coiling so you can act when price reveals intent.
Best Paired With
Trend indicators (EMA, VWAP)
Momentum tools (RSI, MACD)
Volume or volatility expansion tools
Notes
Consolidation is timeframe-dependent — zones may differ across intervals
Designed as a context tool, not a standalone signal generator
This indicator is for educational and informational purposes only.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.