FreeOpen sourcePine Script v6
Map Tokyo, London and New York hours with region-specific, daylight-saving-aware timezones. Read the active focus session’s high, low, midpoint, opening range, prior range and live status in one view.
Put “when” directly on the price chart
The script checks whether each chart bar falls inside the configured Tokyo, London and New York sessions, then draws session context and the active focus-session structure. In the current public source, overlap uses a dedicated background and focus follows the fixed priority New York → London → Tokyo.
What it visualizes
Historical or recent session shading, an overlap shade, current focus high/low/midpoint, an opening range, prior focus high/low and a table with regional clocks and time to the next open or close.
How it works
Each session passes its Hours, Timezone and Days to TradingView’s time engine. Both bar open and bar close are checked. The script does not request higher-timeframe or future data.
Regional time handling
Tokyo, London and New York use separate IANA timezones, allowing London and New York to follow local daylight-saving changes.
Fixed focus priority
When sessions overlap, the background uses the Overlap color and one focus is selected in the order New York, London, then Tokyo.
Developing session structure
Current high, low, midpoint and opening range update while the focus session develops; prior high/low can remain as temporary reference rails.
Add it to TradingView
Add the public script to a chart and identify every drawing in the default configuration first. Change only one input at a time.
Tokyo London New York Session Highlighter
Open the public Tokyo London New York Session Highlighter page and add it to a TradingView chart. No SG Group account is required.
- Open the “Use on TradingView” link below.
- Select “Use on chart” on TradingView to add the script to your chart.
- Open the gear icon, then Settings → Inputs, and observe the default configuration first.
- Change one input at a time for the symbol and timeframe you are studying.
Prevent misreads when indicators overlap
Overlapping lines, bands, backgrounds or tables can be duplicate drawings of the same kind of information. Never treat visual overlap by itself as stronger evidence or signal agreement. Other session highlighters, opening-range studies and prior-high/low tools can duplicate the same shaded windows and horizontal rails. Do not confuse current focus levels with another tool’s levels.
- Temporarily hide every other background study before identifying Show session background highlight.
- Turn off either Current focus high/low, Midpoint, Opening range or Previous focus high/low when another tool supplies the same level type.
- Hide Show session list or change Position so the dashboard does not cover another table.
- Fixed New York focus during overlap is a display rule, not a claim that one market is stronger.
A practical reading order
Do not turn one value or color into a conclusion. Check the condition, persistence and relationship to price in order.
Identify the active shading
Start with the active session or overlap background. Color alone says nothing about price direction.
Verify the focus rails
Match the high, low, midpoint and opening range to the FOCUS shown in the table.
Check clock and remaining time
Use Local and Next, then separately verify holidays, shortened trading and data gaps that the configured schedule cannot detect.
Status and display terms
The session is active; N is elapsed session time, not market strength.
The configured session is inactive; it does not explain a holiday or missing feed.
Time remaining until the next configured open or close.
The session supplying the current rails; overlap priority is fixed to New York, London, Tokyo.
Current range relative to a recent session-range average, not a forecast.
Settings reference
The labels below match the published script’s English Inputs panel. Defaults reflect the public source at the time of review and may change in a later TradingView update.
On small screens, each input is reformatted as a readable stacked card.
Sessions
12 inputs| Input label | Default / options | What it controls and when to adjust it |
|---|---|---|
Tokyo | true | Enables tracking of the Tokyo session. |
Hours | 0900-1800 | Sets the Tokyo session's local start and end times. |
Timezone | Asia/Tokyo; options: Asia/Tokyo | Etc/UTC | Europe/London | America/New_York | America/Chicago | Europe/Berlin | Asia/Hong_Kong | Asia/Singapore | Australia/Sydney | Selects the IANA timezone used to evaluate the Tokyo session. |
Days | 23456; options: 23456 | 1234567 | Sets active days for Tokyo: 23456 is Monday-Friday and 1234567 is every day. |
London | true | Enables tracking of the London session. |
Hours | 0800-1700 | Sets the London session's local start and end times. |
Timezone | Europe/London; options: Europe/London | Etc/UTC | Asia/Tokyo | America/New_York | America/Chicago | Europe/Berlin | Asia/Hong_Kong | Asia/Singapore | Australia/Sydney | Selects the IANA timezone for London, including daylight-saving handling. |
Days | 23456; options: 23456 | 1234567 | Sets the active days for the London session. |
New York | true | Enables tracking of the New York session. |
Hours | 0800-1700 | Sets the New York session's local start and end times. |
Timezone | America/New_York; options: America/New_York | Etc/UTC | Asia/Tokyo | Europe/London | America/Chicago | Europe/Berlin | Asia/Hong_Kong | Asia/Singapore | Australia/Sydney | Selects the IANA timezone for New York, including daylight-saving handling. |
Days | 23456; options: 23456 | 1234567 | Sets the active days for the New York session. |
Visuals
18 inputs| Input label | Default / options | What it controls and when to adjust it |
|---|---|---|
Show session background highlight | true | Shows or hides session background shading independently of rails and the dashboard. |
Historical coverage | All history; options: All history | Recent only | Chooses whether shading covers all history or only recent bars. |
Recent coverage days | 30; range: 1-365 | Sets the number of recent days retained when coverage is Recent only. |
Session background transparency | 93; range: 0-100 | Controls single-session background transparency; lower values are stronger. |
Overlap background transparency | 90; range: 0-100 | Controls background transparency when multiple sessions overlap. |
Current focus high/low | true | Shows the developing high and low of the current focus session. |
Midpoint | true | Shows the midpoint of the current focus-session range. |
Opening range | true | Shows the high and low formed during the opening-range window. |
Minutes | 60; range: 5-240 | Sets the number of minutes used to build the opening range. |
Previous focus high/low | true | Shows the previous completed range high and low for the focus session. |
Previous level visible length, minutes | 240; range: 30-1440 | Sets how long previous high/low reference lines remain visible. |
Right-side rail extension, minutes | 60; range: 0-240 | Extends current reference rails visually to the right by the selected minutes. |
Live line width | 2; range: 1-4 | Sets the width of live high and low lines. |
Reference line width | 1; range: 1-3 | Sets the width of midpoint, opening-range and previous-level lines. |
Live high/low transparency | 0; range: 0-100 | Controls transparency of live high and low lines. |
Midpoint transparency | 42; range: 0-100 | Controls midpoint-line transparency. |
Opening-range line transparency | 42; range: 0-100 | Controls opening-range line transparency. |
Previous level transparency | 58; range: 0-100 | Controls transparency of previous-session reference levels. |
Colors
4 inputs| Input label | Default / options | What it controls and when to adjust it |
|---|---|---|
Tokyo | #4da3ff | Sets the Tokyo session color for shading, text and levels. |
London | #2fd074 | Sets the London session color for shading, text and levels. |
New York | #ffb347 | Sets the New York session color for shading, text and levels. |
Overlap | #b38cff | Sets the background color used during session overlaps. |
Dashboard
17 inputs| Input label | Default / options | What it controls and when to adjust it |
|---|---|---|
Show session list | true | Shows the compact session-list dashboard. |
Position | Top right; options: Top right | Top left | Bottom right | Bottom left | Selects the dashboard anchor position. |
Right padding | Extra large; options: None | Small | Medium | Large | Extra large | Adds transparent spacing to move the table away from right-side price labels. |
Text size | Normal; options: Small | Normal | Large | Sets dashboard text size. |
Main text | #f8fafc | Sets the main dashboard text color. |
Idle text | #cbd5e1 | Sets the text color for inactive session rows. |
Session-name text transparency | 0; range: 0-100 | Controls transparency of session-colored session names. |
Main text transparency | 0; range: 0-100 | Controls main-text transparency. |
Idle text transparency | 18; range: 0-100 | Controls inactive-text transparency. |
Header | #111827 | Sets the dashboard header background color. |
Panel | #0f172a | Sets the regular panel-row background color. |
Active row | #1f2937 | Sets the background color for active session rows. |
Header transparency | 0; range: 0-100 | Controls header-background transparency. |
Inactive row transparency | 22; range: 0-100 | Controls inactive-row background transparency. |
Active row transparency | 4; range: 0-100 | Controls active-row background transparency. |
Frame transparency | 56; range: 0-100 | Controls dashboard-frame transparency. |
Border transparency | 70; range: 0-100 | Controls dashboard cell-border transparency. |
Alerts
8 inputs| Input label | Default / options | What it controls and when to adjust it |
|---|---|---|
Enable alert() notifications | true | Enables informational alert() notifications. |
Lead minutes | 15; range: 1-120 | Sets the lead time for pre-open and pre-close notifications. |
Session start/end | true | Enables session start and end notifications. |
Pre-open / pre-close | true | Enables advance notifications before session opens and closes. |
Focus change | true | Notifies when the prioritized focus session changes. |
Overlap change | true | Notifies when a session overlap starts or ends. |
Opening range completed | false | Notifies when a session's opening range is completed. |
Previous high/low touched | false | Notifies when price touches a previous session high or low. |
Informational session and reference events
Notifications report time events and optional reference touches. The current source contains no directional trade alert.
- Pre-open, start, pre-close and end events for Tokyo, London and New York.
- Focus-session changes and overlap start/end events.
- Opening-range completion and prior-session high/low touches, both optional.
Not a buy/sell signal
This tool is for analysis and visualization. It is not investment advice, a trade recommendation, a forecast, or a promise of profit or accuracy. Results depend on inputs, symbol, timeframe, and data feed. You remain responsible for every trading decision.
Intraday only
Daily and higher charts show an information message instead of the session shading and rails. A period with no bars cannot be shaded.
No automatic market calendar
Holidays, shortened days, exchange breaks and broker-specific sessions are not detected. Verify Hours, Timezone and Days.
Current source differs from older copy
Version 3.6 has no start/end marker input and no selectable overlap-priority mode. Dedicated overlap color and fixed focus priority are the current behavior.
A session label does not predict direction or activity. Verify the instrument’s official hours and feed, and never use time-of-day by itself as an entry reason.
Frequently asked questions
Clarify session hours, daylight saving, overlap behavior and chart-timeframe limits.
Is Tokyo London New York Session Highlighter free to use?
Yes. It is a free, open-source indicator published by SG Group on TradingView. Review TradingView’s terms and the conditions attached to the public script before reuse or redistribution.
Should I change the settings immediately?
Start with the published defaults and observe the drawings and state changes first. Then change one input at a time for the symbol, timeframe and data feed so you can identify what caused each visual change.
Can I display it with other indicators?
Yes, but similar lines, bands, backgrounds and tables can overlap and obscure their source. Isolate each indicator first and hide duplicate components. Visual overlap alone is not stronger evidence or signal agreement.
Does the display provide trade signals?
No. It is analysis and visualization context consistent with the public description. It does not provide entries, exits, targets, stops, price forecasts, or promises of profit, win rate or accuracy.
Does it adjust for daylight-saving time?
Regional IANA timezones let London and New York follow local clock changes. Exchange holidays, shortened days and broker-specific schedules still require separate verification.
Source basis and update policy
This guide is grounded in SG Group’s live catalogue, the script’s published TradingView description, and the user-facing inputs in its open source. Labels and defaults can change after a script update.

