What this TradingView script does
The Session VWAP Profile & Candle Delta is a comprehensive technical analysis tool that combines anchored Volume Weighted Average Price (VWAP) bands, dynamic standard deviation channels, session volume profiles, and intra-candle delta distribution boxes. Traditional volume profiles and VWAP indicators often lack automated higher-timeframe session switching or fail to break down volume distribution into distinct bullish and bearish candle counts per price bin. To solve this limitation, this script automatically computes optimal session durations based on chart timeframes, maps historical and real-time volume profiles with point-of-control (POC) lines, and tracks mean-reversion signals when price rejects the outer standard deviation bands.
The indicator visualizes multi-session volume density gradients, upper and lower band polygons, POC markers, distribution count boxes, and reversal trigger shapes directly on the main chart overlay. The core architecture leverages user-defined or automatic higher timeframes, dynamic bin resolution calculators driven by average true range (ATR), and garbage-collected session tracking structures to maintain performance across extended historical data.
🔵 HOW IT WORKS The system operates through an integrated modular architecture where each component dynamically coordinates visual rendering and calculations:
1 — Auto Timeframe & Session Engine
- Timeframe Selection: Automatically targets roughly 200 candles per session using the Use Auto Timeframe setting, or falls back to a user-specified Manual Timeframe.
- Session Reset Tracking: Monitors session boundaries via timeframe changes to anchor VWAP calculations, accumulate sum volume, price-volume products, and squared price-volume metrics.
2 — Volume Profile & Distribution Engine
- Dynamic Bins Resolution: Calculates bin counts dynamically based on ATR volatility or fixes them using the Manual Bins Count parameter.
- Candle Delta Distribution: Distributes volume across price bins while tracking bullish and bearish candle counts to display distribution boxes ().
- Point of Control (POC): Identifies the highest volume bin within the session and draws a dashed POC line across the profile structure.
How traders can use it
Use Session VWAP Profile & Candle Delta as a chart context layer inside TradingView: read the structure it highlights, compare it with your market bias, and let the script narrow which moves deserve attention.
The strongest workflow is to combine the script with higher timeframe structure, volume context, and a repeatable execution plan instead of treating any single label as a standalone trade.




