OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
Updating to fix the preview.Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.