SMARTLIQUIDITYGOLD Get on MQL5
XAUUSD · M15
SMART

LIQUIDITY

GOLD

An MT5 Expert Advisor that finds the unbroken highs and lows where stop orders pile up, waits at that level with one stop order, and protects it with a hard stop loss and take profit from the first second.

  • No martingale
  • No grid
  • No averaging
  • Hard SL & TP
TP +1.56% BSL · unbroken swing high SL · SSL (max 0.78%) BUY STOP trailing SL
Buy-side liquidityA swing high price has not closed above yet. The entry sits here.
Sell-side liquidityThe opposite swing low. The stop loss goes here, never further than 0.78%.
Take profitFixed at 1.56% of price, twice the maximum stop distance.
Net growth+2,398%
Win rate85.09%
Profit factor1.49
Sharpe5.41
Max equity DD25.87%
The method

How it hunts liquidity

On every new M15 bar the EA runs the same four checks. Select a step to see it on the chart.

TREND: BULLISH Buy-side liquidity Sell-side liquidity BUY STOP TP 1.56% SL Waiting for the sweep… SL steps up FILLED · TRAILING

Backtest

Jan 2024 – Oct 2026

XAUUSD M15, 100% real ticks (270 million ticks), $1,000 start, Risk Percent mode at 5% per trade.

Final balance $24,985

From $1,000, net profit $23,984.72 over 1,100 trades. 28 of 34 months closed in profit.

Return by year
Balance curve

Hover or drag across the chart to read the balance.

Monthly return

Percent change of the balance in each month. Gold is a profitable month, red a losing month.

Long trades won88.43%
Short trades won81.60%
Max consecutive wins26
Max consecutive losses3
Recovery factor4.93
Max balance DD22.99%
Avg. holding time3h 23m
Expected payoff$21.80
MT5 strategy tester balance graph, Jan 2024 to Oct 2026
Balance graph from the MT5 strategy tester.
Entries and profit by hour, weekday and month
Entries and profit by hour, weekday and month.
MFE and MAE scatter charts
MFE / MAE: how far trades went for and against before closing.
Profit by position holding time
Profit by holding time. Most trades close within 8 hours.

Want every trade? The full MT5 strategy tester report is published here.

Open full MT5 report

Before you compare. Lots grow with the balance in Risk % mode, so most of the dollar growth comes from 2025–2026. The highest relative equity drawdown was 28.01%. At 5% risk the average losing trade is about four times the average winner, which the 85% win rate has to carry. A lower risk than 5% gives a smoother curve. Backtests do not guarantee future results.

SIGNAL ONLINE

Watch it trade live

A real account runs the EA in public on MQL5. Check every fill, the drawdown and each closed trade before you decide.

Open live signal
symbolXAUUSD
signal timeframeM15
positions at once1
ordersBuy stop / Sell stop
stop lossAlways attached
signal startedOct 2026
Protection

Built to survive the wrong trade

No position stacking and nothing that waits for the market to come back. If a trade is wrong, the stop loss closes it.

Martingale
Grid
Averaging
Hedging

One position only

While a trade is open every pending order is removed. Never more than one position on the symbol.

Hard stop loss

At the opposite liquidity, capped at 0.78% of price, attached to the order before it fills.

Step trailing

From +0.18% the stop loss moves up in small steps. Optional spread and commission compensation.

Session & Friday filter

Trades inside the broker session only and stops new entries 6 hours before the Friday close by default.

Gold holiday filter

Pauses around Good Friday, Christmas, New Year and US early-close days such as Thanksgiving.

Spread & daily limit

Optional maximum spread in points and a cap on new entries per day.

Lot size & risk

You decide the risk

Every lot mode keeps the same entries, stop loss and take profit. Only the size changes.

Lot modes

  • Lot is checked against free margin (max 95%) before every order.
  • Lot is never multiplied after a losing trade.
  • Direction can be Both, Buy only or Sell only.

Risk per trade

Quick estimate for Risk % mode.

$1,000
2.0%
$20

Maximum loss on one trade

$59

After 3 losses in a row, the longest streak in the backtest

On your chart

Every order in view

The panel shows your account, open positions, pending stop orders and the next USD news, so you always know what the EA is doing.

  • Optional drawings: liquidity lines, order blocks, BOS and MSS markers.
  • Stop loss shown in money next to each pending order.
  • The first profit-lock trigger drawn as a line.
SMART LIQUIDITY GOLD v1
ACCOUNT 12345678 USD
SERVER Broker-Live
BALANCE 1250.40 EQUITY 1262.15
MARGIN 48.20 FREE 1213.95

TRADING MONITOR
SYMBOL XAUUSD | MAGIC 827351

OPEN POSITIONS (0) PENDING BUY/SELL STOP (1)
TYPE LOT ENTRY SL TP
BUY STOP 0.04 4128.65 4096.45 4193.05

ECONOMIC NEWS | USD | NEXT 72 HOURS
2026.10.16 15:30 HIGH Retail Sales m/m
2026.10.17 17:00 MED Consumer Sentiment
Available on MQL5 Market

Put liquidity on your side

Download the free demo, run it in the MT5 strategy tester, follow the live signal, then add it to your chart.

  • EA for MT5Delivered and updated through MQL5 Market.
  • Set filesRecommended settings by private message after purchase.
  • Free demoTest it in the strategy tester before you buy.
  • Setup helpMessage me on MQL5 for installation and broker questions.
FAQ

Questions

Which broker and account should I use?

Any MT5 broker with XAUUSD works. A low-spread ECN or Raw account is recommended, because entries are stop orders and the trailing steps are small. Run the EA on a VPS for 24/5 operation.

What is the minimum deposit?

$500 is a comfortable start with 0.01 lot steps. Smaller balances can use a cent account. In Risk % mode the EA lowers the lot automatically if free margin is not enough.

Does it use martingale, grid or averaging?

No. Only one position is open at a time, every order has a stop loss and take profit attached, and the lot is never increased to recover a loss.

Does it stop trading during news?

The panel shows upcoming USD news for the next 72 hours, but the EA does not pause on news. It pauses before the Friday close and around gold market holidays. You can also limit trading days and the maximum spread.

Which timeframe should I attach it to?

Attach it to an XAUUSD chart. The EA always reads M15 bars for its signals, whatever chart timeframe you open.

How often does it trade?

The backtest made 1,100 trades from January 2024 to October 2026, about one or two per trading day. The average trade lasted 3 hours 23 minutes, and most trades close the same day.

Get it on MQL5