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.
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน