OPEN-SOURCE SCRIPT
Three-Candle Lookback

This indicator projects three synthetic candles to the right of live price so you can see the structure of the last completed 15-minute, 4-hour, and 6-hour sessions at a glance — without switching timeframes.
🔵 Blue — 15m candle
🟠 Orange — 4H candle
🟣 Purple — 6H candle
Each candle shows the session's open, high, low, and close, with the high/low marked by lines and the session name labelled above it. Colors are fixed (they don't flip green/red), so you can tell the sessions apart instantly.
Settings: each candle's color, the offset from the last bar, and the spacing between candles are all adjustable. If a candle isn't visible, it's sitting off the right edge — scroll right, or reduce the offset/spacing values.
🔵 Blue — 15m candle
🟠 Orange — 4H candle
🟣 Purple — 6H candle
Each candle shows the session's open, high, low, and close, with the high/low marked by lines and the session name labelled above it. Colors are fixed (they don't flip green/red), so you can tell the sessions apart instantly.
Settings: each candle's color, the offset from the last bar, and the spacing between candles are all adjustable. If a candle isn't visible, it's sitting off the right edge — scroll right, or reduce the offset/spacing values.
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.