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 open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.