OPEN-SOURCE SCRIPT
UK Dual-Session Highlighter (Fixed Day, Dynamic Break)

Overview
Specifically engineered for UK-based Nasdaq (NQ) and US Index traders who operate on a fixed professional schedule (09:15 – 17:15 UK Time).
The primary challenge for UK traders is the 4-week annual "Timezone Mismatch" between London and New York (occurring in March and October). During these weeks, the US market opens at 13:30 UK time instead of the usual 14:30. This indicator solves that problem by automatically shifting your 90-minute lunch break to ensure you are always back at your desk exactly 1 hour before the Wall Street opening bell.
The "Smart Break" Logic
The indicator maintains a strict 09:15 start and 17:15 finish, but dynamically re-calculates the internal "Lunch Lull" based on the live US/UK offset:
Standard Weeks (5hr Offset):
Morning: 09:15 – 12:00 | Break: 12:00 – 13:30 | Afternoon: 13:30 – 17:15
Mismatch Weeks (4hr Offset):
Morning: 09:15 – 11:00 | Break: 11:00 – 12:30 | Afternoon: 12:30 – 17:15
Key Features (2020–2030 Ready)
Universal Backtesting: Unlike basic session highlighters, this script uses a mathematical calendar to identify DST mismatch dates for any year between 2020 and 2030. Perfect for verifying historical strategy performance.
Zero-Maintenance: Automatically detects when the US "Springs Forward" or the UK "Falls Back" earlier than the other.
Volatility Sync: Ensures your afternoon trading session always begins during the high-volume US Pre-Market window (1 hour before the NYSE open).
Visual Clarity: Uses distinct colors to separate the London Morning trend from the New York Open overlap.
How to Use
Blue Zone (Morning): Trade the London session momentum.
Uncolored Zone (Break): The "Lunch Lull." Step away from the screens during lower liquidity.
Green Zone (Afternoon): Focus on US Economic Data (8:30 AM ET) and the 14:30 (or 13:30) New York Open.
Settings
All times are hard-coded to Europe/London standards. No manual timezone adjustments are required on your chart settings.
Specifically engineered for UK-based Nasdaq (NQ) and US Index traders who operate on a fixed professional schedule (09:15 – 17:15 UK Time).
The primary challenge for UK traders is the 4-week annual "Timezone Mismatch" between London and New York (occurring in March and October). During these weeks, the US market opens at 13:30 UK time instead of the usual 14:30. This indicator solves that problem by automatically shifting your 90-minute lunch break to ensure you are always back at your desk exactly 1 hour before the Wall Street opening bell.
The "Smart Break" Logic
The indicator maintains a strict 09:15 start and 17:15 finish, but dynamically re-calculates the internal "Lunch Lull" based on the live US/UK offset:
Standard Weeks (5hr Offset):
Morning: 09:15 – 12:00 | Break: 12:00 – 13:30 | Afternoon: 13:30 – 17:15
Mismatch Weeks (4hr Offset):
Morning: 09:15 – 11:00 | Break: 11:00 – 12:30 | Afternoon: 12:30 – 17:15
Key Features (2020–2030 Ready)
Universal Backtesting: Unlike basic session highlighters, this script uses a mathematical calendar to identify DST mismatch dates for any year between 2020 and 2030. Perfect for verifying historical strategy performance.
Zero-Maintenance: Automatically detects when the US "Springs Forward" or the UK "Falls Back" earlier than the other.
Volatility Sync: Ensures your afternoon trading session always begins during the high-volume US Pre-Market window (1 hour before the NYSE open).
Visual Clarity: Uses distinct colors to separate the London Morning trend from the New York Open overlap.
How to Use
Blue Zone (Morning): Trade the London session momentum.
Uncolored Zone (Break): The "Lunch Lull." Step away from the screens during lower liquidity.
Green Zone (Afternoon): Focus on US Economic Data (8:30 AM ET) and the 14:30 (or 13:30) New York Open.
Settings
All times are hard-coded to Europe/London standards. No manual timezone adjustments are required on your chart settings.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.