OPEN-SOURCE SCRIPT
Updated TSF Killzones & Sessions

TSF Killzones & Sessions
════════════════════════ ENGLISH ═════════════════════════════
OVERVIEW This indicator highlights the main global trading sessions and their killzones directly on the chart, and flags the opening of the world's major stock exchanges. A live dashboard shows which session is currently open and displays every schedule converted to your local time. It is designed for intraday traders (recommended on 1m–30m timeframes) who structure their trading around session behavior, liquidity and volatility windows.
WHAT IT PLOTS
Sessions (Asia, Frankfurt, London, New York): each session's high and low are drawn as dotted horizontal lines spanning the session, marking the session range as liquidity-reference levels.
Killzones: the opening window of each session (where activity usually concentrates) is drawn as a filled box covering the high-to-low range of that window.
Stock exchange opens: the opening of the European and US cash-equity markets is flagged with a temporary on-chart banner and optional alerts.
Live dashboard: a panel listing every session with its schedule (converted to your chosen timezone) and its live status (open / closed / in killzone), a clock, and the currently active session.
HOW IT WORKS
Each session and killzone is defined by a time range in UTC and detected with Pine's time() function. Because the reference is UTC, the boxes stay correct regardless of the chart's exchange timezone.
The dashboard converts every UTC schedule to a display timezone (default: Argentina, UTC-3) so you read the times in your own local time.
Session high/low lines and killzone boxes update in real time as each window develops and remain afterward as historical reference.
A stock-exchange open is detected as the first bar of its configured market window; the banner appears on that bar and clears on the next one. Alerts fire once per opening.
HOW TO USE IT
Add the indicator to an intraday chart (1m–30m recommended).
In the settings, if your broker uses a timezone other than UTC, set the UTC offset so the sessions align with your candles.
Enable/disable any session, killzone or exchange, and customize colors and hours.
To be notified when a market opens, create an alert on the indicator and pick the "Apertura Bolsa Americana" / "Apertura Bolsa Europea" condition.
USER-INTERFACE TEXT (English translation) The panel and on-chart labels are written in Spanish. English meaning:
"TSF SESSIONS" = panel title.
"SESIÓN" = Session · "ARG" = local time (Argentina) · "ESTADO" = Status.
"ABIERTA" = Open · "cerrada" = closed · "KZ" = Killzone.
"BOLSAS DE VALORES" = Stock exchanges · "Europa" = Europe · "EE.UU." = USA.
"AHORA" = Now (currently active session).
"APERTURA BOLSA AMERICANA / EUROPEA" = US / European stock-market open.
"Trading Sin Fronteras" = the author's brand name.
This script is open-source. Feel free to study it, learn from it and adapt it.
═══════════════════════ ESPAÑOL ═════════════════════════════
Indicador que marca las principales sesiones del mercado (Asia, Frankfurt, Londres y Nueva York) y sus killzones, más la apertura de las bolsas Europea y Americana, con un panel en vivo que muestra qué sesión está abierta y todos los horarios en tu hora local (por defecto, Argentina).
QUÉ DIBUJA
Sesiones: el máximo y el mínimo de cada sesión se marcan con líneas punteadas que abarcan toda la sesión (niveles de referencia de liquidez).
Killzones: la ventana de apertura de cada sesión se dibuja como una caja rellena con su rango máximo/mínimo.
Apertura de bolsas: la apertura de la bolsa Europea y la Americana se avisa con un cartel temporal y alertas opcionales.
Panel en vivo: lista cada sesión con su horario (convertido a tu huso) y su estado (abierta / cerrada / en killzone), un reloj y la sesión activa.
CÓMO FUNCIONA Los horarios se cargan en UTC (por eso las cajas caen siempre bien sin importar el huso del gráfico) y el panel los convierte a tu hora local. Las líneas y cajas se actualizan en vivo y quedan como referencia histórica.
CÓMO USARLO Agregalo a un gráfico intradía (1m–30m). Si tu broker usa otro huso, ajustá el offset UTC en los ajustes. Todo es configurable: colores, horarios, zona horaria y qué elementos mostrar. Para el aviso de apertura de bolsa, creá una alerta y elegí la condición correspondiente.
Script de código abierto — Trading Sin Fronteras.
════════════════════════ ENGLISH ═════════════════════════════
OVERVIEW This indicator highlights the main global trading sessions and their killzones directly on the chart, and flags the opening of the world's major stock exchanges. A live dashboard shows which session is currently open and displays every schedule converted to your local time. It is designed for intraday traders (recommended on 1m–30m timeframes) who structure their trading around session behavior, liquidity and volatility windows.
WHAT IT PLOTS
Sessions (Asia, Frankfurt, London, New York): each session's high and low are drawn as dotted horizontal lines spanning the session, marking the session range as liquidity-reference levels.
Killzones: the opening window of each session (where activity usually concentrates) is drawn as a filled box covering the high-to-low range of that window.
Stock exchange opens: the opening of the European and US cash-equity markets is flagged with a temporary on-chart banner and optional alerts.
Live dashboard: a panel listing every session with its schedule (converted to your chosen timezone) and its live status (open / closed / in killzone), a clock, and the currently active session.
HOW IT WORKS
Each session and killzone is defined by a time range in UTC and detected with Pine's time() function. Because the reference is UTC, the boxes stay correct regardless of the chart's exchange timezone.
The dashboard converts every UTC schedule to a display timezone (default: Argentina, UTC-3) so you read the times in your own local time.
Session high/low lines and killzone boxes update in real time as each window develops and remain afterward as historical reference.
A stock-exchange open is detected as the first bar of its configured market window; the banner appears on that bar and clears on the next one. Alerts fire once per opening.
HOW TO USE IT
Add the indicator to an intraday chart (1m–30m recommended).
In the settings, if your broker uses a timezone other than UTC, set the UTC offset so the sessions align with your candles.
Enable/disable any session, killzone or exchange, and customize colors and hours.
To be notified when a market opens, create an alert on the indicator and pick the "Apertura Bolsa Americana" / "Apertura Bolsa Europea" condition.
USER-INTERFACE TEXT (English translation) The panel and on-chart labels are written in Spanish. English meaning:
"TSF SESSIONS" = panel title.
"SESIÓN" = Session · "ARG" = local time (Argentina) · "ESTADO" = Status.
"ABIERTA" = Open · "cerrada" = closed · "KZ" = Killzone.
"BOLSAS DE VALORES" = Stock exchanges · "Europa" = Europe · "EE.UU." = USA.
"AHORA" = Now (currently active session).
"APERTURA BOLSA AMERICANA / EUROPEA" = US / European stock-market open.
"Trading Sin Fronteras" = the author's brand name.
This script is open-source. Feel free to study it, learn from it and adapt it.
═══════════════════════ ESPAÑOL ═════════════════════════════
Indicador que marca las principales sesiones del mercado (Asia, Frankfurt, Londres y Nueva York) y sus killzones, más la apertura de las bolsas Europea y Americana, con un panel en vivo que muestra qué sesión está abierta y todos los horarios en tu hora local (por defecto, Argentina).
QUÉ DIBUJA
Sesiones: el máximo y el mínimo de cada sesión se marcan con líneas punteadas que abarcan toda la sesión (niveles de referencia de liquidez).
Killzones: la ventana de apertura de cada sesión se dibuja como una caja rellena con su rango máximo/mínimo.
Apertura de bolsas: la apertura de la bolsa Europea y la Americana se avisa con un cartel temporal y alertas opcionales.
Panel en vivo: lista cada sesión con su horario (convertido a tu huso) y su estado (abierta / cerrada / en killzone), un reloj y la sesión activa.
CÓMO FUNCIONA Los horarios se cargan en UTC (por eso las cajas caen siempre bien sin importar el huso del gráfico) y el panel los convierte a tu hora local. Las líneas y cajas se actualizan en vivo y quedan como referencia histórica.
CÓMO USARLO Agregalo a un gráfico intradía (1m–30m). Si tu broker usa otro huso, ajustá el offset UTC en los ajustes. Todo es configurable: colores, horarios, zona horaria y qué elementos mostrar. Para el aviso de apertura de bolsa, creá una alerta y elegí la condición correspondiente.
Script de código abierto — Trading Sin Fronteras.
Release Notes
What's new:- Added a "Panel size" option (Small / Normal / Large) so the dashboard fits any screen — great for mobile so it doesn't cover the chart.
Novedades de esta versión:
- Nuevo control "Tamaño del panel" (Chico / Normal / Grande) para adaptarlo a cada pantalla — ideal para que no tape el gráfico en el celular.
Open-source script
In true PulseWire spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.
Open-source script
In true PulseWire spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by PulseWire. Read more in the Terms of Use.
