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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.