Angled Volume Profile
Jan 18, 2019

The Angled Volume Profile indicator maps volume data as a heat-mapped brightness gradient over a customizable moving average to visualize liquidity concentrations relative to price trends. This tool allows traders to identify high-volume areas that "fade" over time, highlighting where significant market activity has occurred in relation to dynamic mean reversion levels.
Usage
The Usage section describes how the script can be used to visualize historical volume distribution along a moving baseline. By default, the script draws 30 bands of volume data; for a more comprehensive visualization covering a larger price range, users can load multiple instances of the indicator.
When using multiple instances, users should modify the Instance offset (vertical) attribute for each. For example, if using five instances, set the offsets to -2, -1, 0, 1, and 2 to stack the profiles vertically without overlap. The brightness of the bands indicates volume intensity, ranging from dark blue (low volume) to bright yellow (high volume). This heat map allows for the identification of "high-volume nodes" that act as support or resistance levels as they follow the slope of the selected moving average.
Details
The script functions by calculating a baseline moving average (SMA, EMA, or VWMA) and then projecting price bands above or below this line. It utilizes request.security to pull volume data at a specific resolution (defined by the user) to calculate how much trading activity occurred within each price band.
A unique "fade" mechanism is implemented, where the historical volume impact diminishes over a user-defined window. This ensures that the heat map reflects more recent and relevant liquidity rather than becoming static. The indicator also supports logarithmic scaling for row heights, which is recommended when analyzing volatile assets or long-term timeframes to maintain consistent visual proportions.
Settings
- MA Length (in Days/Minutes): The lookback period used to calculate the baseline moving average.
- Use Days (or Minutes): Determines the unit of measurement for the MA length.
- MA Mode: Selects the calculation type for the baseline (SMA, EMA, VWMA, or a FLAT horizontal line).
- FLAT Mode Offset: Sets the static price level used when "FLAT" mode is selected.
- rowHeight: Defines the vertical thickness of each of the 30 bands.
- useLog: When enabled, measures row height in percentage terms rather than absolute ticks.
- Fade volume over .. days: Controls the duration it takes for older volume data to lose its brightness on the map.
- Min Volume (dark blue): The lower volume threshold for the color gradient.
- Max Volume (bright yellow): The upper volume threshold for maximum brightness.
- Volume Data Resolution (in minutes): The timeframe used to collect volume data; lower values provide higher precision but require more processing.
- Instance offset (vertical): Used to shift the entire profile block up or down when using multiple indicator instances.
FAQ
How do I make the volume profile cover more price area? Because the script is limited to 30 bands per instance, you should add the indicator to your chart multiple times and change the "Instance offset" setting for each one (e.g., set the first to 0, the second to 1, etc.).
Why does the indicator take a moment to load?
The script performs intensive calculations using request.security across multiple price bands and volume resolutions, which requires significant processing time from the charting platform.
How do I access the Angled Volume Profile? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.