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.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.