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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน