PROTECTED SOURCE SCRIPT
Dual Layer FVG (Dynamic + Static)

Overview This indicator visualizes Fair Value Gaps (FVG) using a unique dual-layer approach. Standard FVG indicators usually either shrink as price touches them OR stay at their original size. This script combines both methods to give you a complete picture of market imbalance and mitigation.
Key Concepts
Dynamic FVG (Foreground): This layer represents the remaining gap. As price moves into the FVG (mitigation), this zone shrinks in real-time, showing you exactly how much unfilled imbalance is left.
Static FVG (Background/Ghost): This layer represents the original gap size. It remains fixed even when price penetrates it, allowing you to see the historical depth of the imbalance.
Features
Multi-Timeframe (MTF) Support: View Higher Timeframe (HTF) FVGs on your current chart (e.g., Daily FVG on a 1-hour chart).
Visual Customization: Fully adjustable colors and transparency for both the Dynamic and Static layers.
Mitigation Tracking: The gap is automatically removed only when it is fully mitigated.
Smart Labels: Toggle labels on/off and adjust their position (Top, Mid, Bottom) relative to the gap.
Settings Guide
Timeframe: Choose 'Chart' for current timeframe or select a specific HTF.
Dynamic FVG: Controls the shrinking zone. Usually set to a higher opacity.
Static FVG: Controls the fixed 'Ghost' zone. Recommended to keep transparency high (around 90) for a subtle background effect.
Max Bars Back: Adjusts how far back in history the script calculates. Increase this if you are viewing very high timeframe FVGs on very low timeframe charts.
Key Concepts
Dynamic FVG (Foreground): This layer represents the remaining gap. As price moves into the FVG (mitigation), this zone shrinks in real-time, showing you exactly how much unfilled imbalance is left.
Static FVG (Background/Ghost): This layer represents the original gap size. It remains fixed even when price penetrates it, allowing you to see the historical depth of the imbalance.
Features
Multi-Timeframe (MTF) Support: View Higher Timeframe (HTF) FVGs on your current chart (e.g., Daily FVG on a 1-hour chart).
Visual Customization: Fully adjustable colors and transparency for both the Dynamic and Static layers.
Mitigation Tracking: The gap is automatically removed only when it is fully mitigated.
Smart Labels: Toggle labels on/off and adjust their position (Top, Mid, Bottom) relative to the gap.
Settings Guide
Timeframe: Choose 'Chart' for current timeframe or select a specific HTF.
Dynamic FVG: Controls the shrinking zone. Usually set to a higher opacity.
Static FVG: Controls the fixed 'Ghost' zone. Recommended to keep transparency high (around 90) for a subtle background effect.
Max Bars Back: Adjusts how far back in history the script calculates. Increase this if you are viewing very high timeframe FVGs on very low timeframe charts.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由使用,沒有任何限制 — 點擊此處了解更多。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。