OPEN-SOURCE SCRIPT
Ultra Volume

Visualizes volume intensity using dynamic color gradients and percentile thresholds. Includes optional SMA, bar coloring, and adaptive liquidity boxes to highlight high- and low-volume zones in real time.
Introduction
The Ultra Volume indicator enhances volume analysis by categorizing volume bars into percentile-based intensity levels. It uses color-coded gradients to quickly identify periods of unusually high or low activity. The script also includes an optional simple moving average (SMA), bar coloring, and visual box overlays to highlight zones of significant liquidity shifts.
Detailed Description
.........
.........
Summary
Ultra Volume is a practical tool for traders who want more than just raw volume bars. With intelligent percentile-based classification, real-time adaptive liquidity zones, and fully customizable visual elements, it turns volume into a highly readable, actionable signal.
Introduction
The Ultra Volume indicator enhances volume analysis by categorizing volume bars into percentile-based intensity levels. It uses color-coded gradients to quickly identify periods of unusually high or low activity. The script also includes an optional simple moving average (SMA), bar coloring, and visual box overlays to highlight zones of significant liquidity shifts.
Detailed Description
.........
- Volume Classification
Volume is segmented into five tiers: Extra High, High, Medium, Normal, and Low, using percentile ranks calculated over a dynamically adjusted historical window. This segmentation adapts based on the chart's timeframe – using 100 bars for daily and 1440/minutes for intraday – allowing for consistent behavior across resolutions.
..... - Color Gradients
Each volume bar is colored based on its percentile category, smoothly transitioning between thresholds for visual clarity. This makes it easy to spot volume spikes or droughts relative to recent history.
..... - Simple Moving Average (SMA)
An optional SMA can be plotted on top of the volume bars for trend comparison and baseline reference. Its length and color are fully customizable.
..... - Bar Coloring
You can optionally color the chart's candlesticks to reflect the same volume intensity as the histogram bars, reinforcing visual cues across the chart.
..... - Liquidity Boxes
Two adaptive box systems highlight zones of increased or decreased liquidity:
High Liquidity Boxes expand upward when price exceeds the previous box’s top.
Low Liquidity Boxes expand downward when price breaks the previous box’s bottom.These boxes persist and auto-adjust over time unless reset, helping traders spot key zones of volume-driven price action.
..... - Box Indexing
A configurable index shift determines how far back in the chart the boxes originate. Setting this to 501 makes them "stick" to the candle where they were first created.
..... - Data Handling
A safety check ensures the script throws an error if volume data is unavailable (e.g., for some crypto or CFD symbols).
.........
Summary
Ultra Volume is a practical tool for traders who want more than just raw volume bars. With intelligent percentile-based classification, real-time adaptive liquidity zones, and fully customizable visual elements, it turns volume into a highly readable, actionable signal.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.