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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.