OPEN-SOURCE SCRIPT
Consolidation Breakout with Volume Confirmation [Daily]

What this does
This indicator detects consolidation zones on price charts and flags breakouts confirmed by volume — in both directions (bullish breakouts and bearish breakdowns).
Methodology
Timeframe
Designed and tested on the Daily timeframe. All settings (lookback, cooldown, volume baseline) are counted in bars, so they do not scale automatically across timeframes — a 5-bar cooldown means 5 trading days on Daily, but a very different real-world duration on 4H, Weekly, or other timeframes. If you use this on a different timeframe, re-tune the inputs rather than relying on the defaults.
Alerts
Built-in alert conditions for both bullish breakouts and bearish breakdowns — set once per chart to get notified without watching live.
Disclaimer
This is a screening/context tool, not a standalone buy/sell signal. All thresholds are adjustable in settings — test and tune them for the instruments you trade. Always confirm with your own analysis and risk management. Not financial advice.
This indicator detects consolidation zones on price charts and flags breakouts confirmed by volume — in both directions (bullish breakouts and bearish breakdowns).
Methodology
- Scans a flexible lookback window (10–30 bars, adjustable) for the tightest qualifying price range, so it captures both short flags and multi-week bases without needing separate settings for each.
- A zone is drawn once a window's high-low range falls under a configurable tightness threshold (default 8%).
- Zones where average volume during consolidation is below its own 50-bar baseline are marked in green ("volume dry-up") as a soft indicator of higher conviction — this is informational, not a hard filter.
- A breakout fires on a close beyond the zone boundary, confirmed by volume at least 1.5x (configurable) the zone's average — symmetric logic for both long breakouts and short breakdowns.
- A cooldown period after each breakout reduces false re-triggering during choppy conditions.
- Each breakout label also tags candle quality (strong/weak close within the bar's range) and whether the move gapped through the zone or ground through it intraday — additional price-action context alongside the volume read.
Timeframe
Designed and tested on the Daily timeframe. All settings (lookback, cooldown, volume baseline) are counted in bars, so they do not scale automatically across timeframes — a 5-bar cooldown means 5 trading days on Daily, but a very different real-world duration on 4H, Weekly, or other timeframes. If you use this on a different timeframe, re-tune the inputs rather than relying on the defaults.
Alerts
Built-in alert conditions for both bullish breakouts and bearish breakdowns — set once per chart to get notified without watching live.
Disclaimer
This is a screening/context tool, not a standalone buy/sell signal. All thresholds are adjustable in settings — test and tune them for the instruments you trade. Always confirm with your own analysis and risk management. Not financial advice.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
WaveXplorer | Elliott Wave insights
📊 X profile: @veerappa89
📊 X profile: @veerappa89
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
WaveXplorer | Elliott Wave insights
📊 X profile: @veerappa89
📊 X profile: @veerappa89
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.