OPEN-SOURCE SCRIPT
Session Volume Averages

Session Volume Averages
Overview
Session Volume Averages is a session-aware volume indicator that combines live volume with historical session context. It displays current volume as bars and overlays two analytical reference lines for each enabled session.
Up to three independent sessions can be enabled simultaneously (default: New York, London, Tokyo), each with custom hours and colors. When no enabled session is active, the pane remains clean.
---
How to Use
---
How to Interpret
---
Optional Debug Mode
When enabled, a small table displays live diagnostic values, including current session averages, bar-position averages, and the current bar index within each session.
Overview
Session Volume Averages is a session-aware volume indicator that combines live volume with historical session context. It displays current volume as bars and overlays two analytical reference lines for each enabled session.
- Session Average — the average volume-per-bar across the last N completed sessions.
- Bar-Position Average — the average volume at the same bar position within the session (time-of-day average) across the last N completed sessions.
Up to three independent sessions can be enabled simultaneously (default: New York, London, Tokyo), each with custom hours and colors. When no enabled session is active, the pane remains clean.
---
How to Use
- Add the indicator
Apply Session Volume Averages to any symbol and timeframe that provides volume data. - Set the time zone
The selected time zone is used for all session window calculations. - Configure sessionsEnable or disable Session 1, Session 2, and Session 3
Set custom trading hours for each session
Choose a color (used for both average lines) - Set the sample size
Choose how many completed sessions (5–100) are used to calculate the averages. - Read the chart
- Histogram bars show current volume (only while a session is active)
- Thick line shows the session-wide average volume-per-bar
- Thin line shows the typical volume for the current bar’s position within the session
- Histogram bars show current volume (only while a session is active)
---
How to Interpret
- Current volume above the Bar-Position Average means volume is elevated for this specific time within the session.
- Current volume above the Session Average means volume is strong relative to the session’s overall baseline.
- The shape of the Bar-Position Average highlights where volume typically concentrates (opens, overlaps, closes).
---
Optional Debug Mode
When enabled, a small table displays live diagnostic values, including current session averages, bar-position averages, and the current bar index within each session.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.