OPEN-SOURCE SCRIPT

The Z impact Market Sessions (Auto GMT)

1 255
The Z Impact Market Sessions (Auto GMT)

OVERVIEW
This indicator highlights the four major Forex trading sessions —
London, New York, Tokyo and Sydney — directly on the chart as colored
boxes. Each box tracks the high and low reached during that session, so
you can see each session's range as it forms and where price sits
relative to it.

WHAT MAKES IT PRACTICAL
The main focus is a single GMT offset input. Instead of editing four
separate session time ranges by hand every time your broker's server
time or daylight saving changes, you adjust one value and all four
sessions shift together. Session times are defined internally on a fixed
base and recalculated from that one offset, including correct handling of
sessions that cross midnight (such as Tokyo and Sydney).

HOW IT WORKS
- Each session has a fixed base open/close time. A single offset input
shifts all of them, with hours wrapping correctly across the 0-24
boundary.
- A box is opened when a session starts and is extended bar by bar until
the session ends, continuously updating its high and low.
- A label marks each session by name, centered over its box.
- Sessions that span midnight are detected with an OR-based time check so
the box stays continuous.

INPUTS
- GMT offset: one value to align all sessions to your chart/broker time.
- Show toggles for London, New York, Tokyo and Sydney.
- A color per session and a background transparency control.

HOW TO USE
- If the sessions do not line up with your chart, adjust the GMT offset
until London (or any session you can verify) sits where you expect.
- Use the session boxes to see range highs and lows, session overlaps,
and where the current price is within the active session.
- Sydney is off by default; enable it if you trade that session.

NOTES
- Times are based on standard session hours; during daylight saving
transitions you may need to adjust the offset by half or one hour.
- This is a visual session tool. It does not generate buy or sell
signals.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.