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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。