PROTECTED SOURCE SCRIPT

AR-Volume Profile

20
AR-Volume Profile plots two volume profiles on your chart at the same time:
• Daily Volume Profiles (multiple days back, always visible)
• Hourly Volume Profiles (last N hours, designed for ≤ 15m timeframes)
It’s built to stay clean, readable, and performance-safe, while still letting you see where volume built up across recent structure.
________________________________________
What You See On Chart
- Daily Profiles (Multi-day) Increased using Polylines
• Shows Volume Profile histograms for the last X days back (you choose).
• Each day is drawn as a horizontal histogram inside that day’s session.
• Color logic:
o Base (all volume)
o Value Area (VA)
o POC (Point of Control)
- Daily Levels (POC / VAH / VAL)
• Adds optional horizontal levels:
o POC
o VAH
o VAL
• You can choose whether to draw these:
o Today only, or
o Past days too (if enabled in your version)
• Levels can optionally extend to the right to act like HTF references.
- Hourly Profiles (Intraday context)
• Shows profiles for the last N hours (you choose).
• Meant to be used on 15m and below for clean intraday mapping.
• Optional hourly level lines are available too.
________________________________________
How It Calculates Volume
This is a bar-based approximation of a volume profile:
• Each candle’s volume is distributed across its price range based on overlap with bins.
• Flat candles (very small range) are placed into the nearest bin.
• This gives a reliable “where volume accumulated” view without needing exchange order-by-order data.
________________________________________
Key Inputs Explained
Daily Profile (Always Visible)
• Days back to show (Daily)
How many previous daily profiles you want displayed.
• Daily bins
Higher bins = more detail (but higher object usage).
• Daily Value Area %
Default 70% like traditional VP.
• Daily profile width (% of day)
Controls how wide the histogram is inside the day.
• Daily profile side
Left or Right inside each day.
• Show Daily POC/VAH/VAL lines
Enable level lines.
• Extend Daily levels to the right
Makes daily levels act like forward HTF liquidity/targets.
Hourly Profile (15m and below)
• How many hours
Number of hourly profiles to display.
• Hourly bins
• Hourly profile width (% of hour)
• Hourly profile side
• Show Hourly POC/VAH/VAL lines
________________________________________
Best Use Cases
- Intraday trading (scalping + day trading)
- Mapping premium/discount volume build-ups
- Pairing with:
• liquidity sweeps
• order blocks
• HTF levels
• session ranges
• breaker / mitigation concepts
________________________________________
Recommended Settings (Practical)
If you want more daily history, you must balance line budget.
Example setups:
“Clean Daily Focus” (more days)
• Daily bins: 60–80
• Days back: 10–20
• Hours: 0–4 (or lower)
• Budget mode: Daily First
“Intraday Heavy” (more hourly detail)
• Hourly bins: 30–50
• Hours: 8–12
• Days back: 3–7
• Budget mode: Hourly First
________________________________________
Notes / Limitations
• Hourly profiles are designed for ≤ 15m timeframes.
• This uses approximate volume distribution from candle ranges (not exchange tick VP).
• If volume data is missing on the symbol/broker, results will be less meaningful.
• Visual output depends on instrument liquidity + chart zoom.

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.