XAUUSD M15 Glide — five strategies, one gold chart
XAUUSD M15 Glide is a free multi-strategy Expert Advisor for Gold, shipped as FxMath_XAUUSD_M15_Multi_Glide. Five independent rule sets trade the M15 timeframe on one account — 1,254 backtested trades, a profit factor of 1.46, a 51.2% win rate and the lowest maximum drawdown of the Kestrel, Glide and Orbit series. Compiled for MetaTrader 4 and MetaTrader 5. No license key, no subscription.
M15 timeframe
Profit factor 1.46
Win rate 51.2%
Max drawdown 4.99%
Free MT4 + MT5
▶Watch the full walkthrough
A three-minute narrated tour: what the EA does, the backtest numbers, all five strategies, risk and reward, the settings and the install steps.
Video: XAUUSD M15 Glide – Free 5 Strategy Gold EA for MT4 + MT5 (PF 1.46, 51.2% Win Rate) · FxMath Financial Solution on YouTube
- 0:00 Intro – 5 strategies on one gold chart
- 0:14 What XAUUSD M15 Glide is
- 0:36 Backtest performance
- 0:59 Strategy breakdown
- 1:19 Risk and reward
- 1:57 Strategy rules
- 2:18 Settings and inputs
- 2:38 Downloads and install
- 2:57 Free download and risk disclaimer
1What XAUUSD M15 Glide is
Five strategies, one chart
Five independent rule sets run side by side on the same account. Each one keeps its own magic number (202601 to 202605), so no position ever clashes with another strategy – or with your other Expert Advisors.
Timeframe is hard-coded to M15
Attach the EA to any chart you like. It always reads and trades M15 bars, so a wrongly-timed attach cannot change the behaviour.
Risk defined before entry
Stop loss and take profit are calculated as multiples of ATR on every trade. The EA never averages down and never widens a stop.
No indicators, no repainting
Each strategy is a short pattern of raw open, high, close and low values compared across recent bars. Nothing is redrawn after the fact.
Genetic search, not guesswork
The rule sets were discovered by a genetic algorithm over 5,000 bars of gold data, seeded with 10,000 pips of equity per strategy.
On-chart info panel
Symbol, lot size, magic numbers, every strategy on/off state and floating profit – all visible in the corner of the chart.
2Backtest performance
5,000 bars of gold data, 10,000 pips of seed equity per strategy, 1,254 trades.
3Strategy breakdown
Each strategy trades its own slice of the account and is reported separately.
| Strategy | Trades | Win rate | Profit factor | Max DD | Buys / sells | Net pips | Parameters |
|---|---|---|---|---|---|---|---|
| S1 | 477 | 44.2% | 1.31 | 1,922 (11.02%) | 228 / 249 | +9,781.8 | ATR 28 · SL 3.33 · TP 4.36 · flip |
| S2 | 241 | 73.9% | 1.45 | 1,885 (13.16%) | 120 / 121 | +9,859.9 | ATR 12 · SL 3.41 · TP 1.77 · one-way |
| S3 | 221 | 45.7% | 1.63 | 2,354 (11.41%) | 99 / 122 | +12,232.7 | ATR 37 · SL 3.63 · TP 6.71 · flip |
| S4 | 156 | 48.7% | 1.56 | 1,539 (10.43%) | 78 / 78 | +8,023.8 | ATR 14 · SL 3.30 · TP 7.54 · flip |
| S5 | 159 | 47.8% | 1.43 | 2,135 (14.75%) | 57 / 102 | +6,317.5 | ATR 19 · SL 3.21 · TP 7.78 · flip |
4Risk and reward
Stop loss and take profit are sized as multiples of ATR, so every trade has a defined risk the moment it opens.
| Strategy | ATR period | Stop loss | Take profit | Target R:R | Exit mode |
|---|---|---|---|---|---|
| S1 | 28 | 3.33 x ATR | 4.36 x ATR | 1.31 : 1 | flip on opposite signal |
| S2 | 12 | 3.41 x ATR | 1.77 x ATR | 0.52 : 1 | one-way |
| S3 | 37 | 3.63 x ATR | 6.71 x ATR | 1.85 : 1 | flip on opposite signal |
| S4 | 14 | 3.30 x ATR | 7.54 x ATR | 2.28 : 1 | flip on opposite signal |
| S5 | 19 | 3.21 x ATR | 7.78 x ATR | 2.42 : 1 | flip on opposite signal |
5The strategy rules
Every entry is a short condition pattern built from raw open, high, close and low values of recent bars. Conditions are read as FIELD[bar], where [1] is the last closed bar.
HIGH[8] < CLOSE[1]CLOSE[4] > CLOSE[5]HIGH[7] < OPEN[2]
OPEN[3] > CLOSE[9]HIGH[4] <= HIGH[3]LOW[5] >= LOW[9]
CLOSE[4] > OPEN[4]OPEN[6] < LOW[1]CLOSE[9] > HIGH[10]CLOSE[8] >= OPEN[7]
OPEN[3] > CLOSE[9]HIGH[4] <= HIGH[3]LOW[7] <= LOW[9]OPEN[10] < OPEN[9]CLOSE[6] > CLOSE[9]
CLOSE[3] <= OPEN[5]CLOSE[1] >= HIGH[7]CLOSE[2] <= LOW[4]CLOSE[4] >= OPEN[1]
6Settings and inputs
Defaults are ready to run on gold. Everything below is optional.
| Input | Default | What it does |
|---|---|---|
InpLotSize |
0.01 | Trading lot size for all five strategies. |
InpSymbol |
XAUUSD | Force a different symbol suffix if your broker needs it. |
Strategy enable |
true | One on/off switch per strategy (five switches). |
ATR period |
12 – 37 | One ATR period per strategy, used to size SL and TP. |
Stop loss |
3.21 – 3.63 x ATR | Hard stop placed with the order. |
Take profit |
1.77 – 7.78 x ATR | Target placed with the order. |
Close on opposite |
true / false | Flip on an opposite signal, or run one-way (Strategy 2 is one-way). |
7Install in four steps
- Download the binary. The compiled
.ex4for MetaTrader 4 or.ex5for MetaTrader 5. Sources are not released. - Copy it into the terminal. Drop it in
MQL4/ExpertsorMQL5/Experts, then restart the terminal or refresh the Navigator. - Allow DLL imports. Tick the checkbox in the attach dialog and keep it enabled under Tools, Options, Expert Advisors. It is required — on start the EA opens www.fxmath.com in your browser once.
- Attach it to any XAUUSD chart. The timeframe is hard-coded, so it always trades M15 data and the chart period you chose is ignored.
Download XAUUSD M15 Glide
Five strategies, 1,254 trades, profit factor 1.46 and a 4.99% combined maximum drawdown. Grab the MT4 and MT5 binaries from the FxMath free EA catalogue — there is no checkout and no subscription.
FxMath_XAUUSD_M15_Multi_Glide — Multi Glide · 5 strategies · M15 · 1,254 trades · net +9,243 pips (avg) · profit factor 1.46 · 51.2% win rate · 4.99% combined max drawdown.
Trading forex and CFDs involves a substantial risk of loss. Figures shown are backtest results in pips of the quote, not live trading results. Verify every EA on a demo account first.
FxMath – free Expert Advisors for MetaTrader · free.fxmath.com · Telegram
Discover more from FxMath Financial Solution
Subscribe to get the latest posts sent to your email.