SesTrading · Answers
Forex robots (EAs): what they are, and what simple rules did on gold
Key fact (our test, COMEX gold daily bars, 30 January to 20 November 2026): While gold fell from its record to a close 33.9% lower, a holder lost 1,895 points per ounce. The textbook 50/200-day moving-average robot lost 828: it stayed long for 105 trading days and only turned short at the open of 2 July. The RSI dip-buying robot, which had won 77% of its trades over ten years, lost 486 buying the dips. Only the 20-day breakout robot gained (+630), and 70% of its trades over ten years were losers. One fall is one case, not a ranking.
What an Expert Advisor is
The SesTrading lesson puts it simply: automation is something banks and institutions have used for many years, and retail traders reach it through EAs, “Expert Advisors”: bots uploaded to MetaTrader that run your trading automatically around the clock “based on predefined criteria”, following a strategy built from technical indicators, timeframes and risk-management rules such as take profit and stop loss. A trailing stop, which moves the stop as the trade goes into profit, is one such rule.
The platform side is documented by MetaQuotes. MetaTrader 5 has its own language, MQL5 (syntax similar to C++), and a built-in development environment, MetaEditor. According to the MetaTrader 5 help, with the MQL5 Wizard a trader without programming skills can create an Expert Advisor by selecting signals, money management and a trailing-stop method, and the platform links to a code base of free automated trading programs. So building a simple robot is within reach; building a good one is a different matter.
What the lesson says about using one
- You cannot automate what you cannot do. The instructor says you cannot just create an EA if you do not know how to trade: you first need a strategy with rules, and the code (yours or a developer's) only executes them. A breakout trader, for instance, defines a range and lets the EA place a trade whenever price breaks out of it.
- He prefers manual trading and does not recommend going fully into EAs. If you have a small separate account you can let an EA run next to your manual trading, to learn how the market behaves.
- Copy trading is the other route he names: your account copies the positions of another trader, so it takes less of your time for analysis and decisions. It does not remove the risk; see copy trading vs a managed account.
What regulators warn about
The US Commodity Futures Trading Commission (CFTC) issued a customer advisory on 25 January 2024, “AI Won’t Turn Trading Bots into Money Machines”. Its press release says scammers claim that bots, trade-signal algorithms and similar technology generate huge returns, that claims of high or guaranteed returns are red flags of fraud, and that AI technology cannot predict the future. The advisory also lists points to check before trusting a trading bot or signal provider, including the background of the company or trader. The practical rules that follow:
- A robot that “guarantees” a monthly return, shows only a rising curve, or comes with a promise to cover losses is selling a story. No program can know the future.
- A screenshot or a back-test from the seller is not evidence. Ask for a statement from a real account, over at least a year, with every losing month.
- Never give a stranger control of your account or your password for a robot; check who is behind a company before you pay.
Our test: three textbook EAs on ten years of daily gold
To see what “simple automation” means in numbers, we coded three rules exactly as a beginner's EA would and ran them on COMEX gold futures (GC=F) daily bars from 9 November 2016 to 20 November 2026 (2,523 bars, Yahoo Finance). Signals are read at the close, trades are made at the next day's open, and every change of position pays $0.31 per ounce per side, half the median $0.62 spread we measured on XAU/USD in 2026 (Dukascopy quotes, September-October 2026; see also our gold strategy page for the session pattern). We assume no slippage and no overnight financing, both of which cost real accounts more. The first 200 days are needed to warm up the averages, so results run from 30 August 2017 to 20 November 2026 (2,322 trading days), and a position still open at the end is valued at the 20 November close of $3,515.40. Results are in gold points ($1 per ounce): on a 0.01 lot (1 ounce) one point is $1; on 0.10 lot, $10.
| Rule | Net result | Worst drawdown | Trades | Winners |
|---|---|---|---|---|
| Buy and hold (for comparison) | +2,207 pts | 1,900 pts | 1 | - |
| 50/200-day moving-average cross, long and short | +2,064 pts | 2,034 pts | 13 closed, 1 open | 3 of 13 (23%) |
| Same, long only (flat when the fast average is below) | +2,136 pts | 1,397 pts | - | - |
| 20-day breakout, exit on a 10-day low/high, long and short | +606 pts | 1,315 pts | 104 closed, 1 open | 31 of 104 (30%) |
| Same, long only | +887 pts | 725 pts | - | - |
| RSI(14) below 30: buy; sell when RSI passes 50 (long only) | +55 pts | 954 pts | 30 closed, 1 open | 23 of 30 (77%) |
Read this table carefully, because it cuts both ways. The rules did make money, in a decade when gold rose 176% (from 1,272.60 to 3,515.40), even after the 2026 fall. A trend rule that is long gold most of the time inevitably does; the long-only versions beat the long-and-short ones. But none of the three beat buying and holding, the moving-average rule had a worse drawdown than holding, and the trade statistics are the opposite of what a smooth equity curve suggests:
- The moving-average cross won 3 of 13 closed trades. Its average winner was +820 points and its average loser -93; two long trades (January 2019 to February 2021, +494 points, and December 2023 to July 2026, +1,955 points) made more than the total. Take away those two positions and the other 11 lost money. All six closed short trades lost; the short opened on 2 July 2026 at 4,049.20 is the first to work, 534 points ahead at the 20 November close.
- It lost money in 5 of the 10 calendar years (2017 -6, 2018 -55, 2021 -234, 2022 -316, 2023 -465 points; 2017 is a part year) and gained in 2019 (+240), 2020 (+390), 2024 (+568), 2025 (+1,699) and 2026 to 20 November (+242: -291 while it was still long into the fall, +533 on the short since July). A trader running it in 2021-2023 would have sat through three losing years in a row.
- The breakout rule is the “busy” robot: 104 closed trades, 30% winners, costs of 65 points, and yearly results between -298 (2020) and +1,458 (2026 to 20 November).
- The RSI rule wins often (77%) but its average loss (-95 points) is twice its average win (+48). One trade lost 267 points, and 2026 is its worst year by far (-486 points to 20 November; the worst before was -101 in 2018). A high win rate says little about whether a rule makes money.
How fragile are the settings?
Robots are usually sold with “optimised” settings. We ran the moving-average rule on 15 combinations of fast average (10, 20, 30, 50 days) and slow average (50, 100, 150, 200): all 15 made money in this gold market, from +1,827 to +3,781 points, but the best result is 2.1 times the worst. 11 of the 15 beat buy-and-hold at the 20 November close; on 6 November, before the last leg of the fall, only 4 did, so even the comparison with holding depends on the day the test stops. The 50/200 pair everyone quotes was in the bottom three each time. Choosing the best of 15 after seeing the result tells you nothing about the next ten years; it only tells you which setting happened to suit this one.
Why we do not read this as a recommendation
- Ten years of rising gold flatter any rule that is long. In a long sideways or falling market the same rules behave differently, and the sample holds only one long fall, 2026, which is looked at separately below.
- The series is a futures contract with rolls, daily bars only, and costs are an average; a real broker adds financing on positions held for months, which is large for the 2-3 year trades above.
- Max drawdown on one ounce was 2,034 points, i.e. $2,034 on a 0.01 lot at the worst point: the account has to survive that without a margin call or without you switching the robot off at the bottom, which is when most people do.
What the three robots did in the 2026 fall
Gold closed at a record $5,318.40 on 29 January 2026 and at $3,515.40 on 20 November, 33.9% lower (every fall of 10% or more since 2000). It is the first long fall in our ten-year sample, so it is the first chance to see what these rules do when the market stops rising. From the open of 30 January ($5,410.00) to the 20 November close, 205 trading days, with the same costs:
| Rule | Result, 30 Jan to 20 Nov 2026 | Days long / short / flat | What happened |
|---|---|---|---|
| Buy and hold | -1,895 pts | 205 / 0 / 0 | Held through the whole fall |
| 50/200-day cross, long and short | -828 pts | 105 / 100 / 0 | Long until the open of 2 July at 4,049.20 (-1,361), short since (+534) |
| 50/200-day cross, long only | -1,361 pts | 105 / 0 / 100 | Out of the market since 2 July |
| 20-day breakout, long and short | +630 pts | 55 / 116 / 34 | Lost 400 on the long it held over the top; shorts of 30 April-23 July (+430), 15 September-6 November (+241) and one open since 13 November (+368) made the result |
| 20-day breakout, long only | -446 pts | 55 / 0 / 150 | Mostly flat; lost on the longs it took |
| RSI below 30, long only | -486 pts | 84 / 0 / 121 | Bought five dips: +136, +211, -267, -191, and one bought on 2 November at 3,890.00 that was 375 points down at the 20 November close |
- A slow trend rule exits late. The 50/200-day cross needed five months to turn and gave back 1,361 points per ounce first. It still lost 56% less than holding (828 against 1,895), because of the short it has held since July.
- A dip-buying rule has no brake. The RSI robot won 23 of its 30 closed trades over ten years. In this fall its first two dips bounced, the next two lost 457 points together and the fifth is under water. Its win rate stayed high until the market changed.
- The rule with the worst ten-year record did best here. The breakout rule loses 70% of its trades, yet it was the only one of the three that went short within two months of the top (19 March), and its two long shorts later in the year made the result.
- The last day shows the split. On 20 November gold closed $170.10 lower, a fall of 4.6% in one session. The two robots that were short that day gained those 170 points per ounce; the dip-buyer, long since 2 November, lost them. Same day, same market, opposite results.
None of this ranks the rules. It is one fall, and the next one will have a different shape: a fall made of sharp drops and fast recoveries would punish the breakout rule and reward the dip-buyer. What it shows is that a robot's back-test describes the market it was tested on. Before trusting any robot, find out what kind of market its test period was, and ask to see it in the other kind.
Gold EA or copy trading: two ways to automate, compared
People who want gold traded for them usually end up choosing between two things: buying or renting an EA and running it themselves, or copying a strategy that someone else runs. Both place trades without you. They differ in where the program runs, who is responsible for the rules, and what you can check before you start.
| An EA you run yourself | Copy trading | |
|---|---|---|
| Where it runs | Inside your own MetaTrader terminal. The MetaTrader 5 help says a trading robot needs a “constant connection to a trade server and uninterrupted power supply”, which is why the platform rents out virtual servers | It depends on the service. With a copy-trading platform that runs on the provider's own servers there is normally nothing to install on your side. MetaTrader's own Signals service copies inside your terminal: its help says the account “must always be on and connected to the server”, on your computer or on a rented virtual server |
| Who owns the rules | You. You choose the settings and the lot size, and nobody watches it for you | The provider. You choose whom to copy, how much of your account follows, and when to stop |
| What you can check first | A back-test, which describes the market it was tested on (the tables above), and a live statement if the seller has one | The live history of the strategy: every trade, the worst stretch and how long it has run. Ask for it if it is not shown |
| How the trade size is set | A lot size or a risk setting you type in | Scaled to your account, then rounded to the smallest lot allowed. On a small account the rounding changes the risk (measured on 406 real signals) |
| What you usually pay | A purchase price or a rental, often a virtual server, and the spread on every trade | A subscription or a share of the profits, and the spread on every trade |
| What goes wrong first | The terminal goes offline, the settings were fitted to the past, or the market changes: the 50/200 rule above stayed long for 105 trading days of the fall | The strategy has a bad run and you copy every loss; copies arrive late or in a different size from the provider's |
| Stopping | You switch it off. Decide beforehand what happens to a trade that is open at that moment | You stop copying. Ask what happens to open trades: with MetaTrader Signals the help says positions opened by copying “will not be closed after subscription cancellation” and you manage them yourself |
The quotations are from the MetaTrader 5 help pages “Virtual Hosting” and “How to Subscribe to a Signal” (metatrader5.com, read on 23 November 2026). Other copy-trading services have their own rules; read them before you connect an account.
The same seven months, five ways of being in the market
How fast a strategy trades decides which of the two routes can carry it. We put the three textbook robots from the test above next to our own hand-posted gold signals over the same period, 17 April to 20 November 2026 (152 trading days). The signals are placed by a person, not by a robot, and they are not the record of any automated product. They are here because they are the fast strategy we have complete data for.
| Orders in the period | How long a position lasted | Time in the market | Result per ounce | |
|---|---|---|---|---|
| 50/200-day cross, long and short | 1: it turned from long to short on 2 July | 52 and 100 trading days | Every day | -229 pts |
| 20-day breakout, long and short | 9: five entries, four exits | 6 to 57 trading days | 126 of 152 days (83%) | +994 pts |
| RSI dip-buyer, long only | 7: four buys, three sells | 5 to 25 trading days | 70 of 152 days (46%) | -622 pts |
| Buy and hold | None | The whole period | Every day | -1,296 pts |
| Our hand-posted gold signals | 406 signals on 140 days, three on a median day | Median 19.5 minutes from the signal to the posted result; 377 of 403 were over before 17:00 New York time the same day | At most 623 hours, about 12% of the 5,232 hours in those 218 days | Counted in pips, not comparable here: see the full record, losing weeks included |
Read across the rows. The three robots ended the same seven months at -622, -229 and +994 points per ounce, against -1,296 for holding, so “an EA” is not one thing. A daily-bar robot acts at most once a day, at the open: in seven months the moving-average rule sent one order. If its terminal is offline for an hour, almost nothing happens, unless it is the one hour that matters (the short it opened on 2 July was 534 points per ounce ahead by 20 November). A fast strategy is the opposite: 406 decisions, most of them over within the hour. It cannot be followed late. On our own signals, entering five minutes after the post cut the share of trades that reached the first target before the stop from 69.8% to 65.4%, and fifteen minutes cut it to 57.0% (305 signals, 20 July to 13 November 2026; the delay test). A slow rule can live in an EA on a home computer. A fast strategy needs every order placed within seconds, which is what automatic copying is for, and it is why the first question to any copy-trading provider is how late and in what size the copies arrive.
Which one fits
- An EA fits if you have a rule you understand, can test it yourself and will keep a terminal or a virtual server running. You carry the whole job: the settings, the updates and the decision to stop.
- Copy trading fits if you would rather judge a track record than write rules. You carry a different job: checking who the provider is, what the worst stretch looked like and what the copying costs (is copy trading safe?, signals or copy trading?).
- Neither removes the risk. An EA follows its rule into a loss, and a copied account takes every loss of the strategy it copies. Ask both the same two questions: how much is risked on one trade, and what stops it after a bad day.
Our own automated gold strategy, the SesTrading Gold Algo, uses the copy-trading route. It trades gold (XAUUSD) in a trading account opened in your own name; you connect it by choosing the strategy named SesTrading Gold in copy trading, and a Telegram assistant guides the set-up. It risks at most 1% per trade. There is no sign-up or monthly fee; SesTrading earns a share of the profits only. Trading gold is high risk and you can lose money.
A checklist before you trust any robot
- Can you state its rules in two sentences? If the seller cannot or will not, it is a black box.
- Has it been tested on at least ten years and more than one market regime, with realistic spreads, slippage and swaps? The backtesting guide explains how to avoid fooling yourself.
- What is the worst drawdown, and could you hold through it with real money and real emotions? Size from that, not from the best month; the lot size calculator and risk-reward pages show the arithmetic.
- Is there a live statement (not a back-test) from an account you can verify? Does it include the losing periods?
- Does it guarantee anything? Then walk away; the CFTC lists that as a red flag.
- What does it risk per trade, and does it stop after a bad day? Ask for both numbers. We tested a daily loss limit on our own 406 gold signals (17 April to 20 November 2026, 1% risk per trade): a 2% limit was reached on 10 of 140 days, skipped 7 winners and 3 losers, and cut the worst day from -3% to -2.4%; it limits the bad day, it does not add profit (the test).
- Have you run it on a demo account for at least a month first? MetaTrader 5 for beginners shows how to open one.
Key points
- An EA is a MetaTrader program that executes a rule-based strategy automatically; it automates a strategy, it does not make one profitable.
- MetaTrader 5's MQL5 Wizard lets a trader without programming skills assemble a simple EA; the lesson says you must know how to trade first.
- The lesson prefers manual trading, with at most a small separate account for an EA alongside it.
- Regulators (CFTC, January 2024) warn that claims of high or guaranteed returns from bots are red flags and that technology cannot predict the future.
- Our test to 20 November 2026: 50/200-day cross +2,064 points over ten years with 3 winners in 13 closed trades and 5 losing years of 10; breakout +606 points; RSI +55; buy-and-hold +2,207. Costs $0.31 per side; no financing.
- In the 2026 fall (30 January to 20 November): holding -1,895 points, the 50/200 cross -828, the RSI dip-buyer -486, the breakout rule +630.
- EA or copy trading: an EA runs in your own terminal, which must stay online, and you own the rules; with copy trading the provider owns the rules and you judge the record. From 17 April to 20 November 2026 the moving-average robot sent one order, while our hand-posted gold signals numbered 406 with a median length of 19.5 minutes: a slow rule can run as an EA at home, a fast one has to be copied within seconds.
- The setting you choose changes the result 2.1-fold; demand live statements, not back-tests.
Related: gold trading bots: the three kinds and what a daily loss limit did on 406 real signals, XAUUSD copy trading: lot rounding and the profit share on the same signals, building a trading plan, trading mistakes, technical analysis for beginners. All guides are on the learn page.
See how we trade gold, with the results
The Telegram bot answers in English, explains the VIP gold trades (each with entry, stop loss and targets) and shows where the weekly results are published, losing trades included. Trading is risky; most retail accounts lose money.
Questions people ask
What is an Expert Advisor (EA) in forex?
A program that runs inside MetaTrader and opens, manages and closes trades automatically according to rules you or a developer have coded: indicators, timeframes, stop loss, take profit, trailing stop. It can run 24 hours a day without you at the screen.
Can I build my own forex robot without coding?
MetaTrader 5's MQL5 Wizard, according to the MetaTrader 5 help, lets a trader without programming skills create an Expert Advisor by choosing trading signals, money management and a trailing-stop method; the code is generated automatically. A useful strategy still has to come first, and the Wizard does not provide one.
Are forex robots profitable?
It depends entirely on the rules, the market and the costs. Three simple textbook rules were profitable on ten years of rising gold in our test but none beat buy-and-hold, the best-known one lost money in 5 of 10 years, and results varied 2.1-fold with the settings. Robots sold with guaranteed or very smooth returns are a warning sign, according to the CFTC.
Do trading robots work when the market falls?
It depends on the rule. In our test of gold's 2026 fall (30 January to the 20 November close, when a holder lost 1,895 points per ounce), the 50/200-day moving-average robot lost 828 points because it stayed long for 105 trading days before turning short, an RSI dip-buying robot lost 486 points, and a 20-day breakout robot gained 630. One fall is a single case: a robot that can only buy, or that reacts slowly, will lose in a long fall.
Are trading robots a scam?
The technology is not, but many sales pitches are. The CFTC warned in January 2024 that scammers use bots and AI to promise huge or guaranteed returns. Check who is behind the seller, ask for live account statements with the losing periods, and never hand over your account credentials.
Is an EA better than trading manually?
The SesTrading lesson prefers manual trading and suggests an EA only on a small separate account while you learn. An EA removes emotion and fatigue but also judgment; it will follow a rule through a news spike or a broken market exactly as coded.
What is the difference between an EA and copy trading?
An EA is a program you run yourself inside MetaTrader, with your own settings; the terminal has to stay online, usually on a rented virtual server. Copy trading copies the trades of another trader or of a strategy into your account, scaled to your account size, and you can stop copying. With a provider's own copy-trading platform there is normally nothing to install; MetaTrader's own Signals service copies inside your terminal, which must stay on and connected. Both reduce the time you spend on analysis; neither removes the risk of loss, and with copy trading the result depends on what you copy. Our own automated gold strategy, the SesTrading Gold Algo, uses the second route (copy trading, in a trading account in your own name); the three kinds of gold bot are compared on our gold trading bots page.
Is a gold EA better than copy trading?
Neither is better in general; they suit different strategies and different people. A slow rule on daily bars sends few orders (the 50/200-day moving-average rule sent one between 17 April and 20 November 2026) and can run as an EA you look after yourself. A fast gold strategy (our own hand-posted signals: 406 in the same period, median length 19.5 minutes) has to be copied within seconds, which is what copy trading is for. With an EA you judge a back-test and own the settings; with copy trading you judge a live record and a provider.
Do I need a VPS for an EA or for copy trading?
For an EA, in practice yes: the MetaTrader 5 help says trading robots and signal subscriptions require a constant connection to the trade server and uninterrupted power, and offers virtual hosting for that. MetaTrader's own Signals copying needs the same. A copy-trading platform that the provider runs on its own servers normally needs nothing on your side; ask the provider to confirm it.
Does an EA work on MetaTrader 4 and 5?
Both platforms run Expert Advisors, written in MQL4 and MQL5 respectively, and a robot built for one will not run on the other without being rewritten. This page uses the MetaTrader 5 documentation.
SesTrading on Telegram
More answers
- SesTrading review: is it legit?
- About & licence
- Choosing a gold signals Telegram channel
- Start trading gold with a small amount
- Copy trading vs managed account vs automated strategy
- Investing $50k–$100k for monthly income
- Gold price today (live)
- Lot size calculator (gold and forex)
- What is forex?
- How to trade gold (XAU/USD)
- Gold price history (1970 to today)
- XAU/USD explained
- Pip value calculator
- Trading for beginners: the roadmap
- Margin calculator
- Profit calculator (gold and forex)
- Gold trading strategy: a session-based plan
- Learn trading (free guides and tools)
- How to choose a forex broker (checklist)
- Trading timeframes explained (lesson)
- Common trading mistakes and how to avoid them (lesson)
- Forex trading sessions and kill zones (lesson)
- Market structure: higher highs, lower lows (lesson)
- Candlestick patterns made easy (lesson)
- Support and resistance: levels, ranges, breakout and retest (lesson)
- Fibonacci retracement: levels, discount and premium (lesson)
- Technical analysis for beginners: the tools, in order, with gold measured (lesson)
- Chart patterns: head and shoulders, double tops and bottoms, triangles, tested on gold
- How to backtest a trading strategy, with a real gold backtest (lesson)
- Risk-reward ratio: break-even win rates and what 1:2 and 1:3 did on gold (lesson)
- How to write a trading plan: a filled-in example for gold (lesson)
- Stop loss: where to place it, how to size the trade, and how often gold hit stops of $5 to $100
- Scalping gold: how it works, what it costs, and what 25,416 simulated 5-minute trades showed
- Gold forecast: what 51 years of prices say about the next 12 months, and what they cannot
- Best month to buy gold: what 51 years of monthly prices show (and why it is weak)
- Gold-silver ratio today (82.6, 2 Dec 2026), down from its highest in more than a year
- Gold vs stocks in 2026: gold -18.6%, S&P 500 +4.9%, and the year they fell together
- Gold vs the US dollar: what 26 years of the dollar index show
- Gold price adjusted for inflation: 1970-2026 in today’s dollars
- Gold and interest rates: what 23 years of real yields and Fed cycles show
- How to use MetaTrader 5: a beginner's walkthrough
- Gold signals: how to read one, our recorded results and what to check
- How to trade forex: 7 steps with measured pair data
- Gold rate today in Dubai, UAE (live, AED per gram)
- Fair value gap (FVG): what it is and how often gold fills it
- Order blocks: the lesson's rules, tested on gold
- Liquidity in trading: buy-side, sell-side and stop hunts, tested on gold
- Breaker blocks: failed order blocks, tested on gold
- Gold and the Fed (FOMC): what gold did on 47 decision days
- How to buy gold: bars, ETFs, mining stocks, futures and CFDs compared
- What is leverage in forex and gold trading?
- ICT Silver Bullet: the three one-hour windows, tested on gold
- Power of 3 (AMD): accumulation, manipulation, distribution, tested on gold
- Optimal trade entry (OTE): the 62-79% zone, tested on gold
- Gold trading bots: how they work, and what a daily loss limit did on 426 real signals
- XAUUSD copy trading: what copying gold trades does to a small account (lot rounding, profit share, open risk)
- Is copy trading safe? The losing side of a winning record (426 real gold signals)
- Gold signals vs copy trading: how many signals you can really take by hand
- Copy trading for beginners: how it works and what the first month looked like
- Copy trading risk settings: what 0.5% to 10% per trade did on 426 real gold signals
- CISD (change in state of delivery): the rules, CISD vs MSS, tested on gold