- You can lose money, up to your whole deposit. Gold moves fast and the account uses leverage. The EA has losing trades, losing days and losing months. Only trade money you can afford to lose.
- Past tests do not predict the future. Every number in this manual comes from one backtest at one broker, January 2025 - November 2026. The future can be worse, and your broker has its own prices, spread and commission.
- Before 2025 the tests were close to flat. On 2020-2024 price data the EA made close to nothing over five years. The gains in the tests come from 2025-2026 only. Those older tests ran on less detailed price data, but no one can tell whether the next year will look like 2025-2026 or like 2020-2024.
- Losing months happen. Even in 2025-2026, 5 of the 23 months ended with a loss (at a fixed 0.01 lot).
- Start on a demo account for 2-4 weeks. Check that the EA trades, the dashboard shows LICENSED (or TRIAL), and the losses you see are ones you can live with.
- Then start small. A cent account with 50-100 USD (= 5,000-10,000 USC) on Low risk is the floor for learning how the EA behaves: to learn, not to earn. On a cent account every money figure on the dashboard is in USC (100 USC = 1 USD).
- Small accounts carry more risk. Below the balance a risk mode needs, the EA still opens the broker's minimum lot (usually 0.01), so each loss is a bigger part of your balance than the tables below show.
- A stop loss is not a promise of the exit price. In a fast market or a price gap (for example after the weekend) a trade can close worse than its stop.
- Keep the terminal running. Every trade has a stop loss at the broker, but some exits are made by the EA itself while it runs. Use a VPS or a computer that stays on 24/5.
- Ask support before you change any setting: https://m.me/forexreviewth
Gold Recoil
Expert Advisor for MetaTrader 5, gold (XAUUSD) only. It trades gold automatically when its conditions are met, one trade at a time, and every trade has a stop loss at the broker.
1What you need
▼- MetaTrader 5 with a hedging account. A netting account is refused: the EA stops at start with a message in the Experts tab.
- Your broker's gold symbol XAUUSD, with or without a suffix (XAUUSD, XAUUSDm, ...). Other names for gold, such as GOLD, are not supported.
- EURUSD in Market Watch, with the same suffix as your gold symbol (XAUUSDm → EURUSDm), or plain EURUSD if your broker has no such symbol. Without it the EA does not start. You do not need to open a EURUSD chart.
- A VPS or a terminal that is always on (24/5).
- WebRequest allowed for the licence check: Tools > Options > Expert Advisors > tick "Allow WebRequest for listed URL" and add all three:
https://zab-license.bangzeed.workers.devhttps://zab-license.vercel.apphttps://license.forexreviewth.com
- A licence for your account number: send your MT5 account number to support (https://m.me/forexreviewth). A demo account needs no licence. On a real account the first start gives a 3-day trial; the dashboard then shows TRIAL with its end date. Without a licence the EA opens no new trades; a trade already open is still managed to the end.
2Install
▼- In MT5 choose File > Open Data Folder, open
MQL5\Expertsand copyGoldRecoilEA.ex5into it. In the Navigator, right-click Expert Advisors > Refresh. - In Market Watch right-click > Symbols, find EURUSD with your suffix and press Show Symbol. Keep it in Market Watch.
- Open an XAUUSD chart (any timeframe) and drag Gold Recoil onto it.
- In the Common tab tick "Allow Algo Trading", set the inputs (below), press OK.
- Turn on the Algo Trading button in the toolbar. The dashboard appears on the chart. On the first start the status can show WAITING FOR DATA for a few minutes while the terminal loads price history.
- Run one copy per account. A second copy needs its own Magic number (see Inputs) and doubles the risk.
If it does not start
The Experts tab (Toolbox window) says why:
| Message | What to do |
|---|---|
| input out of range | An input is outside its allowed range (see Inputs). |
| needs a hedging account | Open a hedging account; netting accounts are not supported. |
| needs EURUSD quotes, add EURUSD to Market Watch | Add EURUSD with your suffix (Install step 2). |
| is built for XAUUSD; current symbol ... | Move the EA to your XAUUSD chart. It is made for gold only. |
| anything else | Restart the terminal. If it happens again, send a screenshot of the Experts tab to support. |
3Inputs
▼| Input (as shown in MT5) | Default | Allowed | What it does |
|---|---|---|---|
Risk mode | Low | Low / Mid / High / Risk % / Fixed lot | How the lot is chosen (see below) |
Risk % per trade (Risk % mode) | 0.5 | above 0, up to 10 | Used in Risk % mode only: money lost if a trade hits its stop, as % of balance |
Lot per order (Fixed mode) | 0.01 | above 0 | Used in Fixed lot mode only. Rounded down to your broker's lot step and kept between its smallest and largest lot |
Magic number | 26110950 | any whole number | Marks the EA's trades so it finds them again after a restart. Change it only when another EA on the account uses the same number, or for a second copy. Never change it while a trade is open: that trade keeps its stop loss at the broker, but the EA no longer manages it |
Server hours ahead of New York when it cannot be read | 7 | -12 to 14 | Used only when the EA cannot read the server clock itself. Leave 7 unless support tells you another number |
Show the dashboard | true | true / false | Panel on the chart. Off does not change trading |
Start the dashboard history from now (set back to false afterwards) | false | true / false | Restarts the panel's figures: set true once, press OK, then set it back to false. Left on true, the figures start again at every restart |
Dashboard size (0.4 - 1.5; A- / A+ on the panel) | 1.0 | 0.4 - 1.5 | Starting size. A- / A+ on the panel change it later |
Dashboard X (px) / Dashboard Y (px) | 10 / 20 | pixels | Position of the panel's top-left corner on the chart |
An input outside its allowed range stops the EA at start ("input out of range").
Risk modes (Low / Mid / High)
The lot grows with your balance: 0.01 lot for each full step of balance below. Example, Low mode: balance 10,000 USD → 0.02 lot; 14,999 USD → still 0.02; 15,000 USD → 0.03.
| Mode | 0.01 lot per | Lot on 15,000 USD | Deepest drop seen in the test |
|---|---|---|---|
| Low (default) | 5,000 USD | 0.03 | 1.94 % |
| Mid | 2,500 USD | 0.06 | 4.11 % |
| High | 1,000 USD | 0.15 | 9.61 % |
These drops come from one backtest, January 2025 - November 2026, on a 15,000 USD account at one broker (the lot grew as the balance grew). Deepest drop = the biggest fall from a high, as % of the balance. Your drop can be deeper: one test is one path through the market.
Risk % per trade
The lot is set so that a trade that hits its stop loses the chosen % of the balance. In the same test at 0.5 % the deepest drop was 1.32 %. Only 0.5 % was tested; ask support before you raise it. The dashboard shows "Next order from the stop" in this mode, because the lot is worked out when the trade opens. On small accounts the broker's minimum lot can be bigger than the % allows, so the real risk is then higher than set.
Fixed lot
Every trade uses the same lot whatever the balance. When the balance falls, the lot does not, so the risk in % grows during a losing run. To compare: a fixed 0.01 lot has the risk of Low mode on 5,000 USD, of Mid mode on 2,500 USD and of High mode on 1,000 USD.
Cent accounts and other account currencies
Gold Recoil has no money amounts to type in. The Low / Mid / High steps are converted to your account money by themselves, so the risk in % stays the same as on a USD account. The dashboard footer shows the step in your account currency, for example "0.01 lot per 5,000 USD"; another number on a cent or non-USD account is normal. Check it on demo first: if your balance is below that step, the EA trades the minimum lot and your risk is higher than the tables.
Risk % works on your balance in any currency. Fixed lot is used as typed. All money on the dashboard is in your account currency (USC on a cent account).
4Broker and server time
▼Brokers run their servers on different clocks. Gold Recoil reads your broker's server clock by itself and adjusts to it, so it works on brokers whose server clocks differ, and you do not set anything. The guard "Clock NY +7" (TRADES tab) shows the offset in use. The number differs between brokers and can move by one hour when summer or winter time starts; that is normal.
Only when the EA cannot read the clock does it fall back to the "Server hours ahead of ..." input (see Inputs). Leave it at 7 unless support says otherwise.
Results still differ between brokers: each has its own prices, spread, commission and swap. The tests in this manual come from one broker only. Run your own broker on demo first.
5The dashboard
▼Figures cover this run: the EA's own trades on this symbol since it was first attached, dated by server time. They survive a restart. "Start the dashboard history from now" begins a new run. Click A- / A+ to resize, WEEK / MONTH / ALL to change the curve, and the tabs to change the right card.
Header
- Logo, name, and a line with the symbol, risk mode and version (for example "XAUUSD · Low risk · v1.00").
- Licence card (centre):
| Shows | Means |
|---|---|
| LICENSED · active | Licence OK; your broker server is shown next to it |
| TRIAL | Trial running; shows the end date and the days left |
| CHECKING / CACHED · CHECKING | The EA is checking the licence. CACHED: it uses the last known answer meanwhile |
| NOT LICENSED · MANAGE ONLY or EXPIRED · MANAGE ONLY | No new trades; an open trade is still managed. Send your account number to support |
| STRATEGY TESTER | Running in the MT5 Strategy Tester, where the licence is not checked |
- A- / A+: make the panel smaller or bigger.
- Status pill (top right):
| Shows | Means |
|---|---|
| RUNNING | No trade open; the EA waits for its next trade |
| IN TRADE | A trade is open |
| WAITING FOR DATA | The terminal is still loading price history of gold or EURUSD; no new trade until it is ready. It clears by itself; if it stays, check that EURUSD is in Market Watch and the terminal is connected |
| MARKET CLOSED | The broker refused a request because the market is closed; the EA waits a few minutes and tries again |
| NOT LICENSED · MANAGE ONLY | No new trades; an open trade is still managed |
Left column
- THIS MONTH: profit of the month so far, in money and as % of the balance at the month start, a bar of the days in profit ("5 of 7 days in profit") and the trade count.
- BALANCE: the closed balance of this run as a curve. WEEK / MONTH / ALL choose the period; below it, the start date of the period and the change over it.
- Tiles: TODAY (profit and trades today), OPEN RESULT (the open trade's result now, swap included), SINCE START (return of this run in %), DRAWDOWN (the drop from the high now, and the deepest so far).
- TRADE NOW: the open trade, or why no new trade opens and for how long.
| TRADE NOW shows | Means |
|---|---|
| BUY 0.02 lot / SELL 0.02 lot | The open trade; "open 1h 05m" below it, its result now on the right |
| starting | Just attached; no check made yet |
| waiting for a setup | No trade open and the conditions for a new one are not met. This is the normal state most of the time |
| daily break | A time of day when the EA opens no new trades. An open trade is still managed; the break ends by itself |
| waiting for price history | Price history of gold or EURUSD is still loading |
| market closed | Requests are paused after the broker said the market is closed |
| no licence · manage only / no licence | No new trades without a licence |
| stop level too wide | Your broker's minimum stop distance is wider than the stop the EA would set, so it skipped the trade. Tell support if you see it often |
Under the state, "for 2h 34m" is how long that state has lasted. At the bottom, Next order is the lot of the next trade ("from the stop" in Risk % mode).
Tabs (right card)
- MONTH: calendar, Monday to Friday, with each day's profit and trade count, green or red by result, today ringed; the WEEK column holds the week totals. The line on top: month total, days in profit, best and worst day. The arrows go to earlier months of this run; LATEST jumps back to now.
- YEAR: one box per month with the profit in money and as % of the balance at the month start, the trades, and the days up out of the days traded. The line on top: year total, months in profit, best and worst month. The arrows change the year; click a month to open its calendar. Months outside this run are grey.
- TRADES: the last 12 closed trades, newest first: close time, side, lot, how long it was held, result. HELD shows "-" for a trade opened before the run started. Below it, the guards row.
- STATS: this run since its start date, with trading days and trades. Profit factor (gross profit / gross loss), win rate, return, drawdown (deepest on the closed balance, and now); the balance curve with its deepest drop marked; BEST / WORST (best day, worst day, losing days in a row, biggest losing trade, green days); RUN + MONEY (run started, closed profit, risk mode, lot of the next order, lot rule).
Guards row (TRADES tab)
| Chip | Means |
|---|---|
| Licence OK / Licence: manage only / Licence: TRIAL ... | Licence state ("Licence: tester" in the Strategy Tester) |
| Requests OK / Market closed | The EA sends requests, or waits after "market closed" |
| EURUSD ready / EURUSD history short | The EURUSD symbol the EA found (with your suffix) and whether its price history is loaded |
| Spread 0.10 | Gold spread now |
| Margin 0% | Margin in use as % of equity; orange above 50 % |
| Clock NY +7 | The server clock offset in use (see Broker and server time) |
Footer
Balance, Equity, Spread (now / recent average), Ping to the server, Server time with NY time next to it, and on the right the lot rule: "0.01 lot per 5,000 USD", "0.50% of balance per trade" or "fixed 0.01 lot".
6Restart, VPS move, updates
▼Close the terminal, restart the VPS or move to another one at any time. On start the EA finds its open trade by the magic number and goes on managing it, and it reloads the small memory it keeps in the terminal, so a restart does not repeat or skip a step.
While the terminal is off, an open trade has only its stop loss at the broker; the exits the EA makes itself wait until it runs again. Keep the time off short.
- Keep the same symbol, magic number and inputs after a restart, a move or an update.
- VPS move: first remove the EA from the chart on the old VPS (or close that terminal), then install it on the new one (Install above), so two copies never run on one account at the same time. The dashboard figures are kept by the terminal, so on a new terminal they can start again from the day of the move.
- Updates: replace
GoldRecoilEA.ex5inMQL5\Expertswith the new file, then restart the terminal or attach the EA again. Check that the inputs and the magic number are the same as before. An open trade is picked up as after a restart. - Do not move or remove the EA's stop loss by hand, and do not open trades by hand with its magic number.
One trade at a time
Gold Recoil holds at most one trade at a time (per magic number, on this symbol). It does not add trades to a losing one and uses no grid and no martingale: the lot comes only from your risk mode. A new trade can open only after the last one has closed. If the dashboard shows "2 open", a second trade with the EA's magic number exists (opened by hand, or by a second copy with the same magic number); ask support before you close anything.
7Support
▼Licence, questions and settings: https://m.me/forexreviewth
When something looks wrong, send your MT5 account number, your broker server and a screenshot of the dashboard and the Experts tab.