PROTECTED SOURCE SCRIPT

HTF Context Dashboard

46
This indicator is a comprehensive Multi-Timeframe (MTF) Dashboard designed to provide traders with immediate context on the Monthly (M), Weekly (W), and Daily (D) price action without needing to switch charts. It combines institutional market structure logic with a built-in volatility filter (ADR) to help traders identify high-probability conditions and avoid over-extended markets.

How It Works
The script analyzes the relationship between the current candle and the previous candle's High, Low, and Close across three higher timeframes simultaneously. It classifies market conditions into three specific templates:

1. CIB (Closure In Breakout)

Logic: A "CIB" signal is generated when a candle closes above the previous candle's High (Bullish) or below the previous candle's Low (Bearish).

Significance: This indicates Expansion and strong directional momentum.

2. IB (Inside Bar)

Logic: An "IB" signal is generated when a candle's entire range (High to Low) is contained within the previous candle's range.

Significance: This indicates Contraction or equilibrium. It is often a precursor to volatility expansion.

3. Range

Logic: The candle has not closed outside the previous range, nor is it an inside bar.

Significance: This represents indecision or a transition phase.

Live Breakout Detection
While the text labels (CIB, IB, Range) are based on closed candles (for Monthly and Weekly), the Background Colours are dynamic for the current session:

Gray: Price is trading within the previous range.

Green: Price is currently breaking above the previous High (Live Breakout).

Red: Price is currently breaking below the previous Low (Live Breakdown).

Risk Management: The ADR "Gas Tank"
A unique feature of this dashboard is the integrated Average Daily Range (ADR) monitor located in the Daily column.

Calculation: The script calculates the simple moving average (SMA) of the Daily Range (High - Low) over the last 5 days.

Percentage Display: It displays the current day's range as a percentage of the ADR. For example, "85%" means the price has covered 85% of its average expected move.

"TIRED" Mode: If the current range exceeds 100% of the ADR (or a user-defined threshold), the dashboard turns Gray and displays "TIRED". This serves as a warning that the market may be statistically over-extended/exhausted, helping traders avoid chasing moves late in the day.

Settings & Customization
Template Colours: Fully customizable colours for Bullish, Bearish, and Neutral states.

ADR Filter: Toggle the "TIRED" warning on or off.

Positioning: Move the table to any corner of the chart (Top/Bottom, Left/Right).

Size: Adjust the text size to fit your screen resolution.

Disclaimer: This tool is for informational purposes only and does not constitute financial advice. Past performance is not indicative of future results.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.