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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.