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 open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.