OPEN-SOURCE SCRIPT
Actualizado HTF Candles [theUltimator5]

Overlay higher timeframe candles on any lower timeframe chart with real-time updates.
This indicator displays the full structure of each higher timeframe (HTF) candle—including open-close bodies and full wicks—directly on your current chart. Great for multi-timeframe traders who want to align short-term entries with broader market context.
🔹 Features:
🛠️ How to Use:
📌 Example: Use a 5-minute chart with a 1-hour HTF overlay to track hourly market structure without switching timeframes.
This indicator displays the full structure of each higher timeframe (HTF) candle—including open-close bodies and full wicks—directly on your current chart. Great for multi-timeframe traders who want to align short-term entries with broader market context.
🔹 Features:
- View higher timeframe candles (e.g., 1H, 4H, Daily) on intraday charts
- Dynamic candle bodies that update in real-time
- Accurate wick representation with auto-redrawing
- Customizable bullish/bearish colors and transparency
- Efficient object management for minimal clutter
🛠️ How to Use:
- Add this indicator to a lower timeframe chart (e.g., 1m, 5m, or 15m).
- Select a higher timeframe (must be greater than your chart timeframe).
- Customize your candle colors and transparency for better visibility.
- Watch as each higher timeframe candle evolves live with every bar.
📌 Example: Use a 5-minute chart with a 1-hour HTF overlay to track hourly market structure without switching timeframes.
Notas de prensa
I added the option to change the fill color relative to the lines, and added the option to change the line thickness.Notas de prensa
Updated chart to properly show indicator name in order to meet publication house rules.Notas de prensa
Major updates to indicator.1) I fixed the logic with some of the wicks failing to plot. This was due to the wicks only plotting conditionally. I changed the logic to always plot wicks, even if they result in a length of 0.
2) I added HTF candle pattern detection. I included a large number of patterns that can be selected (all are defaulted to off) and it will show the candlestick pattern name above or below the candle if one is detected.
Notas de prensa
Minor update - fixed logic that was causing sweep patterns to not turn off if the "Show Chart Patterns" checkbox was turned off.Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.