OPEN-SOURCE SCRIPT
ICT Session Candle Counter

ICT Session Candle Counter
Counts and displays the number of candles from the start of each trading session and ICT killzone directly on the chart. Each candle is labeled with its sequential number within the active session, making it easy to track session progress and identify key candle counts at a glance.
Sessions & Hours (preset to make things easier)
Session Hours and Timezone
Tokyo (TSE): 09:00 – 15:25 [Asia/Tokyo (JST)]
London (LSE): 08:00 – 16:30 [Europe/London (GMT/BST)]
New York (NYSE): 09:30 – 16:00 [America/New_York (EST/EDT)]
Killzone Hours and Timezone
Tokyo KZ: 09:00 – 12:00 [Asia/Tokyo (JST)]
London KZ: 07:00 – 10:00 [Europe/London (GMT/BST)]
New York KZ: 08:00 – 11:00 [America/New_York (EST/EDT)]
Session hours sourced from tradinghours.com. Timezones auto-adjust for DST where applicable.
Features
Recommended use
Best suited for intraday timeframes (1m – 1h). Note: Pine Script limits labels to 500 per indicator — on very low timeframes with all sessions enabled, the oldest labels may be removed automatically.
Counts and displays the number of candles from the start of each trading session and ICT killzone directly on the chart. Each candle is labeled with its sequential number within the active session, making it easy to track session progress and identify key candle counts at a glance.
Sessions & Hours (preset to make things easier)
Session Hours and Timezone
Tokyo (TSE): 09:00 – 15:25 [Asia/Tokyo (JST)]
London (LSE): 08:00 – 16:30 [Europe/London (GMT/BST)]
New York (NYSE): 09:30 – 16:00 [America/New_York (EST/EDT)]
Killzone Hours and Timezone
Tokyo KZ: 09:00 – 12:00 [Asia/Tokyo (JST)]
London KZ: 07:00 – 10:00 [Europe/London (GMT/BST)]
New York KZ: 08:00 – 11:00 [America/New_York (EST/EDT)]
Session hours sourced from tradinghours.com. Timezones auto-adjust for DST where applicable.
Features
- Sequential candle count labels on each bar for all 3 sessions and 3 ICT killzones
- Display Mode: show counts for all sessions on the chart or only the most recent one (Last Only)
- Trim Overlaps: automatically stops plotting the earlier session's count when the next session begins (Tokyo → London → New York), preventing overlapping labels
- Per session/killzone configurable label position (Above Bar / Below Bar), text size (tiny to huge), and text color
- Individual visibility toggles for each session and killzone
Recommended use
Best suited for intraday timeframes (1m – 1h). Note: Pine Script limits labels to 500 per indicator — on very low timeframes with all sessions enabled, the oldest labels may be removed automatically.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.