FxMath · EA Studio
FxMath_XAUUSD_M15_Multi_Glide
XAUUSD M15 Glide - Multi-Strategy Expert Advisor
XAUUSD M15 5 strategies 5,000 bars CSV data
Generated 2026-09-09 20:16 · genetic search over
5,000 bars with seed equity 10,000 pips per strategy
⚙️ EA settings · how it trades
EA name FxMath_XAUUSD_M15_Multi_GlideSymbol XAUUSD (the chart symbol by default - the EA input InpSymbol can force another one) Timeframe M15 - HARD-CODED into the EA. Attach it to any chart: it always reads and trades M15 bars, the chart period is ignored (a note is printed on attach). Lot size 0.01 (input InpLotSize) Magic number 208265 + strategy # - every strategy uses its own magic (208265..208269), so positions never clash with other EAs on the same chart Inputs per strategy Enable (on/off) · ATR period · SL (× ATR) · TP (× ATR) · close-on-opposite (InpS1_… … InpSn_…) Downloads compiled .ex4 (MetaTrader 4) and .ex5 (MetaTrader 5) binaries below - the .mq4/.mq5 sources are not released
💡 Attach anywhere: this EA trades M15 data of XAUUSD even when
you attach it to a chart of another timeframe (or symbol - then it trades that symbol on
M15, which is usually not what you want). After attaching, an info panel
appears in the top-left corner of the chart: EA name, symbol, M15 data, lot,
magic numbers, strategy on/off states and the open positions' floating profit.
Equity & cumulative profit (realized P&L, per-bar, pips)
Combined (avg of 5) Strategy 1 Strategy 2 Strategy 3 Strategy 4 Strategy 5 Cumulative profit (sum of strategies) (right axis)
8,946 -3,853 11.9k 7,222 14.9k 18.3k 17.8k 29.4k 20.8k 40.4k 23.7k 51.5k 06-22 18:15 07-31 07:45 09-09 18:15
Performance (combined account = average of 5 × 10,000 pips strategy accounts)
Final balance (avg)
19,243 pips
Net profit (avg)
+9,243 pips
Total realized profit
+46,216 pips
Max drawdown (avg)
732 pips (4.99%)
Strategy breakdown
#
Trades
Win rate
Profit factor
Max DD
Buy/Sell
Net profit
Parameters
S1
477
44.2%
1.31
1,922 pips (11.02%)
228 / 249
+9,781.8 pips
ATR 28 · SL 3.33 · TP 4.36 · flip
S2
241
73.9%
1.45
1,885 pips (13.16%)
120 / 121
+9,859.9 pips
ATR 12 · SL 3.41 · TP 1.77 · one-way
S3
221
45.7%
1.63
2,354 pips (11.41%)
99 / 122
+12,232.7 pips
ATR 37 · SL 3.63 · TP 6.71 · flip
S4
156
48.7%
1.56
1,539 pips (10.43%)
78 / 78
+8,023.8 pips
ATR 14 · SL 3.30 · TP 7.54 · flip
S5
159
47.8%
1.43
2,135 pips (14.75%)
57 / 102
+6,317.5 pips
ATR 19 · SL 3.21 · TP 7.78 · flip
Strategy rules
Strategy 1
fitness 35.565
1. HIGH[8] < CLOSE[1]
2. CLOSE[4] > CLOSE[5]
3. HIGH[7] < OPEN[2]
Strategy 2
fitness 35.547
1. OPEN[3] > CLOSE[9]
2. HIGH[4] <= HIGH[3]
3. LOW[5] >= LOW[9]
Strategy 3
fitness 33.325
1. CLOSE[4] > OPEN[4]
2. OPEN[6] < LOW[1]
3. CLOSE[9] > HIGH[10]
4. CLOSE[8] >= OPEN[7]
Strategy 4
fitness 26.457
1. OPEN[3] > CLOSE[9]
2. HIGH[4] <= HIGH[3]
3. LOW[7] <= LOW[9]
4. OPEN[10] < OPEN[9]
5. CLOSE[6] > CLOSE[9]
Strategy 5
fitness 22.546
1. CLOSE[3] <= OPEN[5]
2. CLOSE[1] >= HIGH[7]
3. CLOSE[2] <= LOW[4]
4. CLOSE[4] >= OPEN[1]
Recent trades
Strat Side Open Close Entry Exit Exit by Profit (pips)
S5
SELL
2026-09-09 14:45:00
2026-09-09 18:15:00
4399.7
4408.7
EOD
-90.3 pips
S4
BUY
2026-09-09 08:30:00
2026-09-09 18:15:00
4373.4
4408.7
EOD
+353.3 pips
S3
SELL
2026-09-09 16:30:00
2026-09-09 18:15:00
4391.1
4408.7
EOD
-176.0 pips
S2
BUY
2026-09-09 14:15:00
2026-09-09 18:15:00
4409.1
4408.7
EOD
-3.5 pips
S1
BUY
2026-09-09 18:00:00
2026-09-09 18:15:00
4405.5
4408.7
EOD
+32.4 pips
S1
SELL
2026-09-09 15:15:00
2026-09-09 18:00:00
4400.7
4405.5
Opposite
-48.2 pips
S3
BUY
2026-09-09 13:00:00
2026-09-09 16:30:00
4400.3
4391.1
Opposite
-91.7 pips
S1
BUY
2026-09-09 12:15:00
2026-09-09 15:15:00
4398.7
4400.7
Opposite
+19.4 pips
S2
BUY
2026-09-09 12:15:00
2026-09-09 14:00:00
4398.7
4409.5
TP
+107.6 pips
S3
SELL
2026-09-09 11:15:00
2026-09-09 13:00:00
4381.4
4400.3
Opposite
-188.4 pips
S5
SELL
2026-09-09 10:00:00
2026-09-09 12:30:00
4378.6
4403.1
SL
-245.2 pips
S1
SELL
2026-09-09 11:15:00
2026-09-09 12:15:00
4381.4
4398.7
Opposite
-172.7 pips
S2
SELL
2026-09-09 04:30:00
2026-09-09 12:00:00
4355.9
4389.2
SL
-332.3 pips
S3
BUY
2026-09-09 08:00:00
2026-09-09 11:15:00
4376.3
4381.4
Opposite
+51.2 pips
S1
BUY
2026-09-09 08:00:00
2026-09-09 11:15:00
4376.3
4381.4
Opposite
+51.2 pips
S4
SELL
2026-09-09 05:30:00
2026-09-09 08:30:00
4352.2
4373.4
Opposite
-211.6 pips
S5
SELL
2026-09-09 06:30:00
2026-09-09 08:00:00
4349.5
4375.7
SL
-261.5 pips
S3
SELL
2026-09-09 01:45:00
2026-09-09 08:00:00
4368.6
4376.3
Opposite
-76.9 pips
S1
SELL
2026-09-09 04:30:00
2026-09-09 08:00:00
4355.9
4376.3
Opposite
-203.9 pips
S2
SELL
2026-09-09 02:15:00
2026-09-09 04:30:00
4359.4
4343.4
TP
+159.7 pips
S1
SELL
2026-09-08 20:30:00
2026-09-09 04:30:00
4394.4
4351.7
TP
+426.8 pips
S2
SELL
2026-09-09 01:15:00
2026-09-09 02:15:00
4375.6
4359.1
TP
+164.3 pips
S5
SELL
2026-09-07 05:45:00
2026-09-09 01:15:00
4426.8
4373
TP
+538.0 pips
S4
BUY
2026-09-08 19:15:00
2026-09-09 01:15:00
4411.6
4377.9
SL
-336.8 pips
S3
SELL
2026-09-08 12:15:00
2026-09-09 01:15:00
4419.1
4364.1
TP
+549.5 pips
S2
SELL
2026-09-04 19:45:00
2026-09-09 01:15:00
4412.3
4379.2
TP
+330.8 pips
S1
BUY
2026-09-08 19:00:00
2026-09-08 20:30:00
4396.5
4394.4
Opposite
-21.0 pips
S4
SELL
2026-09-08 15:15:00
2026-09-08 19:15:00
4394.1
4411.6
Opposite
-174.2 pips
S1
SELL
2026-09-08 18:00:00
2026-09-08 19:00:00
4403.5
4396.5
Opposite
+70.2 pips
S1
BUY
2026-09-08 16:15:00
2026-09-08 18:00:00
4402.9
4403.5
Opposite
+6.0 pips
S1
SELL
2026-09-08 12:15:00
2026-09-08 16:15:00
4419.1
4402.9
Opposite
+161.9 pips
S1
BUY
2026-09-08 10:45:00
2026-09-08 12:15:00
4432.5
4419.1
Opposite
-134.4 pips
S1
SELL
2026-09-08 09:30:00
2026-09-08 10:45:00
4429.6
4432.5
Opposite
-29.3 pips
S3
SELL
2026-09-07 16:00:00
2026-09-08 10:30:00
4409.5
4441.1
SL
-315.9 pips
S1
BUY
2026-09-08 07:00:00
2026-09-08 09:30:00
4421.5
4429.6
Opposite
+80.8 pips
S4
SELL
2026-09-08 00:30:00
2026-09-08 06:00:00
4404.7
4418.5
SL
-138.5 pips
S1
SELL
2026-09-08 00:30:00
2026-09-08 06:00:00
4404.7
4422.4
SL
-177.3 pips
S4
BUY
2026-09-07 20:00:00
2026-09-08 00:30:00
4403.3
4404.7
Opposite
+13.4 pips
S1
BUY
2026-09-07 19:30:00
2026-09-08 00:30:00
4404
4404.7
Opposite
+6.6 pips
S4
SELL
2026-09-04 23:45:00
2026-09-07 20:00:00
4428.5
4403.3
Opposite
+251.9 pips
S1
SELL
2026-09-07 16:45:00
2026-09-07 19:30:00
4395.9
4404
Opposite
-81.6 pips
S1
BUY
2026-09-07 15:00:00
2026-09-07 16:45:00
4414.6
4395.9
Opposite
-187.8 pips
S3
BUY
2026-09-07 14:00:00
2026-09-07 16:00:00
4395.9
4409.5
Opposite
+136.4 pips
S1
SELL
2026-09-07 10:15:00
2026-09-07 15:00:00
4404.1
4414.6
Opposite
-105.6 pips
S3
SELL
2026-09-07 08:15:00
2026-09-07 14:00:00
4408.9
4395.9
Opposite
+130.4 pips
S1
BUY
2026-09-07 09:45:00
2026-09-07 10:15:00
4408.6
4404.1
Opposite
-45.2 pips
S1
SELL
2026-09-07 07:45:00
2026-09-07 09:45:00
4403.2
4408.6
Opposite
-53.8 pips
S3
BUY
2026-09-07 05:00:00
2026-09-07 08:15:00
4430.6
4408.9
Opposite
-216.7 pips
S1
SELL
2026-09-07 05:30:00
2026-09-07 07:45:00
4429.8
4391.6
TP
+381.6 pips
S5
BUY
2026-09-07 05:15:00
2026-09-07 05:45:00
4429.2
4426.8
Opposite
-24.0 pips
S1
BUY
2026-09-05 02:15:00
2026-09-07 05:30:00
4434.7
4429.8
Opposite
-48.9 pips
S5
SELL
2026-09-04 20:30:00
2026-09-07 05:15:00
4434
4429.2
Opposite
+47.9 pips
S3
SELL
2026-09-04 21:45:00
2026-09-07 05:00:00
4439.9
4430.6
Opposite
+92.7 pips
S1
SELL
2026-09-04 23:45:00
2026-09-05 02:15:00
4428.5
4434.7
Opposite
-61.4 pips
S4
BUY
2026-09-04 21:15:00
2026-09-04 23:45:00
4427.4
4428.5
Opposite
+11.2 pips
S1
BUY
2026-09-04 21:30:00
2026-09-04 23:45:00
4443.3
4428.5
Opposite
-147.7 pips
S3
BUY
2026-09-04 21:00:00
2026-09-04 21:45:00
4428.9
4439.9
Opposite
+109.9 pips
S1
SELL
2026-09-04 20:15:00
2026-09-04 21:30:00
4413.1
4443.3
Opposite
-301.9 pips
S3
SELL
2026-09-04 19:30:00
2026-09-04 20:15:00
4394.1
4430.5
SL
-364.2 pips
S1
SELL
2026-09-04 19:15:00
2026-09-04 20:15:00
4393.6
4429
SL
-353.5 pips
Downloads
MetaTrader 4 (compiled)
FxMath_XAUUSD_M15_Multi_Glide.ex4
Download .ex4
MetaTrader 5 (compiled)
FxMath_XAUUSD_M15_Multi_Glide.ex5
Download .ex5
Only the compiled binaries are provided - the .mq4/.mq5 sources are not released.
Install
Download the compiled .ex4 (MetaTrader 4) or .ex5 (MetaTrader 5) above.
Copy into MQL4/Experts (MT4) or MQL5/Experts (MT5),
then restart the terminal / refresh the Navigator.
Allow DLL imports: tick the checkbox in the attach dialog
(and keep Tools → Options → Expert Advisors → Allow DLL imports
enabled). It is required - on start the EA opens
https://www.fxmath.com/ in your browser once.
Attach FxMath_XAUUSD_M15_Multi_Glide to any XAUUSD chart —
the timeframe is hard-coded, so it always trades M15 data
(the chart period is ignored). An info panel shows in the chart's top-left corner;
each strategy uses its own magic number (MagicBase + strategy#), disable
any strategy via its inputs, and the InpSymbol input can force a
different symbol.
Support
Methodology notes. All profit and drawdown figures are expressed in
pips of the quote (FX 0.0001, JPY 0.01, metals 0.1 = $0.10 for gold,
indices 1 point). The equity chart shows realized P&L only
(open positions are not marked-to-market between bars), so intra-trade drawdown is not
reflected. The combined account is the arithmetic average of 5 independent
10,000-pip strategy backtests on the same data - it is an estimate,
not a guarantee of live results. Cumulative profit (right axis) is the sum of every
strategy's realized P&L at each bar.
Strategies were discovered with a genetic algorithm and
can overfit past data; always validate on out-of-sample data and use risk management.
Trading forex/CFDs involves substantial risk of loss.