OPEN-SOURCE SCRIPT
Fair Value Gaps (SMC/ICT)

Fair Value Gaps (SMC/ICT) — TradingATH
Precision. Imbalance. Opportunity.
This advanced indicator automatically detects and visualizes Fair Value Gaps (FVGs) revealing the inefficiencies left in price delivery where institutional order flow has displaced liquidity. Each gap is cleanly mapped, color-coded, and dynamically managed, helping traders identify where price may seek to rebalance in the future.
Engineered for Smart Money Concepts (SMC/ICT) Traders, it delivers a disciplined, minimal, and highly responsive visualization of market inefficiencies — enabling precise alignment with institutional order flow and mitigation behavior.
What You’ll See
Features
Perfect For
Recommended Settings
In Short
Institutional logic. Visual clarity. Trading precision.
Fair Value Gaps (SMC/ICT) — TradingATH provides a clean, data-driven visualization of inefficiencies in price delivery, helping traders anticipate rebalancing and liquidity re-tests with exceptional clarity and professional design.
Created by: TradingATH
Precision. Imbalance. Opportunity.
This advanced indicator automatically detects and visualizes Fair Value Gaps (FVGs) revealing the inefficiencies left in price delivery where institutional order flow has displaced liquidity. Each gap is cleanly mapped, color-coded, and dynamically managed, helping traders identify where price may seek to rebalance in the future.
Engineered for Smart Money Concepts (SMC/ICT) Traders, it delivers a disciplined, minimal, and highly responsive visualization of market inefficiencies — enabling precise alignment with institutional order flow and mitigation behavior.
What You’ll See
- Bullish FVGs represented as soft green zones indicating bullish imbalances where price is likely to revisit for rebalancing.
- Bearish FVGs shown in refined red tones, marking bearish inefficiencies and potential short-term premium zones.
- Dynamic or Static Mode — choose between continuously updating live zones or static historical boxes extending for a controlled bar length.
- Smart Labels displayed within each zone identifying “Bullish FVG (Fair Value Gap)” or “Bearish FVG (Fair Value Gap)” with fully customizable text colors.
- Mitigation Lines optionally plotted once price closes through a gap, confirming rebalancing and structural cleanup.
- Optional Dashboard providing a clear count of active, mitigated, and total FVGs in both bullish and bearish contexts.
Features
- Auto Detection Logic: Precisely identifies FVGs using refined three-candle displacement logic with adjustable threshold sensitivity.
- Dynamic Zones: Live FVGs compress and evolve in real-time as price re-enters inefficiencies, maintaining structural accuracy.
- Smart Mitigation: Automatically removes or softens zones once filled or mitigated, keeping your chart focused and clean.
- Visual Precision: Professional color balance, typography, and spacing ensure a refined institutional-grade presentation.
- Alert System: Configurable alerts for new FVG formations and mitigation events to stay aligned with live liquidity flow.
- Performance Optimized: Built with efficient arrays and conditional logic for flawless responsiveness on all timeframes.
- ICT/SMC Integration: Fully compatible with complementary SMC tools like Order Blocks, Liquidity Sweeps, and Market Structure Shifts.
Perfect For
- SMC/ICT Traders analyzing price delivery imbalances and mitigation behavior.
- Intraday Traders tracking high-probability rebalancing setups within institutional killzones.
- Swing Traders identifying unmitigated imbalances as key areas of interest for future reversals.
- Analysts & Educators who demand clarity, precision, and reliability in their institutional models.
Recommended Settings
- Timeframe: 1H–4H (for structural precision).
- Mode: Dynamic = off for backtesting; on for live reactive monitoring.
- Extend: 20 bars for balanced visibility.
- Threshold %: 0.10–0.25% for adaptive sensitivity.
- Mitigation Lines: Enabled for visual confirmation of rebalancing.
In Short
Institutional logic. Visual clarity. Trading precision.
Fair Value Gaps (SMC/ICT) — TradingATH provides a clean, data-driven visualization of inefficiencies in price delivery, helping traders anticipate rebalancing and liquidity re-tests with exceptional clarity and professional design.
Created by: TradingATH
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。