OPEN-SOURCE SCRIPT
Updated

HTF Session Boxes H4 > H2 > H1

133
HTF Session Boxes H4 > H2 > H1
Visualize higher timeframe candle structures on lower timeframe charts with nested, customizable boxes.

Overview
HTF Session Boxes plots 4-hour, 2-hour, and 1-hour candle ranges as nested boxes directly on your lower timeframe charts (15M and below). This provides instant visual context of higher timeframe structure without switching between different chart timeframes.

Key Features
- Three Timeframe Levels: Simultaneously displays 4H, 2H, and 1H candle boxes
- Nested Design: Boxes are layered inside each other for clear hierarchical structure
- Real-Time Updates: Boxes dynamically adjust as higher timeframe candles develop

Fully Customizable:
-Individual colors and transparency for each timeframe
-Custom border colors, widths, and styles (solid, dashed, dotted)
-Toggle each timeframe on/off independently


Best Use Cases
-Scalping & Day Trading: Maintain awareness of higher timeframe structure while trading lower
timeframes
-Session Analysis: Clearly see 4H session boundaries and internal 2H/1H divisions
-Support/Resistance: Identify key levels where higher timeframe candles open, close, or create
highs/lows
-Multi-Timeframe Confluence: Spot when multiple timeframes align at key price levels
Release Notes
-Added H4 labels

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.