OPEN-SOURCE SCRIPT
Updated 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.
Release Notes
bugfix (heatmap was ploting the color of the wrong bar)Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.