Equal highs and equal lows on Gold (XAUUSD) or any symbol are drawn as liquidity lines: two or more confirmed swings that end within a small distance, measured as a fraction of ATR, with no candle between them running the level first. Every new swing at the same price adds a touch to the line.
When a later candle trades beyond the line and closes back inside, the level is marked as swept, the buy side or sell side liquidity was taken and price returned. When the candle closes beyond the line, the level is marked as taken instead, so a real breakout is not confused with a sweep.
Swings are confirmed on closed bars, so the lines appear a few bars after the second swing and do not repaint. A sweep shows where stops were run, it does not say where price goes next. Test it on your symbols before you trade it.
Any symbol, any timeframe, any broker. It only draws lines and labels, it never trades.
Try it on XAUUSD, EURUSD, GBPUSD, US30 and NAS100 on M5, M15 and H1. A tighter tolerance keeps only clean double tops and bottoms, a wider one finds more pools. Liquidity sweeps are the first step of many Smart Money Concepts setups: the sweep, then a change of character, then a return to an order block or a fair value gap. XP_AddSwing builds the levels and XP_CheckSweeps classifies sweep or taken, both ready to reuse as a filter in your own EA.
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.
Fair Value Gap Zones Tracker
Fair value gap (FVG) indicator for MT5 on Gold (XAUUSD), forex and indices: three candle gaps on closed bars, ATR size filter, the open part shrinks as price fills it, mitigation by touch, midline or full fill. Open source code.
Ziga-Zaga Lite — рыночная структура по фракталам H1
Структура M5 как при ручной разметке: развороты берутся по фракталам H1, точки ставятся на настоящие экстремумы свечей M5. Волна никогда не проходит мимо экстремума, подтверждённые точки не перерисовываются.
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.
MACD Signals
Indicator edition for new platform.