Sugestão da CasaOPEN-SOURCE SCRIPT
HTF Floating Candles w/ Volume Footprint [theUltimator5]

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.

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

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.

You can configure the following display options:
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.
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.
You can also plot the horizontal lines backwards on the chart to show where the high and low points for the candle occurred.
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.
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.
Notas de Lançamento
Minor update - typo in header linemax_bars_back was 500. Is now 5000.
This impacts shorter timeframes looking at higher HTF candles.
Notas de Lançamento
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.
Notas de Lançamento
Added optional VAH and VAL lines per request. This functionality is disabled by default to not change the default view for existing users.Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.