What this TradingView script does
Higher Timeframe Peak Session Volume is an indicator that overlays up to five recent higher-timeframe volume profiles directly on the price chart. It solves the problem of switching between timeframes to read session volume by drawing each completed HTF period's profile in the right margin — complete with POC lines, volume labels, and a combined total profile outline.
🔵 HOW IT WORKS The indicator captures each new higher-timeframe period, accumulates volume inside it, and renders each period as a profile drawn to the right of price:
1 — Period Detection & Tracking
- Timeframe Change: Uses Profile Timeframe to detect the start of each new higher-timeframe period.
- Period Boundaries: Tracks each period's start bar, end bar, high, and low as it develops.
- Profile Count: Keeps up to Number of Profiles (max 5) recent periods displayed at once.
2 — Volume Binning
- ATR-Based Bins: Price rows are calculated as ATR(100) divided by ATR Divisor, so bin height auto-adapts to volatility.
- Volume Accumulation: Each bar's volume is added to the bin matching its close, building the raw profile.
- Gaussian Smoothing: The Profile Smoothing Radius applies a Gaussian kernel to soften the profile shape; set to 0 to disable.
How traders can use it
Use Higher Timeframe Peak Session Volume 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.




