OPEN-SOURCE SCRIPT
Zaktualizowano Volume Bubbles

Volume Bubbles Indicator
Introduction
The Volume Bubbles indicator is a powerful tool designed to visually highlight significant volume spikes on your TradingView charts. It helps traders identify potential areas of whale accumulation (large buying activity) or dumping (large selling activity) by displaying colored bubbles on candles where volume exceeds a customizable threshold. Green bubbles indicate bullish (buy) volume on up candles, suggesting possible accumulation, while red bubbles signal bearish (sell) volume on down candles, indicating potential dumping. The bubble size scales with the volume magnitude, making it easy to spot major market moves at a glance.
This indicator is particularly useful for crypto, forex, and stock traders looking to gauge market sentiment and large player involvement without cluttering the chart. It's built in Pine Script v5 and overlays directly on your price action.
How It Works
The indicator calculates a moving average of volume (default: 20-period SMA) and detects spikes when current volume exceeds this average by a multiplier (default: 2x).
By focusing on these high-volume events, traders can spot key support/resistance levels where whales might be active.
How to Use for Whale Accumulation and Dumping
Whales (large holders) often move markets with high-volume trades. This indicator helps spot them:
Tips:
Credits and Disclaimer
Inspired by volume analysis techniques. This is free to use; feedback welcome! Not financial advice – trade at your own risk.
Introduction
The Volume Bubbles indicator is a powerful tool designed to visually highlight significant volume spikes on your TradingView charts. It helps traders identify potential areas of whale accumulation (large buying activity) or dumping (large selling activity) by displaying colored bubbles on candles where volume exceeds a customizable threshold. Green bubbles indicate bullish (buy) volume on up candles, suggesting possible accumulation, while red bubbles signal bearish (sell) volume on down candles, indicating potential dumping. The bubble size scales with the volume magnitude, making it easy to spot major market moves at a glance.
This indicator is particularly useful for crypto, forex, and stock traders looking to gauge market sentiment and large player involvement without cluttering the chart. It's built in Pine Script v5 and overlays directly on your price action.
How It Works
The indicator calculates a moving average of volume (default: 20-period SMA) and detects spikes when current volume exceeds this average by a multiplier (default: 2x).
- Buy Bubbles (Green): Appear on bullish candles (close >= open) at the low wick, representing potential whale buying or accumulation zones.
- Sell Bubbles (Red): Appear on bearish candles (close < open) at the high wick, indicating potential whale selling or dumping zones.
- Bubble Size: Dynamically sized based on volume thresholds – huge for >1M, large for 500K-1M, normal for <500K.
- Transparency: Increases with volume ratio for better visibility on extreme spikes.
- Tooltip:
Hover over a bubble to see detailed info like total volume, average volume, and ratio.
By focusing on these high-volume events, traders can spot key support/resistance levels where whales might be active.
How to Use for Whale Accumulation and Dumping
Whales (large holders) often move markets with high-volume trades. This indicator helps spot them:
- Accumulation (Buying): Look for clusters of large green bubbles at price lows or during consolidations. This suggests whales are buying dips, potentially signaling a reversal or uptrend start. Combine with support levels for confirmation.
- Dumping (Selling): Watch for big red bubbles at price highs or after rallies. This indicates whales unloading positions, which could lead to downtrends or corrections. Pair with resistance levels.
Tips:
- Use on higher timeframes (e.g., 1H+) for reliable signals.
- Confirm with other indicators like RSI or MACD to avoid false positives.
- In trending markets, buy bubbles in uptrends confirm strength; sell bubbles in downtrends signal continuation.
Credits and Disclaimer
Inspired by volume analysis techniques. This is free to use; feedback welcome! Not financial advice – trade at your own risk.
Informacje o Wersji
The Volume Bubbles Pro indicator is a powerful visualization tool designed to help traders spot potential "whale activity" on their charts. Whales are large market participants whose trades can significantly impact price. The script identifies these moments by detecting volume spikes that are substantially higher than the recent average volume.Instead of just looking at the volume bars at the bottom of the chart, this indicator overlays dynamic "bubbles" directly onto the price candles, providing an immediate visual cue of unusual activity.
Key Features:
Whale Detection: It flags a candle as "whale activity" if its volume is a specified multiple (e.g., 2x, 3x) of its moving average.
Dynamic Bubbles:
Placement: Bubbles appear below the candle for significant buying pressure (on a green candle) and above the candle for significant selling pressure (on a red candle).
Size & Opacity: The size and darkness of the bubble are proportional to the volume's magnitude. A massive volume spike will create a large, dark bubble, while a smaller spike will generate a tiny, faint one.
Informative Tooltip: Hovering over a bubble provides detailed data, including the exact volume, the average volume, and the volume ratio (how many times larger the current volume was than the average).
Customization: You have full control over the sensitivity of the whale detection, bubble colors, sizes, and positioning to match your chart theme and trading style.
## 🛠️ How to Use the Indicator
Here is a step-by-step guide on how to install, configure, and interpret the Volume Bubbles Pro indicator for your trading.
1. Installation
Open your chart on TradingView.
Click on the "Pine Editor" tab at the bottom of the screen.
Copy the entire script you provided and paste it into the Pine Editor, replacing any existing text.
Click "Add to Chart". The indicator will now be active on your chart.
2. Configuration (Settings)
Click the gear icon ⚙️ next to the indicator's name on your chart to open the settings. The most important settings are in two groups:
🐳 Whale Detection Thresholds:
Volume MA Length: This sets the lookback period for the volume's moving average. A higher value (e.g., 50) creates a more stable baseline, making it better for identifying truly significant spikes. A lower value is more sensitive to recent changes.
Volume Spike Multiplier: This is the core of the detection logic. A multiplier of 2.0 means the current volume must be at least twice the average to trigger a bubble.
For volatile markets like cryptocurrency, consider a higher value like 3.0 or 4.0 to filter out noise.
For more stable assets like stocks or forex, a lower value of 2.0 to 2.5 is often effective.
🎨 Visuals:
Here you can enable/disable buy or sell bubbles, change their colors to match your chart, and adjust the minimum/maximum bubble sizes.
The "Bubble Offset" setting is useful for moving the bubbles further away from the candle wicks to avoid visual clutter, especially on lower timeframes.
3. Interpretation and Application
The bubbles are signals of interest, not direct buy or sell signals. They must be used in conjunction with other analysis techniques for confirmation.
Combine with Support and Resistance:
A large green (buy) bubble appearing at a known support level suggests that large players are defending that price, making it a strong bullish signal.
A large red (sell) bubble appearing at a resistance level indicates that whales are selling or taking profits, which is a strong bearish signal.
Confirmation with Price Action:
Look for a bullish engulfing candle or a hammer that is accompanied by a large green bubble. This confirms strong buying interest.
Conversely, a bearish engulfing candle or a shooting star with a large red bubble confirms strong selling pressure.
Use with Other Indicators:
Confirm signals with momentum indicators like the RSI. For example, a large green bubble appearing when the RSI is moving out of oversold territory is a high-probability buy signal.
4. Setting Up Alerts 🐳
You can create alerts to be notified whenever whale activity is detected.
Click the "Alert" icon (alarm clock) in the right-hand toolbar of TradingView.
In the "Condition" dropdown, select the "Volume Bubbles Pro" indicator.
You will see two alert conditions available:
Whale Buy Alert: Triggers on a significant buy volume spike.
Whale Sell Alert: Triggers on a significant sell volume spike.
Choose your desired condition, set it to trigger "Once Per Bar Close" for best results, and configure your notification preferences (e.g., pop-up, email, or webhook).
Click "Create".
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.
Skrypt open-source
W duchu TradingView twórca tego skryptu udostępnił go jako open-source, aby traderzy mogli analizować i weryfikować jego funkcjonalność. Brawo dla autora! Możesz korzystać z niego za darmo, ale pamiętaj, że ponowna publikacja kodu podlega naszym Zasadom Społeczności.
Wyłączenie odpowiedzialności
Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.