PROTECTED SOURCE SCRIPT
Inside Bar Explosion

Category: Price Action, Volatility Compression, Breakout Detection
๐ Overview
This indicator detects multi-bar inside candle compressions (โinside bar coilsโ) and marks powerful breakout moments that follow.
It highlights when volatility contracts inside a large โmother candleโ and then suddenly explodes with a bullish or bearish breakout backed by volume confirmation.
โ๏ธ How It Works
Mother Candle:
Detected when a large candle (range > defined %) appears with above-average volume.
Compression Phase:
Consecutive candles stay completely within the range of that mother candle.
The longer the compression, the tighter the coiling pattern.
Explosion Candle:
A candle breaks above or below the compression range,
Has a large range and a volume spike, confirming breakout direction.
๐ก Visual Cues
๐จ Yellow Highlight: Mother Candle
๐ต Blue Zone: Compression (Inside Bar Cluster)
๐ข Green Background: Bullish Explosion
๐ด Red Background: Bearish Explosion
๐ Label: Bull breakout with days in compression
๐ฅ Label: Bear breakdown with days in compression
โก START: Marks final compression candle before breakout
๐ Table (Top Right): Live compression stats (days, range %, volume ratio)
๐ง Parameters
Setting Description
Minimum Inside Bars Minimum candles inside the mother candle to qualify as compression.
Maximum Inside Bars Limit to prevent invalid long compressions.
Mother Candle Min Size (%) Defines how large a candle must be to be considered a mother candle.
Explosion Candle Min Size (%) Minimum % range for valid breakout candles.
Volume Spike Multiplier Required volume increase vs. average for breakout validation.
Show Labels / Box Toggle visual elements on/off for clarity.
๐จ Alerts
โก Compression Start: New coiling phase detected.
๐ Bull Explosion: Bullish breakout with volume confirmation.
๐ฅ Bear Explosion: Bearish breakdown with volume confirmation.
๐ Use Cases
Identify volatility squeezes before major breakouts.
Detect range-bound periods leading to trend initiation.
Combine with moving averages or RSI for higher confidence setups.
โ ๏ธ Notes
Works best on daily or 4-hour charts.
Works for stocks, crypto, forex, or indices.
Does not repaint โ signals are confirmed on bar close.
๐ Overview
This indicator detects multi-bar inside candle compressions (โinside bar coilsโ) and marks powerful breakout moments that follow.
It highlights when volatility contracts inside a large โmother candleโ and then suddenly explodes with a bullish or bearish breakout backed by volume confirmation.
โ๏ธ How It Works
Mother Candle:
Detected when a large candle (range > defined %) appears with above-average volume.
Compression Phase:
Consecutive candles stay completely within the range of that mother candle.
The longer the compression, the tighter the coiling pattern.
Explosion Candle:
A candle breaks above or below the compression range,
Has a large range and a volume spike, confirming breakout direction.
๐ก Visual Cues
๐จ Yellow Highlight: Mother Candle
๐ต Blue Zone: Compression (Inside Bar Cluster)
๐ข Green Background: Bullish Explosion
๐ด Red Background: Bearish Explosion
๐ Label: Bull breakout with days in compression
๐ฅ Label: Bear breakdown with days in compression
โก START: Marks final compression candle before breakout
๐ Table (Top Right): Live compression stats (days, range %, volume ratio)
๐ง Parameters
Setting Description
Minimum Inside Bars Minimum candles inside the mother candle to qualify as compression.
Maximum Inside Bars Limit to prevent invalid long compressions.
Mother Candle Min Size (%) Defines how large a candle must be to be considered a mother candle.
Explosion Candle Min Size (%) Minimum % range for valid breakout candles.
Volume Spike Multiplier Required volume increase vs. average for breakout validation.
Show Labels / Box Toggle visual elements on/off for clarity.
๐จ Alerts
โก Compression Start: New coiling phase detected.
๐ Bull Explosion: Bullish breakout with volume confirmation.
๐ฅ Bear Explosion: Bearish breakdown with volume confirmation.
๐ Use Cases
Identify volatility squeezes before major breakouts.
Detect range-bound periods leading to trend initiation.
Combine with moving averages or RSI for higher confidence setups.
โ ๏ธ Notes
Works best on daily or 4-hour charts.
Works for stocks, crypto, forex, or indices.
Does not repaint โ signals are confirmed on bar close.
Script protetto
Questo script รจ pubblicato come codice protetto. Tuttavia, รจ possibile utilizzarlo liberamente e senza alcuna limitazione โ per saperne di piรน clicca qui.
Declinazione di responsabilitร
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script protetto
Questo script รจ pubblicato come codice protetto. Tuttavia, รจ possibile utilizzarlo liberamente e senza alcuna limitazione โ per saperne di piรน clicca qui.
Declinazione di responsabilitร
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.