OPEN-SOURCE SCRIPT
Midnight Open PDH PDL by Laofengtrading

This indicator marks three key daily reference levels on the chart:
Midnight Open:
The New York 00:00 opening price.
PDH:
Previous Daily High, based on the previous daily candle high.
PDL:
Previous Daily Low, based on the previous daily candle low.
Features:
- Marks New York Midnight Open
- Marks Previous Daily High
- Marks Previous Daily Low
- PDH and PDL are based on daily chart data
- Customizable line colors and widths
- Optional labels
- Optional arrow-style, plain, or box labels
- Labels are placed after the line near the latest candle
- PDH and PDL can be displayed on higher timeframes such as 4H and Daily
Midnight Open:
The New York 00:00 opening price.
PDH:
Previous Daily High, based on the previous daily candle high.
PDL:
Previous Daily Low, based on the previous daily candle low.
Features:
- Marks New York Midnight Open
- Marks Previous Daily High
- Marks Previous Daily Low
- PDH and PDL are based on daily chart data
- Customizable line colors and widths
- Optional labels
- Optional arrow-style, plain, or box labels
- Labels are placed after the line near the latest candle
- PDH and PDL can be displayed on higher timeframes such as 4H and Daily
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.