Volume Profile█ VOLUME PROFILE
Volume-at-Price Analysis with POC, VAH & VAL
A powerful volume-at-price analysis overlay that calculates and visualizes the Point of Control (POC) , Value Area High (VAH) , and Value Area Low (VAL) directly on your chart. It reveals where the most trading activity occurred and provides real-time price position analysis — helping you identify high-probability support/resistance levels and mean-reversion zones.
Free and Open Source.
█ THE CONCEPT: WHY VOLUME PROFILE MATTERS
Price charts show when trading happened. Volume Profile shows where it happened. The distribution of volume across price levels reveals the market's true valuation zones:
Point of Control (POC) — The price with the highest accumulated volume. Acts as a magnet for price and the strongest single S/R level.
Value Area (70%) — The range containing 70% of all traded volume. Defines what the market considers "fair value."
Above/Below VA — Price outside the value area signals potential overextension or breakout.
Institutional traders, market makers, and algorithmic systems all reference volume profile levels.
█ CORE FEATURES
1. Volume Profile Engine
Distributes each bar's volume proportionally across the price rows it spans, building a precise volume-at-price histogram:
POC — Highest volume row = strongest support/resistance
VAH — Upper boundary of the 70% value area = resistance
VAL — Lower boundary of the 70% value area = support
Row count is configurable (10-50 levels).
2. Profile Anchoring
Three anchor modes control how the profile is built:
Rolling — Continuously recalculated over the last N bars. Best for real-time analysis.
Session — Resets every new trading day. Best for intraday context.
Week — Resets every new trading week. Best for swing context.
3. Price Position Analysis
Real-time classification of price relative to the value area:
ABOVE VA — Potential overextension or breakout
BELOW VA — Potential undervaluation or breakdown
AT POC — High-probability mean-reversion zone
IN VA — Normal trading range
4. Bounce & Rejection Signals
Automatic detection of price interaction with key volume levels:
POC Bounce Up/Down — Price touches POC and reverses
VAL Rejection — Price tests VAL and bounces up (bullish)
VAH Rejection — Price tests VAH and bounces down (bearish)
5. Volume Histogram Visualization
A horizontal bar chart displayed directly on the price chart showing the volume distribution. POC row highlighted with a distinct color.
█ AUTO-TIMEFRAME ADAPTATION
All parameters automatically adjust based on the chart timeframe:
1-5 min → Lookback 30, 18 Rows, Histogram Width 8
15-30 min → Lookback 40, 20 Rows, Histogram Width 10
1 Hour → Lookback 50, 24 Rows, Histogram Width 15
4 Hour → Lookback 70, 28 Rows, Histogram Width 18
Daily → Lookback 100, 32 Rows, Histogram Width 22
Weekly+ → Lookback 150, 40 Rows, Histogram Width 30
█ DASHBOARD
A compact, dark-themed info panel displaying:
POC — Current Point of Control price level
VAH / VAL — Value Area boundaries
Position — Current price position (ABOVE VA / BELOW VA / AT POC / IN VA)
To POC — Distance from current price to POC in percent
Anchor — Active profile anchor mode
VA Range — Width of the value area in price units
█ ALERTS (4 CONDITIONS)
POC Bounce Up — Bullish bounce off the Point of Control
POC Bounce Down — Bearish bounce off the Point of Control
VAL Rejection — Bullish rejection at Value Area Low
VAH Rejection — Bearish rejection at Value Area High
█ NON-REPAINTING
The volume profile is calculated from confirmed bar data only. Rolling mode recalculates the full lookback window on each bar using historical high/low/volume — no future data is used. Session and Week modes accumulate incrementally within the anchor period. No repainting.
█ WORKS ON
Crypto, Forex, Stocks, Futures, Indices — any timeframe from 1 minute to Monthly.
█ DISCLAIMER
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research and manage your risk. Past performance does not guarantee future results. Trading involves substantial risk of loss.
อินดิเคเตอร์ Pine Script®






















