Volume Footprint [LUX]

This indicator estimates a volume footprint using tick data. The script automatically separates a candle into equidistant intervals with a width obtained from the average true range or a user-given width.


  • Method: Interval width calculation method. This ultimately determines the number of intervals separating one candle.
  • Width (At the right of Method): Atr period or user given width depending on the selected method. A lower user-given width would divide a candle into a higher number of intervals.
  • As Percent: Returns the accumulated volume within each interval as a percentage of the total candle volume .


  • Display Type: Determines the appearance of the returned volume footprint.
  • Trend Color: Color to use based on whether a candle is bullish or bearish .


    When applied to a chart, the user will be asked to select the settings to use for the volume footprint. Note that changing the settings afterward will reset the volume footprint, removing previously generated footprints.

    A new footprint will appear on the confirmation of a new bar, as such this version might only be useful in lower timeframes.

    A volume footprint allows users to see the number of contracts exchanged within a candle interval. It can as such be seen as some kind of intrabar volume profile .

    This can be useful to see areas of interest within a candle.

    Different Appearance

    By default, the volume footprint makes use of colored boxes with a color based on whether the candle was bullish or bearish .

    Another appearance that gives additional information is the gradient type, which uses intervals color based on the number of contracts exchanged within an interval relative to the total volume of the candle. A higher number of contracts within an interval would return a darker color by default.

    The regular display type makes use of boxes with a single color, with lines on the side indicating whether the candle was bullish or bearish .

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


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.

Want to use this script on a chart?