Gold Amplify
- Experts
- Versione: 1.42
- Attivazioni: 5
Overview
Gold Amplify is a fully automated Expert Advisor for MetaTrader 5 that trades gold (XAUUSD). It marks the swing highs and lows across several timeframes and places pending stop orders to catch breakouts of those levels. Every order has a stop-loss and a take-profit, and trades that move into profit are protected by a trailing stop.
It is built to grow an account steadily over the long term, not to scalp. It waits for ranges to form before it trades, so in a one-directional market or in shallow pullbacks where no clear range has developed, it may place fewer trades.
Who this EA is for
A good fit if you:
- want a hands-off, rules-based strategy for gold
- think in months and years, and accept that any strategy can be flat or down for a few weeks
- are comfortable with a strategy that wins most of its trades but whose average loser is slightly larger than its average winner
- prefer sizing by percentage risk, or a fixed lot, with only a handful of settings to manage
Not a good fit if you:
- expect fast equity gains or want a scalper
- cannot tolerate drawdowns of 20% or more
- have an account too small to size gold trades properly (see Requirements)
- plan to tune many inputs. The strategy is built to run on its tested settings
Key features
- Gold only. XAUUSD is recommended. Symbol name variants, suffixes and digits are handled automatically but there is an input if it doesn't take trades. Make sure to change the name to match your broker.
- Multi-timeframe breakout levels. The EA combines swing highs and lows from higher timeframes, so the chart and timeframe you attach it to do not matter.
- Stop orders with built-in protection. Every order carries a stop-loss and a take-profit, and winners are protected by a trailing stop.
- No martingale and no grid.
- Two sizing modes. Risk a percentage of your balance on each trade, or use a fixed lot.
- Total risk cap. A limit on combined open risk. If a new trade would exceed it, the EA drops the extra orders.
- Daily order refresh. Pending orders are cancelled before the daily rollover and before the weekend, then re-placed afterwards, so the EA avoids trading into widened spreads.
- Spread filter.
How it works
The EA scans for swing highs and lows on multiple timeframes and places buy-stop and sell-stop orders at the breakout levels. When one fills, the position is managed by its stop-loss, its take-profit and a trailing stop. Several positions can be open at once, and a cap on total open risk limits the combined exposure. Pending orders are refreshed every day. A position that is already open stays managed by its stop, trailing stop and take-profit.
Because the EA can hold buy and sell positions at the same time, a hedging account is recommended.
Backtest results
Test conditions
- Platform and broker: MetaTrader 5, Pepperstone demo, commission-free account
- Symbol: XAUUSD
- Period: 1 January 2021 to 24 November 2026 (about 5.9 years)
- Modelling: 1-minute OHLC (results on real ticks can differ)
- Initial deposit: $10,000, leverage 1:500
- Spread: about 0.20 on gold. Swaps are included. The account has no commission
- Risk setting: 1% per trade, total risk cap 3%, profits compounded
| Metric | Result |
|---|---|
| Net return | +2,776% ($10,000 to $287,639) |
| Total trades | 4,282 (about 14 per week) |
| Win rate | 71.7% (longs 71.9%, shorts 71.4%) |
| Average win / average loss | $189 / $250 |
| Profit factor | 1.92 |
| Maximum equity drawdown | 13.5% (18.2% relative) |
| Maximum balance drawdown | 11.8% (14.5% relative) |
| Recovery factor | 6.98 |
| Sharpe ratio | 4.65 |
| Longest losing streak | 13 trades |
| Largest single loss | $3,167 |
| Average holding time | about 4.4 hours (maximum about 6 days) |
Account growth by calendar year
| Year | Balance growth |
|---|---|
| 2021 | +37% |
| 2022 | +28% |
| 2023 | +77% |
| 2024 | +69% |
| 2025 | +117% |
| 2026 (to 24 Nov) | +153% |
Every calendar year in the test was positive.
Because profits are compounded, balances and trade sizes in the later years are much larger than at the start. Treat the headline return as an indication of how the strategy behaves, not as a forecast.
Robustness testing
- Positive in every calendar year from 2021 through 2026 to date.
- Out-of-sample period. From 1 January 2025 the strategy ran on data not used in its development, and the period was profitable.
- Random-entry comparison. The strategy outperformed 94% of random-entry simulations.
- Trading costs are included. The test includes spread and swap costs, about $9,000 of swaps over the period.
- Commission accounts. The test was run on a commission-free account. If your broker charges commission, expect lower results.
The edge is persistent but not guaranteed to continue, and it depends on gold continuing to form tradeable ranges and trends.
Risk management
- Risk per trade: 1% by default in percentage mode, or a fixed lot.
- Total risk cap: limits combined open risk across all orders and positions. Default 3% of equity.
- Stop-loss on every order, placed together with the order, so it stays active at your broker even if your platform goes offline.
- Trailing stop protects positions once they are in profit.
- Spread filter blocks entries when spreads are abnormally wide.
- Orders cancelled before the rollover and the weekend to avoid widened spreads.
- Optional maximum lot size.
What to expect
Please read this section before you buy.
- Most trades win, but the average loser is larger than the average winner. The profit factor comes from the high win rate, so a run of losses hurts. Up to 13 losses in a row happened in testing.
- Drawdowns of around 20% can occur, and they can be larger at higher risk settings.
- Most of the backtest profit came late. About 85% of the net profit came in 2025 and 2026, in a strong gold market and on a much larger compounded balance. In 2021 to 2024 the yearly gains were between +28% and +77%.
- Trade frequency changes with the market. In a clean one-way trend or in shallow pullbacks, ranges may not form and the EA will trade less.
- Positions can be held for several days, so swap costs apply and price gaps can fill stops at worse prices than planned.
- Costs and execution matter. Use a broker with low gold spreads and quick execution.
- Past performance does not guarantee future results. The test covers under six years, and the results come from one strong gold period.
This EA is not for people looking for fast equity gains. It is a long-term strategy, and it needs time to work.
Requirements
| Item | Requirement |
|---|---|
| Platform | MetaTrader 5 |
| Account type | Hedging recommended |
| Symbol | XAUUSD (any broker variant or suffix) |
| Recommended minimum balance | $700 |
| Leverage | 1:400 or higher recommended for small accounts. Tested at 1:500 |
| Broker | Any broker. Tested on a commission-free account, so results on commission accounts will differ |
| Spreads | Tested with tight gold spreads of about 0.20. Check your broker’s average spread |
| Uptime | A VPS is recommended. The EA must be running to place and manage orders |
On small balances, gold’s contract size and the broker’s minimum lot can limit sizing. A 0.01 lot trade controls one ounce of gold, so a trade with a wide stop can risk more than 1% of a very small account. Larger balances allow the EA to size trades as designed.
Getting started
- Open a hedging MT5 account with a broker that offers gold (XAUUSD) with low spreads.
- Make sure your broker’s gold symbol is visible in Market Watch (right-click, then Show All).
- Attach the EA to a gold chart. The timeframe does not matter.
- Choose your sizing mode: percentage risk (recommended) or a fixed lot.
- Set the risk percentage. Start with the default 1%.
- Enable Algo Trading and keep the terminal running, ideally on a VPS.
- Test on a demo account first to see how it behaves before you go live.
Inputs
| Input | What it does | Notes |
|---|---|---|
| Lot mode | Chooses fixed lot or percentage-risk sizing | Percentage risk is recommended |
| Fixed lot size | The lot used in fixed-lot mode | Default 0.01 |
| Risk % per trade | The share of your balance risked on each trade in percentage mode | Default 1. Lower for a more cautious profile |
| Max total risk % | Caps combined open risk. Extra orders that would exceed it are dropped | Default 3 |
| Max lot size | Optional cap on position size | Default 0 means no cap |
| Max spread (points) | Entries are skipped when the spread is above this | Default 500. Lower it if you want a stricter filter |
All other parameters are fixed at the tested values. Changing them risks curve-fitting and removing the edge, so please leave them alone.
Support and updates
Updates are released if bugs are found or if broker or platform changes require them. Questions and bug reports are welcome in the Comments tab of this product.
Risk warning
Trading leveraged CFDs carries a high level of risk and can result in the loss of more than you can afford. Backtested and historical results are not a guarantee of future performance. Only trade with money you can afford to lose, and test on a demo account before going live.
