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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.