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 de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.