PROTECTED SOURCE SCRIPT
Aktualisiert Hours Scholarships

This script displays the real-time local time of the London, New York, and Tokyo trading sessions directly on the chart. It automatically calculates whether each market is currently open or closed and presents all information inside a dynamic table that adjusts to the user’s layout settings.
🔹 Technical Features
Real Local Time Calculation:
Uses timezone-specific timestamps to show accurate local time for each financial center, independent of the user's own timezone.
Session Status Detection:
London, New York, and Tokyo opening hours are calculated using actual market schedules, including Tokyo’s split session.
Dynamic Table Rendering:
The table rebuilds itself automatically on the final bar, adjusting to the user’s size and position preferences. Only the selected sessions are shown.
Smart Alert System:
Each market includes:
a user-defined target time (HH:MM)
an individual offset in minutes
The script computes a final adjusted alert time for each market (target time − offset), with full support for midnight rollover.
High-Timeframe Compatibility:
Local time is safely recalculated using security calls on 60-minute data when needed, ensuring stable behavior even on higher timeframes.
🔹 Why This Script Is Unique
Most session-time indicators only display opening hours or highlight sessions on the chart. This script goes further by combining:
Real-time local clock display for three markets
Per-session customizable alert times
Independent minute offsets for London, New York, and Tokyo
Automatic alert-time calculation with rollover handling
Dynamic UI construction and per-row visibility control
This combination of local time tracking, intelligent alert logic, and dynamic multi-session layout is not available in standard public indicators, which justifies the script as unique in both function and design.
🔹 Technical Features
Real Local Time Calculation:
Uses timezone-specific timestamps to show accurate local time for each financial center, independent of the user's own timezone.
Session Status Detection:
London, New York, and Tokyo opening hours are calculated using actual market schedules, including Tokyo’s split session.
Dynamic Table Rendering:
The table rebuilds itself automatically on the final bar, adjusting to the user’s size and position preferences. Only the selected sessions are shown.
Smart Alert System:
Each market includes:
a user-defined target time (HH:MM)
an individual offset in minutes
The script computes a final adjusted alert time for each market (target time − offset), with full support for midnight rollover.
High-Timeframe Compatibility:
Local time is safely recalculated using security calls on 60-minute data when needed, ensuring stable behavior even on higher timeframes.
🔹 Why This Script Is Unique
Most session-time indicators only display opening hours or highlight sessions on the chart. This script goes further by combining:
Real-time local clock display for three markets
Per-session customizable alert times
Independent minute offsets for London, New York, and Tokyo
Automatic alert-time calculation with rollover handling
Dynamic UI construction and per-row visibility control
This combination of local time tracking, intelligent alert logic, and dynamic multi-session layout is not available in standard public indicators, which justifies the script as unique in both function and design.
Versionshinweise
✅ Description for the offsets (market alerts)The offset allows you to send the alert earlier or later than the actual market opening or closing time.
You can enter a value in minutes:
A positive value → the alert will be sent before the actual time (e.g., +5 = 5 minutes early).
A negative value → the alert will be sent after the actual time (e.g., -3 = 3 minutes late).
0 = the alert is sent exactly at the specified time.
Versionshinweise
✅ 1. Ultra-precise local time (locked to 1-minute timeframe)The display of local time (London, New York, Tokyo) is now locked to the 1-minute timeframe, ensuring accurate time even when you change your chart timeframe.
Versionshinweise
✅ New option: Hide the “Hours” columnYou can now fully show or hide the “Hours” column, which displays the opening and closing times of the London, New York, and Tokyo stock exchanges.
This option helps simplify the table and adjust the display to your needs without altering the overall structure of the widget.
Versionshinweise
🆕 New Update: Full Control Over the Table DisplayYour widget just became even more customizable!
You can now enjoy greater flexibility with the following features:
✅ 1. Show / Hide the “Stock Exchange” column
If you don’t need to see the market names (London, New York, Tokyo), you can now disable this column entirely.
The table automatically adjusts — no empty space, no misalignment.
✅ 2. Resize the table
Using the “Size” option (Small, Medium, Large, Extra Large), you can adjust the widget to fit your chart layout or screen space perfectly.
✅ 3. Move the table anywhere you want
Choose the exact placement of the table on your chart:
- Top Right
- Top Left
- Bottom Right
- Bottom Left
The table adapts seamlessly, stays clean, and never interferes with your market analysis.
Versionshinweise
Correction bug Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Geschütztes Skript
Dieses Script ist als Closed-Source veröffentlicht. Sie können es kostenlos und ohne Einschränkungen verwenden – erfahren Sie hier mehr.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.