OPEN-SOURCE SCRIPT
Session Candles (3 Sessions)

This indicator displays three custom trading sessions as individual candles directly on your chart, plus a live sidebar view to the right of the last bar for quick reference.
It is inspired by Daily Volume Profile [Amtrades] made by apiyada_inversion.
Sessions covered (all times EST):
Session 1: 18:00 – 01:00 (Asian session)
Session 2: 01:00 – 08:00 (London session)
Session 3: 08:00 – 14:00 (New York session)
How it works:
Each session candle starts forming at its open time and freezes when the session closes. The sidebar candles appear one by one as each session begins — at 18:00 only S1 is visible, at 01:00 S2 is added, at 08:00 S3 is added. When the next cycle starts at 18:00, the board resets.
Take / Sweep detection:
Red dotted lines automatically appear on the sidebar candles when a later session takes out the high or low of an earlier session. This helps instantly identify liquidity sweeps and session range breaks.
Features:
Sidebar candles positioned to the right of the last bar, updating live
Individual bull/bear/wick color controls for each session
Adjustable sidebar candle width, gap and offset
Optional OHLC labels on overlay candles
All times handled automatically for EST
Best used on intraday timeframes: 5m, 15m, 1H.
It is inspired by Daily Volume Profile [Amtrades] made by apiyada_inversion.
Sessions covered (all times EST):
Session 1: 18:00 – 01:00 (Asian session)
Session 2: 01:00 – 08:00 (London session)
Session 3: 08:00 – 14:00 (New York session)
How it works:
Each session candle starts forming at its open time and freezes when the session closes. The sidebar candles appear one by one as each session begins — at 18:00 only S1 is visible, at 01:00 S2 is added, at 08:00 S3 is added. When the next cycle starts at 18:00, the board resets.
Take / Sweep detection:
Red dotted lines automatically appear on the sidebar candles when a later session takes out the high or low of an earlier session. This helps instantly identify liquidity sweeps and session range breaks.
Features:
Sidebar candles positioned to the right of the last bar, updating live
Individual bull/bear/wick color controls for each session
Adjustable sidebar candle width, gap and offset
Optional OHLC labels on overlay candles
All times handled automatically for EST
Best used on intraday timeframes: 5m, 15m, 1H.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
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.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
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.