OPEN-SOURCE SCRIPT
מעודכן Market Sessions V2

🔄 MAJOR UPDATE v2.0
✨ NEW FEATURES:
- Live Info Panel with session status, timer, range & change%
- Average range statistics (based on history period)
- Weekend mode highlighting (Fri US Close → Mon Asia Open)
- Pre-market & Post-market tracking for US session (table only)
- Auto/Manual session times with validation
🔧 IMPROVEMENTS:
- Accurate official exchange hours (TSE 09:00-15:30, LSE 08:00-16:30, NYSE 09:30-16:00, ASX 10:00-16:00)
- Automatic DST handling via native timezones
- Tokyo Lunch Break indicator (11:30-12:30 JST)
- Works on all timeframes with smart adaptation (boxes ≤4H, table always)
- Bar Replay compatible
🛡️ RELIABILITY:
- Input validation for manual time entries
- Graceful handling of higher timeframes
- Optimized memory management
📖 For Forex/Crypto traders: Sessions show continuous trading hours.
Tokyo lunch (11:30-12:30 JST) is indicated in table only.
✨ NEW FEATURES:
- Live Info Panel with session status, timer, range & change%
- Average range statistics (based on history period)
- Weekend mode highlighting (Fri US Close → Mon Asia Open)
- Pre-market & Post-market tracking for US session (table only)
- Auto/Manual session times with validation
🔧 IMPROVEMENTS:
- Accurate official exchange hours (TSE 09:00-15:30, LSE 08:00-16:30, NYSE 09:30-16:00, ASX 10:00-16:00)
- Automatic DST handling via native timezones
- Tokyo Lunch Break indicator (11:30-12:30 JST)
- Works on all timeframes with smart adaptation (boxes ≤4H, table always)
- Bar Replay compatible
🛡️ RELIABILITY:
- Input validation for manual time entries
- Graceful handling of higher timeframes
- Optimized memory management
📖 For Forex/Crypto traders: Sessions show continuous trading hours.
Tokyo lunch (11:30-12:30 JST) is indicated in table only.
הערות שחרור
Fixed a bug where session labels were not updating their position correctly when 'Show Open Price Lines' was disabled.Improved Info Panel readability: updated session labels (ASIA, EUROPE, USA, PO/AU) and added tooltips displaying official session hours and timezones.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.