OPEN-SOURCE SCRIPT
Mis à jour XRS FVG Auto Mitigate

XRS FVG Auto Mitigate is a Fair Value Gap tool designed to detect bullish and bearish FVGs and visually track how much of each gap has been mitigated.
The indicator marks new fair value gaps directly on the chart and displays a percentage label showing the current mitigation level. This makes it easier to see whether an FVG is untouched, partially filled, or mostly mitigated.
Features include:
• Bullish and bearish Fair Value Gap detection
• Fixed-width FVG boxes
• Halfway / 50% line inside each FVG
• Live mitigation percentage label
• Optional auto-removal when mitigation reaches a selected percentage
• Custom number of active FVGs to keep on chart
• Custom bullish and bearish fill/border colors
• Hardened delete and array-sync logic for more stable long-running use
This tool is useful for traders who use Fair Value Gaps, imbalances, mitigation, displacement, liquidity sweeps, and auction-market context. It can help identify potential reaction zones, partial fills, full mitigation areas, and areas where price may return to rebalance.
This indicator does not provide automatic buy or sell signals. It is intended as a discretionary charting and confluence tool.
Disclaimer: This script is for educational and informational purposes only and does not constitute financial advice. Trading involves risk. Use at your own discretion.
The indicator marks new fair value gaps directly on the chart and displays a percentage label showing the current mitigation level. This makes it easier to see whether an FVG is untouched, partially filled, or mostly mitigated.
Features include:
• Bullish and bearish Fair Value Gap detection
• Fixed-width FVG boxes
• Halfway / 50% line inside each FVG
• Live mitigation percentage label
• Optional auto-removal when mitigation reaches a selected percentage
• Custom number of active FVGs to keep on chart
• Custom bullish and bearish fill/border colors
• Hardened delete and array-sync logic for more stable long-running use
This tool is useful for traders who use Fair Value Gaps, imbalances, mitigation, displacement, liquidity sweeps, and auction-market context. It can help identify potential reaction zones, partial fills, full mitigation areas, and areas where price may return to rebalance.
This indicator does not provide automatic buy or sell signals. It is intended as a discretionary charting and confluence tool.
Disclaimer: This script is for educational and informational purposes only and does not constitute financial advice. Trading involves risk. Use at your own discretion.
Notes de version
Updating to fix the preview.Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.