- You can lose money, up to your whole deposit. Grid trading with leverage is high risk. A long one-way move in gold can open many trades against you. The worst case is a wiped-out account.
- More money does not make it safe. A strong trend can hurt a large account as well as a small one. Only trade money you can afford to lose.
- Trades are opened without a stop loss at the broker. The EA manages its exits itself. Its main protection is the drawdown cut: when the open loss of its own trades reaches the set percent of the balance (20 % by default), it closes every trade it opened. The cut works only while the terminal is running and connected. In a price gap or a fast market the loss can be bigger than the set percent before the cut can act. Setting the cut to 0 switches it off: do not do that.
- There is no live or demo track record yet. Every number in this manual comes from backtests (the Strategy Tester) at one broker. They do not predict the future. The cut level was chosen after looking at those tests, so the tests flatter it. Your broker has its own prices, spread, commission and swap.
- Some months are not covered by the tests. The tests cover January 2024 - May 2025 and January - November 2026. June - December 2025 was not tested.
- Start on a demo account for 2-4 weeks. Check that the EA trades, the dashboard shows what you expect, and the drops you see are ones you can live with.
- The EA needs a balance of at least 1,000 USD to open any trade (see "How the lot is chosen"). Below that it opens nothing and says so in the Experts tab. Start with an amount you can afford to lose, and not more than you need.
- Keep the terminal running (a VPS or a computer that stays on 24/5). While it is off nothing protects the account.
- Ask support before you change any setting: https://m.me/forexreviewth
Amber Grid
Expert Advisor for MetaTrader 5, gold (XAUUSD) only. It is a grid-style EA: it can hold several trades at the same time, on both the buy and the sell side, and when the market moves against open trades it can add more. The lot size comes from your balance. It has no income promise and no setting that removes the risk.
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. It was tested on IC Markets (XAUUSD) and Exness (XAUUSDm). Other names for gold, and cent accounts, were not tested: try them on demo first.
- About three months of price history for the gold chart. The terminal downloads it when the chart opens.
- 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.comWhat the licence check sends: your MT5 account number, your broker's company name and the product name ("Amber_Grid"); like any web request, the server also sees the internet address it comes from. It does not send your name, your password, your balance or your trades.
- 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 the days left. Without a licence the EA opens no new trades; trades already open are still managed.
2Install
▼- In MT5 choose File > Open Data Folder, open
MQL5\Expertsand copy the downloaded file (AmberGrid1.00.ex5) into it. In the Navigator, right-click Expert Advisors > Refresh. - Open an XAUUSD chart (any timeframe) and drag the EA (AmberGrid1.00) 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 it can take a few minutes before every part of the EA has enough 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 or does not trade, the Experts tab (Toolbox window) says why:
| Message | What to do |
|---|---|
| needs a hedging account | Open a hedging account; netting accounts are not supported. |
| no trade opened - the balance ... is below one step of the lot rule | Your balance is below the first step of the lot rule (1,000 USD). The EA opens nothing until the balance reaches it. |
| no trade opened - free margin ... does not cover ... lot | There is not enough free margin for the next trade, so it was skipped. |
| no trade opened - algo trading is switched off | Turn on the Algo Trading button in the toolbar and tick "Allow Algo Trading" in the EA's Common tab. |
| waiting for the daily price history of this symbol | The terminal is still loading history. The EA decides nothing until it is loaded: wait a few minutes. |
| part N is off - not enough price history on this chart, load more bars | The terminal has not loaded enough history yet. Wait, scroll the chart back, or restart the terminal. The other parts keep working. |
| a line that starts with [LICENSE] and says Paused, or "new baskets NOT allowed" | No licence for this account yet, or the licence server was not reached. Check the WebRequest addresses, then send your account number to support. |
| anything else | Restart the terminal. If it happens again, send a screenshot of the Experts tab to support. |
3Inputs (as shown in MT5)
▼| Input (as shown in MT5) | Default | What it does |
|---|---|---|
| Account balance (USD) needed for each lot step | 1000 | The lot rule (below). Raising it lowers the lot and the risk; lowering it does the opposite |
| Lot added for each balance step | 0.01 | The lot rule (below) |
| Largest lot of one trade (0 = no limit) | 5 | Upper limit of one trade |
| Close all trades when the loss reaches this percent of the balance (0 = off) | 20 | The drawdown cut (below) |
| Hours the broker clock is ahead of New York (used only if it cannot be detected) | 7 | Used only when the EA cannot read the server clock itself. Leave 7 unless support tells you another number |
| Magic number | 26111101 | 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 trades are open: the EA would no longer manage them |
| Show the panel on the chart | true | The dashboard. Off does not change trading |
| Panel size (0.6 to 1.4; the A- / A+ buttons change it) | 0.8 | Starting size of the dashboard |
Ask support before you change the first four inputs.
How the lot is chosen
Every new trade gets the lot 0.01 for each full 1,000 USD of balance (the step is 1,000 in account money; the EA converts by itself on accounts that are not in USD).
| Balance | Lot of each new trade |
|---|---|
| below 1,000 USD | none: no new trades |
| 1,000 - 1,999 USD | 0.01 |
| 2,000 - 2,999 USD | 0.02 |
| 5,000 USD | 0.05 |
| 10,000 USD | 0.10 |
| 50,000 USD | 0.50 |
The lot grows when the balance grows and falls when it falls. It is never more than the "largest lot" input (5 by default) or your broker's largest lot, and it is rounded down to your broker's lot step. The lot of one trade does not multiply when trades are added, but the total lot grows with the number of open trades, so a losing move costs more and more. Just above a step the risk per dollar of balance is highest: for example a balance of 1,000 USD trades 0.01 lot, the same lot as a balance of 1,999 USD.
Before each trade the EA checks that your free margin covers it. If not, it skips the trade and writes a line in the Experts tab.
The drawdown cut
The cut compares the open result of the EA's own trades with the account balance: when their open loss (profit and swap together) reaches the percent of the balance you set, the EA closes every trade it has opened and goes on from there. A broker bonus (credit) is not counted: the loss is measured against your balance alone, so a bonus does not delay the cut. Trades opened by another EA or by hand on the same account are not counted and are not closed: the cut protects against this EA's loss only, not against the loss of the whole account. It acts while the terminal runs and is connected, and it can only close at the prices the market gives at that moment. After a cut the account is smaller, so the lot is smaller.
4What the tests showed
▼Backtests in the MT5 Strategy Tester, XAUUSD at IC Markets, start balance 30,000 USD with the lot rule above (the lot grew with the balance), drawdown cut 20 %, largest lot 5.
| Test | Period | Deepest drop from a high (equity) | Profit factor | Months with a profit | Worst month |
|---|---|---|---|---|---|
| 1 | Jan 2024 - May 2025 | 19.8 % | 1.88 | 15 of 17 | -11.6 % |
| 2 | Jan - Nov 2026 | 25.7 % | 1.55 | 10 of 11 | -8.4 % |
- Both tests ended with a profit. We do not print the money amounts: the lot grew with the balance, so they would mislead on a small account.
- The drop can be deeper than in the tests. The table measures the fall from the highest equity; the cut measures the loss against the balance, so the table can show more than 20 %. In test 2 the cut closed all trades 6 times; in test 1 it never fired. A real market can gap past the cut level.
- Test 1 used generated price ticks (recorded ticks were not available for that period); test 2 used recorded ticks from April 2026 on and generated ones before.
- On Exness (XAUUSDm), at a fixed lot, the 2026 test was close to IC Markets (within about 8 % in profit); the 2024-2025 test was weaker than at IC Markets, and we do not know why. Exness has a wider spread.
- June - December 2025 was not tested, and the live behaviour has not been seen yet.
5Broker and server time
▼Brokers run their servers on different clocks. Amber Grid reads your broker's server clock by itself and adjusts to it. Only when it cannot read the clock does it fall back to the "Hours the broker clock is ahead of New York" input (see Inputs). Leave it at 7 unless support says otherwise.
The EA does not open new trades during gold's daily break (about one hour around 17:00 New York time); the dashboard shows RESTING then. Trades already open are still managed.
6The dashboard
▼Figures cover this EA's trades on this symbol (by magic number), counted from the month of its first trade in the account history, so they survive a restart or a reinstall. They show closed results; the open result is shown separately. Click the header (outside the buttons) to fold the panel, A- / A+ to resize, WEEK / MONTH / 90 D to change the curve, and the tabs to change the right card. The panel only reads: it never places or changes a trade.
Header
- Logo, name, and a line with the symbol and version.
- Licence card (centre):
| Shows | Means |
|---|---|
| LICENSE ACTIVE | Licence OK; your account number and broker server are shown |
| DEMO ACCOUNT | A demo account: trading is allowed without a licence |
| TRIAL | Trial running; shows the days left |
| CHECKING LICENSE | The EA is asking the licence server; it uses the last known answer meanwhile |
| NO LICENSE, LICENSE EXPIRED, NO LICENSE SERVER | No new trades; open trades are still managed. Send your account number to support |
| STRATEGY TESTER | Running in the MT5 Strategy Tester, where the licence is not checked |
- Status pill (top right): RUNNING (trading allowed), RESTING (the daily break), MANAGE ONLY (no licence: no new trades). When the EA cannot open a trade the pill says why: TRADING OFF (the terminal's Algo Trading button, the EA's "Allow Algo Trading" box or the account does not allow trading; nothing is opened or closed until it is back on), LOW BALANCE (the balance is below the amount needed for one lot step), LOW MARGIN (the free margin does not cover the next trade), LOADING (the price history of the symbol is still loading). The Experts tab has a line with the same reason.
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 and the trade count.
- BALANCE: the closed balance as a curve, and the equity low of each day in blue. WEEK / MONTH / 90 D choose the period.
- Tiles: TODAY, OPEN RESULT (open trades now, with their number), SINCE INSTALL (profit since the first trade), MAX DRAWDOWN (the deepest fall of this EA's equity, with "this EA" under it).
- DRAWDOWN CUT: five steps that fill as the open loss of the EA's trades approaches the cut, the loss now as % of the balance against the limit, and the number and total lot of the open trades.
Right card
- MONTH: calendar, Monday to Friday, each day's profit and trade count, green or red by result, today ringed; the WEEK column holds the week totals. The arrows go to earlier months; LATEST jumps back to now.
- YEAR: one box per month with its profit in money and as %, and the trades. The arrows change the year; click a month to open its calendar.
- STATS: since the first trade: profit factor, win rate, recovery (profit / deepest drop), average % per month, the balance curve with its deepest drop marked, worst day and month, losing streak, deepest floating loss, the most trades open at once, largest lot, lowest margin level, average win and loss. "Watched since ..." means the panel can only see values from the day it was attached.
Footer
Balance, Equity, Spread, the account type, server time, and the CONTACT US button (shows the support link).
7Restart, VPS move, updates
▼Close the terminal, restart the VPS or move to another one at any time. On start the EA finds its open trades by the magic number and goes on managing them, 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, nothing protects open trades: the drawdown cut and the EA's other exits 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.
- Updates: copy the new file into
MQL5\Experts, remove the old version from the chart and attach the new one (the old file can then be deleted). Check that the inputs and the magic number are the same as before. Open trades are picked up as after a restart. - Do not move or remove a stop loss the EA set, and do not open trades by hand with its magic number.
8Support
▼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.