คัดสรรโดยบรรณาธิการOPEN-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.
Release Note
Minor update - typo in header linemax_bars_back was 500. Is now 5000.
This impacts shorter timeframes looking at higher HTF candles.
Release Note
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 Note
Added optional VAH and VAL lines per request. This functionality is disabled by default to not change the default view for existing users.Release Note
I made two major changes with this update.1) I added a net volume tracker right above the HTF footprint. This tracks the net buy and sell volume over the HTF footprint range and creates a red or green box with a relative size based on how much net buying or selling has happened over that range. For example, if there is a lot of buying and little selling, there will be a green box that spans to the left a decent amount. If it is about equal, you won't see much of a box at all. This can be turned off, but is enabled by default.
2) I updated the normalization function for the buy and sell candles. It used to normalize both buy and sell independently from each other, resulting in an equal magnitude appearance on both sides. I found this to be misleading. If there was a lot more buy or sell pressure on one side, it wouldn't be reflected in the other. Now both sides normalize together so you can better see the differences between buying and selling. This compliments the new net volume bar at the top.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน