OPEN-SOURCE SCRIPT
SMC MTF Market Structure + FVG

This is a fully customizable Multi-Timeframe (MTF) Market Structure indicator designed specifically for SMC (Smart Money Concepts) and Price Action traders. It overlays true Higher Timeframe (HTF) structure onto your current chart, allowing you to maintain a top-down perspective without switching tabs.
While it defaults to the 4-Hour (4h) timeframe, you can fully adjust this to the 1h, Daily, or Weekly in the settings to align with your specific trading strategy.
Key Features
Dynamic MTF Overlay: Select any Higher Timeframe (HTF) in the settings. The script calculates true pivots on the HTF and projects them onto your current chart using non-repainting logic.
Active Dealing Range: Automatically identifies and displays the current Swing High and Swing Low of the selected HTF, helping you stay oriented within the market cycle.
Equilibrium (50% Level): Clearly marks the midpoint of the dealing range. This is essential for identifying Premium (Sell) vs. Discount (Buy) zones to ensure you are never "buying the top" or "selling the bottom."
HTF Fair Value Gaps (FVG): Detects and highlights unmitigated FVGs from your selected HTF. These act as high-probability Points of Interest (POIs) for entries or targets.
Visuals & Logic
Bullish/Bearish Labels: Clearly distinguishes between CHoCH (Change of Character/Trend Reversal) and BOS (Break of Structure/Trend Continuation).
Clean Interface: Designed to keep your chart clutter-free, with continuation signals (BOS) styled more subtly than reversals.
Zero Repaint Guarantee: Unlike many MTF scripts, this indicator uses closed-candle data from the HTF. This means signals are fixed once the HTF candle closes, making it reliable for backtesting and live execution.
How to Use
Setup: Add the script to a lower timeframe chart (e.g., 5m or 15m).
Configuration: Open Settings and select your desired "Higher Timeframe" (Default is 240/4h).
Strategy:
Identify the HTF Trend via the BOS/CHoCH labels.
Look for the price to return to an HTF FVG.
Ensure the entry is in the Discount zone (for longs) or Premium zone (for shorts) using the Equilibrium line.
Disclaimer
This indicator is an analysis tool and does not constitute financial advice. Always combine MTF structure with your own confirmation entries and risk management.
While it defaults to the 4-Hour (4h) timeframe, you can fully adjust this to the 1h, Daily, or Weekly in the settings to align with your specific trading strategy.
Key Features
Dynamic MTF Overlay: Select any Higher Timeframe (HTF) in the settings. The script calculates true pivots on the HTF and projects them onto your current chart using non-repainting logic.
Active Dealing Range: Automatically identifies and displays the current Swing High and Swing Low of the selected HTF, helping you stay oriented within the market cycle.
Equilibrium (50% Level): Clearly marks the midpoint of the dealing range. This is essential for identifying Premium (Sell) vs. Discount (Buy) zones to ensure you are never "buying the top" or "selling the bottom."
HTF Fair Value Gaps (FVG): Detects and highlights unmitigated FVGs from your selected HTF. These act as high-probability Points of Interest (POIs) for entries or targets.
Visuals & Logic
Bullish/Bearish Labels: Clearly distinguishes between CHoCH (Change of Character/Trend Reversal) and BOS (Break of Structure/Trend Continuation).
Clean Interface: Designed to keep your chart clutter-free, with continuation signals (BOS) styled more subtly than reversals.
Zero Repaint Guarantee: Unlike many MTF scripts, this indicator uses closed-candle data from the HTF. This means signals are fixed once the HTF candle closes, making it reliable for backtesting and live execution.
How to Use
Setup: Add the script to a lower timeframe chart (e.g., 5m or 15m).
Configuration: Open Settings and select your desired "Higher Timeframe" (Default is 240/4h).
Strategy:
Identify the HTF Trend via the BOS/CHoCH labels.
Look for the price to return to an HTF FVG.
Ensure the entry is in the Discount zone (for longs) or Premium zone (for shorts) using the Equilibrium line.
Disclaimer
This indicator is an analysis tool and does not constitute financial advice. Always combine MTF structure with your own confirmation entries and risk management.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.