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提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。