Smart Structure by Javad (Smart-FVG)

Smart Structure by Javad (Smart-FVG)

Automatically Detect, Draw, and Track Fair Value Gaps (FVGs) in Real Time

Description:
Smart Structure by Javad (Smart-FVG) is an advanced Fair Value Gap indicator that automatically detects, classifies, and updates bullish and bearish imbalances in real time. Using refined 3-bar displacement logic, it highlights active gaps in green or red, marks wick-touches in gray when only candle wicks enter the zone, and removes zones completely once a candle body fully closes into them. The indicator includes customizable gap and body size filters, tick-based scaling, adjustable colors and line width, and a built-in limit for displayed zones—offering a clean, high-precision view of institutional inefficiencies ideal for Smart Money Concepts and ICT-style analysis.

Each zone is drawn as a clean rectangular border—green for bullish, red for bearish, and gray for mitigated zones. Once price trades back into a zone, SmartFVG intelligently marks it as mitigated and can optionally hide it from view for a clearer chart.

Features:

  • :magnifying_glass_tilted_left: Automatic Detection: Finds valid 3-bar displacement gaps instantly as they form.

  • :gear: Configurable Quality Filters: Skip weak setups using a customizable minimum candle body size.

  • :brain: Smart Mitigation Logic: Choose between Full (complete fill) or Partial (first touch) mitigation modes.

  • :three_o_clock: Historical Tracking: Visualize each FVG’s lifecycle from creation to mitigation, with optional display of filled zones.

  • :artist_palette: Custom Styling: User-defined colors, line widths, and mitigation color for tailored chart visuals.

  • :high_voltage: Optimized for Real-Time Analysis: Works seamlessly on any timeframe or instrument.

Parameters:

  • fvgGap – Minimum gap size (price units).

  • minBodySize – Minimum body size of the displacement candle.

  • mitigationType – Choose full or partial mitigation.

  • showMitigatedZones – Toggle to display or hide filled zones.

  • bullishBorderColor, bearishBorderColor, mitigatedColor – Custom colors for each zone type.

  • lineWidth – Outline thickness.

Visual Output:

  • :green_square: Bullish FVG: Gap between the previous high and the next low.

  • :red_square: Bearish FVG: Gap between the previous low and the next high.

  • :white_large_square: Mitigated zones displayed in gray (optional).

Ideal Use Case:
For traders using Smart Money Concepts (SMC) or ICT-style analysis, SmartFVG provides an automated, accurate visualization of market inefficiencies and liquidity imbalances—helping you focus on premium setups without manually drawing zones.