OPEN-SOURCE SCRIPT
Multi-Time Open Levels

This indicator automatically plots three key horizontal open levels for your daily trading session, specifically optimized for the CET/CEST (Europe/Berlin) timezone. It is designed to be cleaner and more reliable than standard plotting indicators.
Key Features:
1. Daily Open (00:00 CET): Plotted in Blue.
2. Morning Open (10:00 CET/04:00 NYT): Plotted in Dark Orange.
3. Afternoon Open (14:00 CET/08:00 NYT): Plotted in Dark Blue.
No Diagonal Connections:
This script uses individual line objects. This ensures that levels stay horizontal and don't create diagonal lines between sessions.
Holiday & Early-Close Fix:
Uses a robust date-check logic. Even if the market closes early due to holidays and opens at irregular times, the "Daily Open" line will correctly trigger on the very first bar of the new calendar day.
Best used on: 1m, 5m, or 15m timeframes for maximum precision.
I hope it will help you in your trading setups.
Key Features:
1. Daily Open (00:00 CET): Plotted in Blue.
2. Morning Open (10:00 CET/04:00 NYT): Plotted in Dark Orange.
3. Afternoon Open (14:00 CET/08:00 NYT): Plotted in Dark Blue.
No Diagonal Connections:
This script uses individual line objects. This ensures that levels stay horizontal and don't create diagonal lines between sessions.
Holiday & Early-Close Fix:
Uses a robust date-check logic. Even if the market closes early due to holidays and opens at irregular times, the "Daily Open" line will correctly trigger on the very first bar of the new calendar day.
Best used on: 1m, 5m, or 15m timeframes for maximum precision.
I hope it will help you in your trading setups.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.