OPEN-SOURCE SCRIPT
Previous Day OHLC Levels

This indicator displays the Previous Day High (PDH), Previous Day Low (PDL), Previous Day Open (PDO), and Previous Day Close (PDC) on the current trading day.
The levels automatically update when a new day begins, with previous levels removed to keep the chart clean and focused.
Useful for identifying key daily support and resistance levels, liquidity areas, breakouts, and potential trade setups.
Features:
Previous Day High (PDH)
Previous Day Low (PDL)
Previous Day Open (PDO)
Previous Day Close (PDC)
Automatically updates each new day
Only the current previous-day levels are displayed
Customisable colours, line styles, and labels
Designed for traders who want a clean and simple view of the previous day's key price levels.
The levels automatically update when a new day begins, with previous levels removed to keep the chart clean and focused.
Useful for identifying key daily support and resistance levels, liquidity areas, breakouts, and potential trade setups.
Features:
Previous Day High (PDH)
Previous Day Low (PDL)
Previous Day Open (PDO)
Previous Day Close (PDC)
Automatically updates each new day
Only the current previous-day levels are displayed
Customisable colours, line styles, and labels
Designed for traders who want a clean and simple view of the previous day's key price levels.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.