OPEN-SOURCE SCRIPT
Volume Profile

Volume Profile — Daily & Weekly Levels
This indicator plots session-based Volume Profile levels directly on the chart, focusing on Daily and Weekly structures.
It is designed to help visualize areas where trading activity was most concentrated during the current and previous periods.
The script calculates and displays the following levels:
POC (Point of Control) — price level with the highest traded volume
VAH (Value Area High) — upper boundary of the value area
VAL (Value Area Low) — lower boundary of the value area
Features
Today’s Volume Profile
POC, VAH, and VAL updated in real time during the current trading day
Yesterday’s Volume Profile
Previous day’s POC, VAH, and VAL extended forward as reference levels
Current Weekly Volume Profile
Live weekly POC, VAH, and VAL
Previous Weekly Volume Profile
Last week’s completed POC, VAH, and VAL
Configurable Inputs
Adjustable number of volume bins (rows)
Custom value area percentage
Toggle visibility for daily, yesterday, weekly, and previous weekly levels
Optional labels with configurable horizontal offset
How it works
The indicator builds a custom volume distribution by aggregating volume across price bins within each session (daily or weekly).
From this distribution, it identifies:
The price level with maximum volume (POC)
The value area surrounding the POC based on the selected percentage
All calculations are performed locally using historical bar data, without external data sources.
Alerts
An alert condition is included that triggers when price crosses any visible Volume Profile level (POC, VAH, or VAL).
Notes
This indicator is designed for market structure and volume analysis.
This indicator plots session-based Volume Profile levels directly on the chart, focusing on Daily and Weekly structures.
It is designed to help visualize areas where trading activity was most concentrated during the current and previous periods.
The script calculates and displays the following levels:
POC (Point of Control) — price level with the highest traded volume
VAH (Value Area High) — upper boundary of the value area
VAL (Value Area Low) — lower boundary of the value area
Features
Today’s Volume Profile
POC, VAH, and VAL updated in real time during the current trading day
Yesterday’s Volume Profile
Previous day’s POC, VAH, and VAL extended forward as reference levels
Current Weekly Volume Profile
Live weekly POC, VAH, and VAL
Previous Weekly Volume Profile
Last week’s completed POC, VAH, and VAL
Configurable Inputs
Adjustable number of volume bins (rows)
Custom value area percentage
Toggle visibility for daily, yesterday, weekly, and previous weekly levels
Optional labels with configurable horizontal offset
How it works
The indicator builds a custom volume distribution by aggregating volume across price bins within each session (daily or weekly).
From this distribution, it identifies:
The price level with maximum volume (POC)
The value area surrounding the POC based on the selected percentage
All calculations are performed locally using historical bar data, without external data sources.
Alerts
An alert condition is included that triggers when price crosses any visible Volume Profile level (POC, VAH, or VAL).
Notes
This indicator is designed for market structure and volume analysis.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.