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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。