BESTMT4EA

Free Forex EA

Best Gold Robot for MT4/MT5: How to Actually Pick One

How to choose the best gold robot for MT4/MT5 by drawdown, exposure and licence instead of screenshots, plus a free MIT-licensed MT5 expert advisor to test.

BESTMT4EA Trading Desk
Updated 31 August 202617 min read

Quick answer

There is no single best gold robot for MT4/MT5, because the result depends on your broker's spread, your risk input and the code you cannot see. The way to pick one is to rank candidates by maximum drawdown, exposure model, trade count and licence before you look at returns. This page gives you that buying method and a free MIT-licensed MetaTrader 5 expert advisor with full source to test against.

Key takeaways

  • Rank gold robots by maximum drawdown, exposure model and trade count first, and by returns last. The downside is what ends accounts on XAUUSD.
  • Any gold robot that adds to a losing position is not low risk, however calm its equity curve looks.
  • A verified third-party track record with a deposit history beats a screenshot, but only if it shows real money and a real drawdown.
  • The download on this page is the MQL5 Liquidity Sweep Bot, an MIT-licensed MT5 expert advisor with full MQL5 source.
  • MetaTrader 5 is the better research platform for gold because it can backtest on real ticks; MetaTrader 4 is still fine for execution.
Shared bundleMT5No licence stated - third-party files shared as-is, unverified

2000+ EA & Indicator Library (shared bundle)

Size: about 577 MB in three zip parts

This link does not download a single file for the tool in this article. It opens a shared Google Drive library of 2,000+ third-party EAs and indicators in three ZIP parts (about 577 MB in total); the tool is inside the bundle under its own file name, if it is there at all. We did not make these files and have not verified their licences, so scan everything, test on a demo account first, and use it entirely at your own risk.

Related open-source project: carlosrod723 on GitHub

Own the rights to this file? Request its removal under our DMCA policy.

How to install it

  1. 1

    Open the repository and read the strategy

    The project describes its entry logic — fractal liquidity sweeps, Fibonacci zones and order blocks — and its trade management. Read that before you download anything, so you know what you are about to test.

  2. 2

    Download the source and check the licence

    Take the .mq5 source rather than only a compiled .ex5, and read the licence file. Reading the logic is the whole point of an open-source robot.

  3. 3

    Open your MetaTrader 5 data folder

    In MetaTrader 5 go to File, then Open Data Folder, and place the file in MQL5/Experts. MetaTrader 4 will not compile MQL5 files, so MT4 users need a different source.

  4. 4

    Compile in MetaEditor

    Open the file in MetaEditor and press F7. A clean build writes a compiled expert beside the source, and any error message points at the exact line rather than hiding inside a binary.

  5. 5

    Read the trade-management block

    Search the source for the order function, the partial-exit logic and the trailing stop. Confirm a stop sits behind every position and that nothing averages into a loser.

  6. 6

    Backtest on real ticks, then forward-test on demo

    Run the Strategy Tester with real ticks for your broker's XAUUSD, then leave it on demo for at least four weeks and thirty trades. Live money comes only after the demo record resembles the backtest.

BESTMT4EA Trading Desk

MQL4/MQL5 developers and traders. We publish the live track record for everything we review.

Ask us on Telegram

You want the best gold robot for MT4 or MT5, and the honest answer is that the phrase does not describe a product. It describes a decision you make about a robot, using numbers that most sales pages never show. The robot is a fixed piece of software. Whether it is the best for you depends on your spread, your account size, your risk input and your patience — four things no vendor controls.

So this page does something different from a top-ten list. It gives you the ranking method that keeps working after the list you read today is obsolete, and it gives you a real, MIT-licensed MetaTrader 5 expert advisor with full source so you can practise the method on actual code rather than screenshots.

By the end you will know which four numbers to compare before you look at returns, why gold punishes the wrong ranking, which platform to research on, and how to test a candidate so that the demo account — not the marketing — tells you whether it deserves a live account.

The problem: “best” is being sold to you as a feeling

Open any page that ranks gold robots and you will see the same four items in the same order: an equity curve that only rises, a win rate above 80 percent, a line about how the system has never had a losing month, and a button. That ordering is deliberate, because it presents the thing that feels good and hides the thing that decides the outcome.

What is missing is the complete list of what actually determines whether you keep your account:

  • The maximum drawdown, measured on equity rather than balance.
  • The longest run of consecutive losses, and how long it lasted in time.
  • The position sizing rule, stated as a percentage of your balance per trade.
  • The number of trades in the sample and the period they cover.
  • The exposure model — whether it adds to losing positions or accepts a stop.
  • The licence and source, so you can confirm the logic rather than trust a summary.

None of those are subjective, and none of them require you to be an expert to check. They are properties of a track record and a codebase, not of a marketing page. When a vendor cannot produce them, the absence is itself the finding: a robot whose behaviour you cannot describe is a robot you cannot size, and sizing is the decision that keeps you in the market.

Advertisement

XAUUSD makes the stakes higher than on a currency pair. Gold trades across London over-the-counter markets, COMEX futures and each broker’s own liquidity blend, with the LBMA holding a twice-daily auction to give the market an institutional reference. Between auctions, your broker’s feed is its own thing, and the differences show up around the events that move gold hardest — a US inflation print, a jobs report, a Federal Reserve decision. A robot that looked stable on one feed can behave differently on another, and the difference is concentrated exactly where the drawdown lives.

That is why “best” has to mean “best for your broker and your risk”, and why a list of names without numbers is not a buying guide. Our best gold scalper EA review shows what applying real numbers to a single gold scalper looks like, and it is a useful companion to the method below.

Agitate: the best robot you have ever owned, and the worst month

Meet a trader who, by the usual measures, did everything right. He shortlisted four gold robots, rejected the obvious scams, and chose the one with the highest verified return over twelve months and a Myfxbook link that checked out. The account was real. The return was real. He funded it and ran it.

The first three months went well, which is the dangerous part, because it built confidence. In month four, gold entered a sustained uptrend after a run of strong US data and a dovish Federal Reserve signal. Two of his robot’s inputs — a grid and a modest lot multiplier — began adding positions against the trend, exactly as written. The equity dipped gently at first, because unrealised losses do not appear as a sharp drawdown until they are closed. Then a single session moved gold several percent, the basket of open positions was deep underwater, and the account hit a margin call that closed everything at the worst possible price.

Nothing had failed. The robot was not broken. It did what its code said, and its code was designed to look smooth in normal conditions and to accumulate risk in exactly the conditions gold produces several times a year. The trader had compared the one number the marketing page displayed, which was return, and ignored the one his account depended on, which was the exposure model. The drawdown figure existed in the track record all along; it just was not the number he was taught to look at.

That month did not come from a bad decision at the moment. It came from a ranking method that scored the wrong variable. Change the method — drawdown and exposure first, returns last — and the same shortlist produces a different winner. That is what this page is for.

What four numbers should you compare before returns?

Four, and they are all properties of a track record rather than of a promise: maximum drawdown, exposure model, trade count and sample length, and licence with source. Compare them in that order.

NumberWhat to look for on a gold robotWhy it outranks return
Maximum drawdown (equity)A stated figure over a stated period, ideally under 30 percent on goldIt tells you how bad the bad weeks get, which is what ends accounts
Exposure modelA fixed stop on every position; no grid, no martingale, no averagingIt decides the worst case rather than the average case
Trade count and sampleDozens or hundreds of trades over 6 to 12 months or moreA high win rate on 20 trades is noise, not evidence
Licence and sourceA stated licence with a link, and readable source or a public repoIt lets you verify the other three instead of trusting them

The ordering is the whole argument. Drawdown and exposure describe the downside, and on a volatile instrument the downside is what determines survival. Trade count describes whether the numbers mean anything at all, because a small sample will flatter almost any strategy. Licence and source describe whether you can confirm any of it. Return, the number every sales page leads with, comes last — not because it is unimportant, but because its meaning depends entirely on the other four. A 40 percent return with a 45 percent drawdown is not better than a 15 percent return with a 10 percent drawdown; it is a different bet with a different chance of ruin.

There is a useful sanity check hidden in the table. If a robot cannot tell you its exposure model, that answers the question for you: assume the model is generous with losers, because that is what the silence is protecting. A robot built on a fixed stop is proud of it, and its documentation will say so.

Why does gold punish the wrong ranking?

Advertisement

Gold punishes the wrong ranking because the distribution of its losses is not symmetric with the distribution of its gains, and rankings that use averages hide that. A strategy can have a positive average trade and still produce an account-ending loss, if its losing trades are occasionally very large. Averaging hides the tail; the tail is the account.

Three structural facts about gold drive this. First, its volatility clusters. It is quiet for stretches and then violent around a short list of scheduled events, which means a robot tuned in a calm period meets a different instrument in a violent one. Second, it trends harder and further than most currency pairs, which is lethal to any logic that assumes reversion. Third, its spread widens precisely when volatility rises, so the cost of the trades that go wrong is higher than the cost of the trades that go right. None of these are rare conditions. They are gold’s normal behaviour, recurring several times a year.

The practical consequence is that “sustainable” and “high average return” are not the same property on gold, and often they are opposites. A trend-following or breakout gold robot with a fixed stop will have long losing stretches and a modest average return, because it pays for its big winners with many small losses. A grid robot will have a high win rate and a smooth curve — until it does not. If you rank by win rate or by recent return, you will systematically choose the second kind. If you rank by drawdown and exposure, you will systematically avoid it. That is the reversal this page is trying to install.

If you want the deeper version of how risk and drawdown are judged on gold specifically, our low-risk MT4 gold EA breakdown treats these numbers as the entire subject, and the MT4 indicators for gold guide explains the measurement tools that go underneath them.

How do you verify a gold robot’s performance?

You verify it with a third-party tracker and a deposit history, not with a screenshot. A screenshot is a picture; a tracker link is a record that a platform holds. The difference is the whole reason Myfxbook exists as a standard in this market.

When you open a verified track record, read it in a fixed order rather than letting the most flattering graph pull your eye:

  1. Deposit and withdrawal history. An account that has received deposits can show a rising balance that is not profit. Real performance is equity change, net of cash flows.
  2. Maximum drawdown, in percent and in currency. This is the number to carry into your own plan. If a track record shows a 20 percent drawdown, plan for more, not less, in your hands, because you are starting from different conditions.
  3. Average trade duration and trade count. A scalper with thousands of trades is a different instrument from a swing system with forty, and they carry different cost profiles and different sample reliability.
  4. Whether the money is real. Demo track records and live ones look similar at a glance and mean different things. Confirm which you are reading.
  5. Longest losing streak, in trades and in days. This is what you will actually experience, and it is the number that decides whether you keep the robot running when it is losing.

Then apply the same scepticism to the track record as to the sales page. A verified record on a $200 account running a 5 percent risk per trade proves the robot survived, not that the settings are sensible. A record that started last month proves very little. A record with one large deposit and no withdrawals tells you nothing about how the equity behaves under pressure. Verification removes the simplest fraud; it does not remove the need to judge.

For the fully applied version of this process, the free download library labels each item with its platform and licence, and every page on this site worth reading carries the same evidence rather than a promise.

Should you research on MT4 or MT5?

Research on MetaTrader 5, and execute on whichever platform the robot supports. The reason is not that MetaTrader 5 is faster or newer — it is that its Strategy Tester can run on real ticks from your broker, which matters more on gold than on any currency pair.

Choosing a stop distance on gold is a measurement problem: you need to know how far the market actually travels, and how the spread behaves when it does. A tester that reconstructs ticks from one-minute bars will approximate that; a tester that runs on real ticks will show you something closer to what happened. On a fast instrument, the gap between the two is large enough to turn a stop that looked adequate into one that sits inside the noise. MetaTrader 4’s tester is capable but more limited in how it models ticks and spread, which is why the MetaTrader 5 research flow is the better starting point even for traders who will eventually execute on MetaTrader 4.

Advertisement

The files are not interchangeable, and this trips up more traders than it should. MQL4 experts use .mq4 and .ex4 and run on MetaTrader 4. MQL5 experts use .mq5 and .ex5 and run on MetaTrader 5. A gold robot written for one will not simply run on the other, and a page that does not tell you which platform its file targets has failed its most basic job. Check the extension before you install anything.

If you trade the fast timeframes, the XAUUSD scalping robot settings guide covers the specific inputs that a real-tick backtest helps you choose, and the free XAUUSD trading robot page covers the download-safety side in more depth.

What exactly do you get on this page, and what does it not do?

The download is the MQL5 Liquidity Sweep Bot, a free MIT-licensed MetaTrader 5 expert advisor released with full MQL5 source. It is not a “best gold robot” and it does not claim to be. It is one real, inspectable robot you can run the four-number method against, which is more useful than one more name on a list.

The reason to offer a single, readable robot is that the skill this page teaches is inspection. Four numbers, applied to code you can open, is what produces a decision. A launch page tells you nothing about whether a robot was the right one; the source tells you how it enters, how it exits, and whether it ever adds to a loser.

WhatDetail
NameMQL5 Liquidity Sweep Bot
PlatformMetaTrader 5 (MQL5)
StrategyFractal liquidity sweeps, Fibonacci zones and order blocks
ExitsPartial take-profit and a trailing stop, rather than one fixed target
LicenceMIT — use, modify and redistribute, keeping the copyright notice
Authorcarlosrod723
What it doesGives you an auditable MT5 robot to backtest, inspect and score with the method on this page
What it does not doIt is not pre-tuned for XAUUSD, it does not promise a result, and it is not a grid or averaging system

Check the exposure model in the source, because it is the point. The strategy leans on liquidity sweeps, Fibonacci zones and order blocks, and it manages the trade with partial exits and a trailing stop. That is a very different exposure profile from a grid basket: there is no lot multiplier and no averaging into a loser. Read the trade-management block and confirm for yourself that a losing position is closed rather than enlarged, because the exposure model is the number that decides the worst case rather than the average one.

What MIT means for you. MIT is one of the most permissive open-source licences. You may use the software, modify it, redistribute it and sell it, as long as the copyright notice and licence text travel with copies you redistribute. It is provided as-is, without warranty. For a trader, the useful part is that the logic stays inspectable, so the four-number method can be applied to the code itself rather than to a summary of it.

What it does not do, stated plainly. It will not give you a gold robot that is ready for a live account, and it does not remove the need to backtest on your own broker’s data — the optimal symbol, timeframe and parameters depend on your account and your feed. Sweep-based entries are sensitive to spread and to how cleanly your broker’s gold feed prints its highs and lows, so a strategy that looks tidy on one feed can behave differently on another. Treat it as a subject to test, and treat “does this survive my broker’s gold feed” as the experiment.

How to use it to choose. Install the EA on demo, read the source until you can describe its entry and its exit in one sentence each, then score it on the four numbers. That exercise teaches the method faster than reading about it, and it costs nothing but demo time. If you would rather start from a curated shortlist, the best MT4 EA and best forex EA hubs apply the same standard on the robot side of the catalogue.

How do you test a candidate before it earns a live account?

Test it on demo for long enough to see its worst period, then decide. A demo account costs nothing, and it is the only place where you can watch a robot’s drawdown without paying for the lesson.

Start with a backtest, but treat it as a rehearsal rather than a verdict. Run the Strategy Tester on your broker’s XAUUSD data with real ticks enabled, and look at two things: the maximum drawdown on equity and the longest losing streak. The modelling quality note tells you how faithfully price was reconstructed. It does not tell you whether the strategy has an edge, so a high quality score is not a green light.

Advertisement

Then move to a forward test. Attach the robot to a XAUUSD demo chart with risk set low, around 0.25 to 0.5 percent per trade, and leave it running for at least four weeks. Aim for at least thirty closed trades, and make sure some of them come from a high-impact news day, because that is when gold behaves least like its backtest. A robot that only traded quiet sessions has not been tested yet.

Compare the demo record with the backtest as you go. Trade count, average trade duration and drawdown should look broadly similar. If the demo shows more slippage, stops hit more often than the backtest predicted, or a drawdown far larger than the backtest figure, stop and investigate before you change anything. Changing inputs after a bad week is curve-fitting, which means tuning the robot to past noise, and it makes the rest of the test meaningless.

Write your pass and fail rules down before the test starts. For example: a demo drawdown you can accept, no averaging into losing positions, and a losing streak you could sit through without intervening. Decide in advance, because a rule written after a bad week tends to bend toward the result you wanted.

Only a candidate that passes those rules earns the next step, and that step is a live account at reduced risk, not full size. Even a robot that passes the demo test can have a bad month. Start live with money you can afford to lose, and size each position so that the worst day you can imagine is one you could explain to yourself and survive.

A note that saves time: gold is not always XAUUSD. Some brokers quote XAUUSD.m, GOLD, or a suffix of their own, and an expert that references the wrong symbol name will not trade. Check Market Watch for the exact spelling before you attach anything, and treat a missing initialisation line in the Experts log as a symbol or history problem rather than a broken robot.

How do you compare two gold robots fairly?

Comparing two systems by their headline return is the quickest way to choose the wrong one, because a single number cannot describe how a strategy pays for that return.

Line up the same four columns for both candidates and read across rather than down: the maximum equity drawdown over a stated sample, the number of trades behind it, the average spread the sample assumed, and the account type the figures came from. Two robots with identical returns are not equivalent when one delivered them across three hundred trades and the other across nine.

The comparison that actually predicts survival

Divide the return by the drawdown, then read the result next to the trade count. A high ratio resting on a small sample describes luck rather than a system. Then ask the question no table answers: which of the two would you keep running after its worst week? The reply is usually the one with fewer trades and a flatter curve, and it is usually the one that looked less exciting on the sales page.

What to do when the evidence is incomplete

When a candidate publishes a return without a drawdown, a drawdown without a sample, or a track record on an account whose broker you cannot identify, the correct comparison is not against the other robot but against nothing at all. Incomplete evidence is not a mild penalty; it removes the basis for the decision entirely. Two verifiable figures will outrank a dozen unverifiable ones every time, and holding that line is what separates choosing a system from being sold one.

A quick test of whether a claim is usable at all: try to write it as one sentence a stranger could verify without you. “XAUUSD, live account, third-party tracking link, fourteen percent maximum equity drawdown across four hundred trades” passes. “Strong gold performance with controlled risk” does not, and no further reading will repair it. Applying that sentence test for two minutes filters a shortlist faster than any comparison table, because it sorts a measurement from a mood.

Your next step in choosing a gold robot

Do two things, in order.

First, take the next gold robot you consider and score it on the four numbers before you look at its return: maximum drawdown on equity, exposure model, trade count and sample length, and licence with source. If it cannot supply them, that is the answer, and you have saved yourself a live account’s worth of learning.

Second, download the MIT-licensed MT5 expert advisor from this page, install it on demo, and score it with the same four numbers. That exercise is the cheapest way to build the habit, and it teaches you more than any list of names, because you are the one doing the comparing.

Be clear-eyed about what you are doing. Gold is volatile, leverage works against you as easily as for you, and losses happen on any system. Everything here is educational, none of it is financial advice, and no result is promised or implied. Test on demo, size every position as though the worst backtest day will happen again, and only risk money you can afford to lose. If you would rather start from a curated set of downloads with their platforms and licences stated, the free download library is the place to begin.

Frequently asked questions

What is the best gold robot for MT4/MT5?

No single robot holds that title, because gold results depend on spread, latency, account size and risk inputs more than on the strategy itself. Judge any candidate on four numbers before its returns: maximum equity drawdown, exposure model, trade count, and whether the licence and source let you inspect it. A small, auditable robot you have tested yourself beats a famous one you cannot read.

How much drawdown should I accept on a gold robot?

Start from what your account can survive, not from the vendor's number. If a backtest shows a 15 percent maximum drawdown, expect a worse result live, because spread, slippage and swap are rarely modelled fully. Size the account so that a drawdown larger than the backtest figure is one you could survive. If a drawdown of that size would end your trading, the position size is too large before you test anything.

Is MT4 or MT5 better for gold robots?

MetaTrader 5 is the better research platform because its Strategy Tester can run on real ticks from your broker, which matters for choosing a stop distance on a fast instrument like gold. MetaTrader 4 is still perfectly usable for execution and has a larger library of legacy gold robots. The files are not interchangeable, so check whether a robot is MQL4 or MQL5 before you download.

Can I run several gold robots on one account at the same time?

You can, but correlated systems multiply risk rather than diversify it. Two gold robots that both go long in the same conditions are effectively one larger position, and their drawdowns arrive together. If you run more than one expert advisor, size each as a fraction of the total risk budget and check that the strategies are not simply the same trade repeated.

Why is grid or martingale logic a problem on a gold robot?

Both add positions as price moves against you instead of accepting a stop, so the open losses stay unrealised and the reported balance curve looks calm while real exposure grows. Gold's long one-directional trends are exactly the condition that turns a grid basket into an account-ending loss. That is structural, not a setting you can tune away.

How do I verify a gold robot's live performance?

Use a third-party tracker such as Myfxbook that reads the account from the broker's server, and ask for the track record link rather than a screenshot. Check the deposit and withdrawal history, the maximum drawdown, the average trade duration, and whether the account ran on real money or on demo. Screenshots are marketing; a verifiable link is evidence.

Do gold robots need a VPS?

Not to evaluate one, and not for every strategy. A VPS matters when execution latency or a dropped connection changes your results, which is more relevant to short-timeframe gold scalpers than to H1 or H4 systems. Run the demo test first, measure the slippage you actually get, and rent a VPS only if the numbers justify the monthly cost.

AdvertisementExness

Some links on this page are affiliate links. If you open one and sign up, we may earn a commission at no extra cost to you. It never changes what we publish.

Sources

Risk warning

Past performance is not indicative of future results. Trading forex and CFDs carries a high level of risk and can result in the loss of all of your capital. The results shown are specific to the broker, account type and settings used on the tracked account and will differ elsewhere. Nothing on this site is financial advice.

Continue reading

#1 Ranked EA · Myfxbook Verified

Obsidian Aether EURUSD EA

AI-powered grid scalper for MetaTrader 5 — adaptive ATR spacing, range & trend dual detection, and institutional-grade risk management.

+74.12% GainPF 1.4414 Trades
View Full Review