OPEN-SOURCE SCRIPT
HTF Candle Box ( 4H ) for CRT

DESCRIPTION:
This indicator overlays the Higher Timeframe (default: 4H) candle
structure directly on your lower timeframe chart (5min, 15min etc).
It draws 3 boxes for every HTF candle:
// - Body Box : The Open-Close range (Bullish = Blue, Bearish = Red)
// - Upper Wick : High to Body Top (Orange dotted) — Liquidity zone
// - Lower Wick : Body Bottom to Low (Orange dotted) — Liquidity zone
//
// WHY USE THIS?
// When you trade on 5min or 15min, it is easy to lose context of where
// price is within the bigger 4H candle. This tool keeps you aware:
// - Are we inside the body? (consolidation or trend continuation)
// - Are we in the wick zone? (liquidity sweep, possible reversal)
// - Where is the 4H open? (key reference level)
//
// SETTINGS:
// - Higher Timeframe : Change to 1H, Daily, Weekly as needed
// - Body & Wick colors are fully customizable
// - Open Price Line can be toggled on/off
//
// Works on any market: Forex, Crypto, Stocks, Indices.
// No repainting — uses lookahead_off.
This indicator overlays the Higher Timeframe (default: 4H) candle
structure directly on your lower timeframe chart (5min, 15min etc).
It draws 3 boxes for every HTF candle:
// - Body Box : The Open-Close range (Bullish = Blue, Bearish = Red)
// - Upper Wick : High to Body Top (Orange dotted) — Liquidity zone
// - Lower Wick : Body Bottom to Low (Orange dotted) — Liquidity zone
//
// WHY USE THIS?
// When you trade on 5min or 15min, it is easy to lose context of where
// price is within the bigger 4H candle. This tool keeps you aware:
// - Are we inside the body? (consolidation or trend continuation)
// - Are we in the wick zone? (liquidity sweep, possible reversal)
// - Where is the 4H open? (key reference level)
//
// SETTINGS:
// - Higher Timeframe : Change to 1H, Daily, Weekly as needed
// - Body & Wick colors are fully customizable
// - Open Price Line can be toggled on/off
//
// Works on any market: Forex, Crypto, Stocks, Indices.
// No repainting — uses lookahead_off.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.