OPEN-SOURCE SCRIPT
Volume Bubble (Big Trades)

Gemini said
Delta Volume Bubbles: How It Works
The Delta Volume Bubbles indicator is a sophisticated order flow tool designed to visualize "aggressive" market activity directly on your price chart. Instead of looking at a separate sub-window for volume, this script places circular "bubbles" on the candles where significant buying or selling pressure occurs.
1. The Core Logic: Delta Calculation
At its heart, the indicator uses Volume Delta, which is the difference between buying volume (at the ask) and selling volume (at the bid).
Positive Delta: More aggressive buying; the bubble is typically green.
Negative Delta: More aggressive selling; the bubble is typically red.
To provide precision, the script uses Lower Timeframe (LTF) data. For example, if you are on a 1-hour chart, it scans 1-minute data to see how volume was distributed within that hour.
2. Bubble Placement & Size
The indicator doesn't just put a dot at the close. It offers two placement modes:
Candle VWAP: Places the bubble at the Volume Weighted Average Price of that specific candle, showing you exactly where the "heavy" trading occurred.
Middle: Places the bubble at the candle’s midpoint (HL/2).
The size of the bubble is dynamic, scaling based on the Z-Score (a statistical measure of how "extreme" the volume is compared to the recent average). A "Huge" bubble represents a significant statistical outlier in volume.
3. Filtering and Intensity
The script filters out "noise" so your chart isn't cluttered.
Percentile Filter: Only shows bubbles if the volume is in the top X% (e.g., top 60%) of recent history.
Intensity Mode: When enabled, the colors shift from "Buy/Sell" to a heat map (Gray → Blue → Orange → Red) based on the pure strength of the volume, regardless of direction.
4. Visual Clarity
The recent update introduces a Transparency Slider. This allows you to make the bubbles "ghost-like," ensuring they don't hide the wick or body of the candlestick. This is crucial for price action traders who need to see if a big volume bubble resulted in a reversal pin bar or a breakout.
Delta Volume Bubbles: How It Works
The Delta Volume Bubbles indicator is a sophisticated order flow tool designed to visualize "aggressive" market activity directly on your price chart. Instead of looking at a separate sub-window for volume, this script places circular "bubbles" on the candles where significant buying or selling pressure occurs.
1. The Core Logic: Delta Calculation
At its heart, the indicator uses Volume Delta, which is the difference between buying volume (at the ask) and selling volume (at the bid).
Positive Delta: More aggressive buying; the bubble is typically green.
Negative Delta: More aggressive selling; the bubble is typically red.
To provide precision, the script uses Lower Timeframe (LTF) data. For example, if you are on a 1-hour chart, it scans 1-minute data to see how volume was distributed within that hour.
2. Bubble Placement & Size
The indicator doesn't just put a dot at the close. It offers two placement modes:
Candle VWAP: Places the bubble at the Volume Weighted Average Price of that specific candle, showing you exactly where the "heavy" trading occurred.
Middle: Places the bubble at the candle’s midpoint (HL/2).
The size of the bubble is dynamic, scaling based on the Z-Score (a statistical measure of how "extreme" the volume is compared to the recent average). A "Huge" bubble represents a significant statistical outlier in volume.
3. Filtering and Intensity
The script filters out "noise" so your chart isn't cluttered.
Percentile Filter: Only shows bubbles if the volume is in the top X% (e.g., top 60%) of recent history.
Intensity Mode: When enabled, the colors shift from "Buy/Sell" to a heat map (Gray → Blue → Orange → Red) based on the pure strength of the volume, regardless of direction.
4. Visual Clarity
The recent update introduces a Transparency Slider. This allows you to make the bubbles "ghost-like," ensuring they don't hide the wick or body of the candlestick. This is crucial for price action traders who need to see if a big volume bubble resulted in a reversal pin bar or a breakout.
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.