A fair value gap on Gold (XAUUSD) or any symbol is drawn only when the third candle closes: the low of candle three above the high of candle one for a bullish gap, the high of candle three below the low of candle one for a bearish gap. Gaps smaller than a fraction of ATR are skipped, so the chart keeps the imbalances that matter.
Each gap is followed after it forms. When price comes back, the box shrinks to the part that is still unfilled, so you see what is left of the imbalance, not the original rectangle. A gap is mitigated by touch, by the 50 percent line or by a full fill, as you choose, and then it is dimmed or removed.
It reads closed bars only, so what you see does not repaint. A gap is a zone where price often reacts, not a signal on its own. Combine it with structure and test it on your symbols before you trade it.
Any symbol, any timeframe, any broker. It only draws rectangles and lines on the chart, it never trades.
Run it on XAUUSD, EURUSD, GBPUSD, US30 or NAS100 and compare M5, M15 and H1: higher timeframes leave fewer gaps that hold longer. A gap left by the move that breaks structure is the classic Smart Money Concepts entry zone, so it pairs well with a BOS and CHoCH tool and with order blocks. The detection lives in XP_FindGap and the fill logic in XP_UpdateGaps, both easy to lift into your own EA as a filter or an entry trigger.
Open source. Use it as it is, adapt it, build your own version on top of it.
New versions and new tools are announced first on my MQL5 channel: https://www.mql5.com/en/channels/xander
Questions, suggestions and your own backtests are welcome in the Xander Lab group: https://www.mql5.com/en/messages/02eec85e4364dd01
More tools on my profile: https://www.mql5.com/en/users/09151993a
Provided as is, use at your own risk.
Ziga-Zaga Lite — рыночная структура по фракталам H1
Структура M5 как при ручной разметке: развороты берутся по фракталам H1, точки ставятся на настоящие экстремумы свечей M5. Волна никогда не проходит мимо экстремума, подтверждённые точки не перерисовываются.
Ondas de wolfe
This is an indicator that identifies Wolfe waves and plots them
Liquidity Sweep Equal Highs Lows
Liquidity indicator for MT5 on Gold (XAUUSD), forex and indices: equal highs and equal lows from swings, marked as swept when a wick runs the level and the candle closes back. Open source code.
Risk Lot Size Calculator Panel
Lot size calculator panel for MT5 on Gold (XAUUSD), forex and indices: risk in percent of balance, percent of equity or money, stop in points, exact loss per lot, one click Buy or Sell with stop and target. Open source code.