Editors' picks
OPEN-SOURCE SCRIPT
Updated

HTF Floating Candles w/ Volume Footprint [theUltimator5]

7 887
This indicator is designed to pull higher-timeframe candles outside of the chart, and add the footprint volume data to give a complete snapshot of the Higher Timeframe (HTF) trading range and volume data without cluttering your view.

IMPORTANT!
This uses the new request.footprint() call, which may make this indicator only available to premium TradingView users.
The request.footprint() doesn't assume all buy volume or all sell volume based on the direction of a candle, but instead uses actual footprint information to construct the volume footprints.

Instead of forcing you to mentally reconstruct the most recent daily (or weekly/monthly) candle(s) while watching lower-timeframe price action, this script draws floating HTF candles to the right side of the chart and updates it live as the higher-timeframe bar develops. The default number of HTF candles is 1, but you can add up to 10 HTF candles.

It also builds a row-by-row volume distribution across the active HTF candle price range and separates it into buy-side vs sell-side volume, displayed on opposite sides of the candle. This gives you a quick visual read on where volume has been concentrated inside the higher-timeframe structure — not just where price traveled.

If you don't like seeing buy and sell volume on separate sides of the candles, you can stack them all on the left side like traditional volume footprint indicators.
snapshot

You can also plot the horizontal lines backwards on the chart to show where the high and low points for the candle occurred.
snapshot

If you want more than 1 HTF candle, you can plot multiple. The volume footprint shows the volume profile of the entire plotted HTF candle range.
snapshot

You can configure the following display options:
  • Position and size of HTF candles
  • Number of HTF candles
  • HTF timeframe
  • Volume profile layout style
  • Number of volume profile bars
  • Width of volume profile bars
  • Colors & transparency
  • Horizontal high/low toggle


This indicator isn't a standalone trading indicator, but it is a visualization enhancement tool to give you a clean picture of the higher timeframe's price and volume data without the clutter.
Release Notes
Minor update - typo in header line
max_bars_back was 500. Is now 5000.
This impacts shorter timeframes looking at higher HTF candles.
Release Notes
Several updates:

1) Added POC line that can be enabled (off by default)

2) Added optional transparency to highlight high volume areas

3) Updated number of horizontal volume profile bars based on the lower timeframe. If the number of lower timeframe bars is less than the input number of rows, then the number of rows equals the number of lower timeframe bars. For example, if you are looking at the daily HTF candle and on the hourly chart, there will never be 30 unique bars in the hourly, so the maximum number of rows will match the number of hours that have elapsed so far in the day.
Release Notes
Added optional VAH and VAL lines per request. This functionality is disabled by default to not change the default view for existing users.

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.