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. קרא עוד ב־תנאי השימוש.