Multi-Timeframe Supply & DemandMulti-Timeframe Supply & Demand (MTF S&D) is an automatic higher timeframe zone detection indicator designed for traders who use supply and demand, support and resistance, and multi-timeframe analysis in their trading approach. This script dynamically maps your current chart timeframe to logical higher timeframes and plots structured supply and demand zones directly on your chart. The goal is to help traders align entries with higher timeframe liquidity areas and improve overall market context awareness.
Unlike static support and resistance tools, this indicator automatically adjusts to your chart timeframe. For example, lower intraday charts will map to relevant higher intraday timeframes, while higher timeframe charts will map to daily, weekly, or monthly structures when applicable. This allows traders to stay aligned with broader market structure without manually switching timeframes.
Zones are created using swing pivot structure and ATR-based calculations to maintain adaptive zone width across different market conditions. A built-in proximity filter prevents overlapping or duplicate zones, helping to keep charts clean and readable. The script also includes a zone memory system that tracks touches and age. Each time price interacts with a zone, its strength score increases. Transparency dynamically adjusts based on touch count and age, visually ranking zones by relevance. Invalidated zones are automatically removed when price closes beyond them, ensuring that only active structure remains on the chart. A maximum zone limiter is included to maintain performance and visual clarity.
This indicator is designed to support discretionary traders. It does not generate buy or sell signals, alerts, or automated trade entries. Instead, it provides structured higher timeframe reference areas that traders can incorporate into their own strategy, confirmation rules, and risk management plans.
How to use:
• Apply to any timeframe.
• Enable or disable HTF layers from the settings panel.
• Use higher timeframe zones for bias, reaction areas, and trade location planning.
• Combine with your preferred confirmation tools such as market structure, candlestick patterns, or volume analysis.
This script is suitable for day traders, swing traders, and multi-timeframe analysts across forex, crypto, indices, and stocks.
Disclaimer: This indicator is provided for educational and informational purposes only. It does not constitute financial advice or investment recommendations. Trading involves substantial risk, and past performance does not guarantee future results. Always conduct your own analysis and use proper risk management before making trading decisions.
Pine Script® Indikator






















