OPEN-SOURCE SCRIPT
Realtime HTF Candle [NLR]

This lightweight indicator displays higher timeframe candles on your current chart - in real-time as they form, not just after they close.
Unlike most HTF candle indicators that only show completed candles (and often feel bloated with too many features), this script updates the current HTF candle live, including its open, high, low, and close as it develops.
🔹 Features:
Perfect for intraday traders who want to stay aligned with higher timeframe structure without clogging up their charts.
Unlike most HTF candle indicators that only show completed candles (and often feel bloated with too many features), this script updates the current HTF candle live, including its open, high, low, and close as it develops.
🔹 Features:
- Draws full-body HTF candles (high-to-low and open-to-close ranges).
- Supports any custom HTF (e.g., 15m candles on a 1m chart).
- Color-coded boxes to differentiate between bullish and bearish candles.
- Live updating HTF candle box as price evolves — no delay.
- Optional moving average overlays with smoothing to help track short- and long-term trends.
Perfect for intraday traders who want to stay aligned with higher timeframe structure without clogging up their charts.
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.