OPEN-SOURCE SCRIPT
Volume Profile - Previous Day

Previous Day Volume Profile (PDVP) plots a fixed volume distribution for the prior trading day directly on your chart.
It builds a price-by-volume histogram from the previous session and highlights key auction levels:
POC (Point of Control): the price level with the highest traded volume
VAH / VAL (Value Area High/Low): the value area boundaries based on your selected percentage
Previous Day High/Low: optional session extremes for context
How to Use It
Contextual Trading: Use the vPOC (Point of Control) and Value Area as magnets or hurdles for price.
Price staying inside the Value Area suggests a balanced/ranging market.
Price breaking out of the Value Area suggests a trend initiation.
Mean Reversion: Look for "Value Area Rejections" at the VAH or VAL to play moves back toward the POC.
PDH/PDL Anchors: The blue rays provide instant daily bias. Breaking the Previous Day High often signals bullish momentum, while failing to do so suggests a potential reversal.
Settings
Auto-Detect Settings: Toggle this on to let the script handle the math, or toggle off to input your own custom "Row Height" in ticks.
Value Area %: Defaulted to 70% (Standard).
Histogram Width: Adjust how far the profile extends across your chart.
Calculation Granularity: Defaulted to 10m for the best balance of speed and accuracy.
It builds a price-by-volume histogram from the previous session and highlights key auction levels:
POC (Point of Control): the price level with the highest traded volume
VAH / VAL (Value Area High/Low): the value area boundaries based on your selected percentage
Previous Day High/Low: optional session extremes for context
How to Use It
Contextual Trading: Use the vPOC (Point of Control) and Value Area as magnets or hurdles for price.
Price staying inside the Value Area suggests a balanced/ranging market.
Price breaking out of the Value Area suggests a trend initiation.
Mean Reversion: Look for "Value Area Rejections" at the VAH or VAL to play moves back toward the POC.
PDH/PDL Anchors: The blue rays provide instant daily bias. Breaking the Previous Day High often signals bullish momentum, while failing to do so suggests a potential reversal.
Settings
Auto-Detect Settings: Toggle this on to let the script handle the math, or toggle off to input your own custom "Row Height" in ticks.
Value Area %: Defaulted to 70% (Standard).
Histogram Width: Adjust how far the profile extends across your chart.
Calculation Granularity: Defaulted to 10m for the best balance of speed and accuracy.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.