OPEN-SOURCE SCRIPT

HTF Volume Profile Map - POC, VAH, VAL and Delta

297
HTF Volume Profile Map - POC, VAH, VAL and Delta

HTF Volume Profile Map estimates where trading volume was concentrated inside higher-timeframe candles and displays those value areas directly on an intraday chart.
The indicator builds a separate volume-at-price profile for each completed higher-timeframe candle. For example, traders can view four-hour volume distributions while working from a 5-minute, 15-minute, or 1-hour chart.
It highlights the prices that attracted the greatest estimated participation rather than relying only on the higher-timeframe candle’s open, high, low, and close.

Main features
  • Higher-timeframe volume-at-price profiles
  • Point of Control, or POC
  • Value Area High and Value Area Low
  • Configurable value-area percentage
  • Developing POC, VAH, and VAL
  • Projection of the latest completed value area
  • Estimated directional volume delta
  • Buy/sell-colored profile rows
  • Automatic ATR-based row sizing
  • Manual tick-based row sizing
  • Configurable profile width and history
  • Dashboard showing location, flow, levels, and calculation quality
  • Alerts for value-area entry and POC crosses


How it works
The script retrieves lower-timeframe OHLCV data using request.security_lower_tf() and groups those intrabars inside the selected higher-timeframe period.
Each intrabar’s volume is distributed across the price rows touched by its high-to-low range. Upward intrabars contribute to estimated buying volume, while downward intrabars contribute to estimated selling volume. Doji intrabars are classified using their movement relative to the preceding intrabar.
The row with the greatest accumulated volume becomes the POC.
The value area begins at the POC and expands toward adjacent rows with greater volume until it contains the selected percentage of total profile volume. The conventional default is 70%.

Reading the profile
POC
The price row containing the highest estimated volume. It can represent an important acceptance level or price magnet.
VAH
The upper boundary of the value area. Trading above VAH can indicate an auction attempting to establish higher value.
VAL
The lower boundary of the value area. Trading below VAL can indicate an auction attempting to establish lower value.

Estimated Delta
The difference between estimated buying and selling volume:
Positive delta indicates greater upward intrabar volume.
Negative delta indicates greater downward intrabar volume.
A relatively small delta is classified as balanced value.
Dashboard states
Above Value
Price is above the latest completed HTF value area.
Below Value

Price is below the latest completed HTF value area.
Value / Upper
Price is inside value and above the POC.
Value / Lower

Price is inside value and below the POC.
Buy Dominant / Sell Dominant
Estimated delta exceeds the directional threshold.
Balanced Value
Neither side has established significant directional dominance.

Practical applications

Traders can use the indicator to study:
  • Acceptance or rejection around prior HTF value
  • POC retests
  • Failed auctions above VAH or below VAL
  • Rotation from one value boundary toward the other
  • Confluence with market structure, liquidity, supply/demand, or session levels
  • Differences between price direction and estimated volume delta

The indicator identifies context and reference levels. It does not generate automatic buy or sell signals.

Suggested configuration
For a 15-minute chart:
  • Higher Timeframe: 240 minutes
  • Intrabar Sampling: 1 minute
  • Row Size: Auto
  • Value Area: 70%

For a 5-minute chart:
  • Higher Timeframe: 60 or 240 minutes
  • Intrabar Sampling: 1 minute
  • Value Area: 70%

Increase profile width if the histograms appear too narrow. Increase the row size or reduce the automatic target-row setting if the dashboard displays “Widen Rows.”

Important limitation
This is an estimated volume profile, not an exchange-level bid/ask footprint.
TradingView’s native footprint API requires a qualifying higher-tier subscription. This script instead uses lower-timeframe OHLCV data, allowing it to operate without the native footprint request.
Because the precise transaction price of every trade is unavailable, each intrabar’s volume is distributed across the price rows covered by that intrabar. The resulting POC, value area, and delta should therefore be treated as analytical estimates.
Historical depth also depends on the selected sampling timeframe and TradingView’s available intrabar data.
The script processes confirmed chart bars and discards the first incomplete HTF profile loaded at the beginning of the dataset. Completed HTF profiles remain fixed, while developing levels can change until their HTF candle closes.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน