OPEN-SOURCE SCRIPT
Session Range Boxes(MTF)

📦 Indicator Name
Session Range Boxes (MTF)
Multi-Timeframe Directional Session Range Visualization
📘 Description
Session Range Boxes (MTF) is a multi-timeframe market structure tool that visually highlights price range behavior across different time sessions using clean, directional range boxes.
Each box represents the High–Low range of a completed or live session, automatically colored based on directional bias:
🟢 Bullish → Session Close > Session Open
🔴 Bearish → Session Close < Session Open
⚪ Neutral → Session Close = Session Open
This allows traders to instantly identify trend strength, balance zones, volatility expansion, and key support/resistance areas across multiple timeframes — all on a single chart.
🔍 What This Indicator Shows
For every enabled timeframe, the indicator:
Draws a range box from session open to session close
Continuously updates live session High & Low
Locks the final color once the session completes
Keeps historical boxes for structure and context
Supported timeframes:
Quarterly
Half-Yearly
Yearly
Monthly
Weekly
Daily
Hourly
30-Minute
15-Minute
5-Minute
⚙️ Default Behavior
By default, the indicator enables:
Weekly
Daily
Hourly
This default setup is intentionally chosen to suit most traders and provides:
Higher-timeframe structure (Weekly)
Swing context (Daily)
Intraday execution levels (Hourly)
🧠 How to Use It Effectively
📈 Higher-Timeframe Analysis (Swing / Positional Trading)
Recommended combinations:
Weekly + Daily
Monthly + Weekly
Use cases:
Identify dominant market bias
Spot compression vs expansion
Define higher-timeframe support & resistance zones
⚡ Intraday Trading (Day Trading)
Recommended combinations:
Daily + Hourly
Hourly + 30-Minute
Use cases:
Track intraday range development
Identify directional day types
Trade breakouts, rejections, or mean-reversion within session ranges
🚀 Scalping & Precision Entries
Recommended combinations:
Hourly + 15-Minute
30-Minute + 5-Minute
Use cases:
Fine-tune entries within larger session ranges
Align lower-timeframe trades with higher-timeframe bias
Spot micro range expansion and contraction
🎨 Customization Options
Bullish / Bearish / Neutral colors
Box fill transparency
Border transparency & color
Maximum historical boxes per timeframe
This allows you to keep charts clean, lightweight, and performance-friendly.
💡 Best Practices
Avoid enabling too many timeframes at once — clarity beats clutter
Use higher-timeframe boxes for bias, lower-timeframe boxes for entries
Combine with:
Market structure
Volume
VWAP
Liquidity concepts
Price action confirmation
Session Range Boxes (MTF) is a clean, powerful visual tool designed to help traders:
Understand session-based price behavior
Align trades across timeframes
Improve structure awareness without clutter
Whether you are a scalper, day trader, or swing trader, this indicator adapts seamlessly to your workflow.
Session Range Boxes (MTF)
Multi-Timeframe Directional Session Range Visualization
📘 Description
Session Range Boxes (MTF) is a multi-timeframe market structure tool that visually highlights price range behavior across different time sessions using clean, directional range boxes.
Each box represents the High–Low range of a completed or live session, automatically colored based on directional bias:
🟢 Bullish → Session Close > Session Open
🔴 Bearish → Session Close < Session Open
⚪ Neutral → Session Close = Session Open
This allows traders to instantly identify trend strength, balance zones, volatility expansion, and key support/resistance areas across multiple timeframes — all on a single chart.
🔍 What This Indicator Shows
For every enabled timeframe, the indicator:
Draws a range box from session open to session close
Continuously updates live session High & Low
Locks the final color once the session completes
Keeps historical boxes for structure and context
Supported timeframes:
Quarterly
Half-Yearly
Yearly
Monthly
Weekly
Daily
Hourly
30-Minute
15-Minute
5-Minute
⚙️ Default Behavior
By default, the indicator enables:
Weekly
Daily
Hourly
This default setup is intentionally chosen to suit most traders and provides:
Higher-timeframe structure (Weekly)
Swing context (Daily)
Intraday execution levels (Hourly)
🧠 How to Use It Effectively
📈 Higher-Timeframe Analysis (Swing / Positional Trading)
Recommended combinations:
Weekly + Daily
Monthly + Weekly
Use cases:
Identify dominant market bias
Spot compression vs expansion
Define higher-timeframe support & resistance zones
⚡ Intraday Trading (Day Trading)
Recommended combinations:
Daily + Hourly
Hourly + 30-Minute
Use cases:
Track intraday range development
Identify directional day types
Trade breakouts, rejections, or mean-reversion within session ranges
🚀 Scalping & Precision Entries
Recommended combinations:
Hourly + 15-Minute
30-Minute + 5-Minute
Use cases:
Fine-tune entries within larger session ranges
Align lower-timeframe trades with higher-timeframe bias
Spot micro range expansion and contraction
🎨 Customization Options
Bullish / Bearish / Neutral colors
Box fill transparency
Border transparency & color
Maximum historical boxes per timeframe
This allows you to keep charts clean, lightweight, and performance-friendly.
💡 Best Practices
Avoid enabling too many timeframes at once — clarity beats clutter
Use higher-timeframe boxes for bias, lower-timeframe boxes for entries
Combine with:
Market structure
Volume
VWAP
Liquidity concepts
Price action confirmation
Session Range Boxes (MTF) is a clean, powerful visual tool designed to help traders:
Understand session-based price behavior
Align trades across timeframes
Improve structure awareness without clutter
Whether you are a scalper, day trader, or swing trader, this indicator adapts seamlessly to your workflow.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。