OPEN-SOURCE SCRIPT
מעודכן 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.
הערות שחרור
Updating to fix the preview.סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.