Free Forex EAs for MT4 & MT5
Best MT4 EA for Gold Trading With Low Risk: 2026 Guide
How to judge a low-risk MT4 gold EA by drawdown, exposure and licence, plus a free Apache-2.0 risk calculator with source you can test on a demo account first.
Quick answer
The best low-risk MT4 gold EA is one that risks a fixed fraction of your balance per trade, carries no grid or martingale layers, publishes its own drawdown, and ships source code you can audit. The free Apache-2.0 Risk Calculator indicator for MT4 and MT5, which totals the combined risk and reward of your open positions and pending orders, is one auditable tool for checking that exposure on demo.
Key takeaways
- Risk is a setting, not a badge: a gold EA is only as safe as its lot sizing, stop placement and total exposure.
- Grid and martingale recovery layers hide floating losses, so a smooth equity curve is not the same thing as low risk.
- Read maximum drawdown and longest losing streak before you read net profit, then re-test on your own broker's tick data.
- The free Apache-2.0 Risk Calculator is an MT4 and MT5 indicator that adds up the combined risk and reward of every open position and pending order, and the repository ships both MQL4 and MQL5 source.
- Run any gold EA on a demo account for at least a month and thirty trades before a single live order.
Trade Journal: Printable Template & Weekly Review
A free companion resource for this article, built in-house: a practical worksheet or checklist to use alongside what you have just read. It is not the product, EA or indicator this article discusses, and nothing in it installs on your terminal.
- Version
- 1.0
- Licence
- Free to use, print and share with credit to bestmt4ea.com
Licence:Free to use, print and share with credit to bestmt4ea.com
How to install it
- 1
Download the source from the repository
Open the Risk Calculator repository and download the MQL4 or the MQL5 source, depending on which terminal you run. You are getting the file from the original author under its Apache-2.0 licence, so the source can be read before anything runs.
- 2
Open your MetaTrader data folder
In MetaTrader 4 or MetaTrader 5 go to File, then Open Data Folder. This is the directory the terminal loads indicators from, not your normal Documents folder.
- 3
Copy the file into the Indicators folder and compile
Place the source in MQL4/Indicators or MQL5/Indicators, open it in MetaEditor and press Compile. A clean build with zero errors tells you the source is intact.
- 4
Attach it to a XAUUSD chart and read the window it opens
Drag the indicator onto a XAUUSD chart. It prints its output in a separate window rather than over price, so arrange the two windows once, then save the template so you do not rebuild it every session.
- 5
Check the total against your own arithmetic on demo
Open a couple of demo positions on your broker's XAUUSD symbol, then compare the combined risk figure the indicator prints against your own hand calculation. That number, not a vendor's drawdown claim, is the exposure you are really carrying.
BESTMT4EA Trading Desk
MQL4/MQL5 developers and traders. We publish the live track record for everything we review.
On this page
- The problem: you are being sold half a story
- Agitate: how a $4,000 account ended in one week
- What does low risk actually mean for a gold EA?
- Which risk controls separate a survivable gold EA from a fragile one?
- Is a grid or martingale gold EA ever low risk?
- What are the seven gold EA patterns you will be sold?
- Why is XAUUSD harder to automate than a currency pair?
- How do you read a gold EA's numbers before you install anything?
- What exactly do you get in this download?
- How do you test a gold EA before it touches live money?
- What should you do next?
You are searching for the best MT4 EA for gold trading with low risk, so start by noticing what you are actually shopping for. You are not buying an entry signal. You are buying a risk system that happens to place trades.
That distinction is the whole problem. Almost every gold EA is sold on its profit curve. Almost every gold account is killed by its drawdown. Those are two different numbers, and the marketing exists to make sure you look at the first one.
The problem: you are being sold half a story
Open a typical XAUUSD robot sales page and the same four items appear 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. A countdown.
What is missing is everything that decides whether you keep your account:
- The maximum drawdown, measured on equity rather than balance.
- The longest run of consecutive losses.
- The position sizing rule, stated as a percentage of your balance.
- The number of trades in the sample, and over what period.
- The licence, and whether the code is auditable.
Gold punishes that gap more than any currency pair. XAUUSD is driven by real events rather than clean technical levels: US inflation prints, Federal Reserve decisions, geopolitical shocks, central bank demand, and the London and New York sessions. The World Gold Council publishes the spot price history, and the LBMA benchmark is the price institutions settle against. Both show the same thing. Gold can be quiet for weeks and then travel several hundred points inside an hour.
So the sector splits into two groups, and only one of them is honest. One group sells a strategy and tells you the drawdown. The other sells an equity curve and describes risk as a setting you can switch off. If a page never mentions drawdown, stops, or lot size, you have learned something important about the product without reading a single review.
And the stakes are not abstract. The money lost on gold robots is rarely lost to a bad entry rule. It is lost to sizing, recovery logic and unrealised exposure.
Agitate: how a $4,000 account ended in one week
Picture a trader we will call Daniel. This is an illustrative composite, not a documented case, but every step in it matches how gold robots fail in practice.
Daniel bought a gold robot after two months of watching its track record. The account showed a smooth line up with no visible red month. He funded $4,000, attached the EA to a XAUUSD M5 chart, and left it on a small VPS.
The first three weeks went exactly as advertised. Small wins, several per day. Each morning the balance was higher by roughly 1 percent. He told two friends. He started thinking about increasing the lot size.
What the track record did not show was that the robot kept only one number moving upward: it added positions as gold moved against it. Each time price dropped, a new buy order opened below the last. As long as price eventually turned, the basket closed in profit and nothing had to be realised. On the statement, the days looked perfect.
Then gold did what gold does. A hotter-than-expected US inflation print landed, XAUUSD dropped 400 points inside twenty minutes, and the next layer opened, and the next. The floating loss reached 60 percent of equity while the realised loss still sat at almost zero. By Friday his broker’s margin call closed every position at the worst possible price.
His statement showed something his backtest never did. The backtest claimed a 12 percent maximum drawdown. The live account lost 61 percent of its equity. The difference was not luck. It was the difference between a realised loss recorded on a closed trade and a floating loss recorded nowhere until it is too late.
Two months of research, three weeks of profit, one morning to erase a year of saving. And the product was not lying, exactly. It published the profit curve. Nobody asked it for the survival curve.
The cost of leaving this unsolved is not the price of an EA. It is the account.
What does low risk actually mean for a gold EA?
Low risk means you have capped how much a single trade, and a single bad day, can remove from your balance. Everything else is decoration.
Three numbers define it:
- Risk per trade. The percentage of your equity the EA risks if the stop is hit. Not the lot size, not the “safe mode” label.
- Maximum exposure. How much of your equity can be at risk at once if every open position goes against you.
- Recovery logic. Whether the EA adds to a losing position. If it does, your real risk is not the stop. It is the whole basket.
Do the arithmetic once and it stops being theoretical. Risk 1 percent per trade and a run of ten straight losses costs you about 9.6 percent of your balance. Risk 5 percent per trade and the same ten losses cost you around 40 percent. The EA’s entry logic was identical in both scenarios. Only the sizing changed, and sizing is a field in the settings window.
The practical floor for a retail gold account is 0.25 to 1 percent risk per trade, with one position open at a time unless you can account for the combined exposure. Above that you are not trading a strategy, you are trading leverage with extra steps.
Which risk controls separate a survivable gold EA from a fragile one?
Here are the seven controls that matter, what a serious implementation looks like, and how you verify each one yourself rather than trusting a description.
| Control | What a serious implementation looks like | How you verify it |
|---|---|---|
| Risk per trade | Fixed percentage of equity, 0.25-1%, converted to lots automatically | Read the input list, then check the real lot sizes in the trade history |
| Maximum concurrent exposure | One position at a time, or a documented combined cap | Count open orders in the EA’s own report, not the chart |
| Stop loss | Always attached, distance derived from volatility such as ATR | Inspect the code, or watch the first trades on demo |
| Recovery logic | None. No averaging, no doubling, no layer multiplier | Compare lot size on the first versus the fifth consecutive loss |
| Drawdown ceiling | A tested maximum drawdown you could survive twice over | Strategy Tester report, equity drawdown column |
| Session and news filters | Skips thin liquidity and avoids trading into a scheduled release | MT5 calendar plus the demo trade log timestamps |
| Licence and auditability | MIT or GPL with published source, or a vendor you can actually reach | The repository, the licence file, or the product’s terms |
Notice that only one of those seven is a trading decision. The rest are engineering, and engineering is exactly what a sales page will not show you.
Is a grid or martingale gold EA ever low risk?
No. Grid and martingale logic defer risk rather than reduce it, and gold is the instrument where that deferral comes due.
A grid EA opens a new position every time price moves a fixed distance against it. A martingale EA multiplies the lot size. A “recovery system” hedges the losing basket and waits. All three share the same mechanism: the losing positions stay open, so the loss is floating and invisible in the balance line.
That is why these systems produce attractive backtests. The equity curve is smooth because the losses are not booked. The chart does not show skill, it shows an accounting delay. And when gold trends without returning, every layer is stopped out in the same hour, at the same time, on the same account.
Two things follow from that.
First, never rely on the balance drawdown figure. Equity drawdown is the number that matters, because it includes open losses. If a vendor shows only a balance-based curve, you have not been shown the risk.
Second, an EA that advertises “no martingale” still needs checking. Read the trade history and look at lot size on consecutive losing trades. A recovery system that hides behind different wording looks identical on a chart and completely different in the order list.
I have written separately about why recovery systems look better than they are, and about the drawdown tools that actually measure risk rather than claim safety. The short version: a system that never books a loss has not avoided the loss, it has scheduled it.
What are the seven gold EA patterns you will be sold?
Whatever the brand name on the box, a retail gold EA is one of seven patterns. The pattern decides the risk profile long before the vendor’s settings do.
| # | Pattern | What it actually does on XAUUSD | What the curve hides | Risk verdict |
|---|---|---|---|---|
| 1 | Session breakout | Trades the London or New York range with pending stop orders | Spread widening and stop slippage at the breakout | Lower, if stops are fixed |
| 2 | Trend or swing | Holds positions for hours or days to catch gold’s directional moves | Long losing streaks while gold ranges | Lower, but few trades |
| 3 | Mean reversion scalper | Buys dips inside a range on M1 to M5 | Cost of spread and commission, plus gap risk | Depends entirely on your broker |
| 4 | News spike | Trades around scheduled releases | Rejected orders, requotes and execution gaps | Higher |
| 5 | Grid | Adds buys or sells as price moves against the basket | The floating loss that never appears as balance loss | Highest |
| 6 | Martingale | Multiplies lot size after a loss to recover it | The single tail loss that ends the account | Highest |
| 7 | Basket hedge or recovery | Hedges the losing side and waits for the market to return | Swap cost, and the assumption that price returns | High |
Patterns one and two are where a beginner should look, because both can be run with a fixed stop and a single position. Patterns five, six and seven are the ones that generate the screenshots you will be shown.
For the mechanics of patterns one and two on gold, the best gold scalper EA guide and our free gold trading EA walkthrough both go deeper on entry and session logic. Neither is a substitute for the risk controls above.
Why is XAUUSD harder to automate than a currency pair?
Advertisement
Because gold’s costs and its volatility both spike at the same moment, and a strategy tuned without accounting for that loses its edge to execution.
Five specific differences you have to plan for:
- Spread. Spread on XAUUSD depends on your broker and widens sharply around news releases. An EA with a tight profit target can hand most of its expected edge to the spread on exactly the trades it was built to take. Measure your broker’s normal and peak spread on the demo before you trust any target.
- Point value. Brokers quote gold to different numbers of decimal places. A “300 point stop” is a different amount of money on each, so a preset copied from a forum can be several times larger than you intended.
- Volatility clustering. Gold’s range can expand very quickly around data releases. Stop distances set in fixed points become meaningless when the range expands, which is why volatility-based stops matter more here than on EURUSD.
- Session structure. Liquidity concentrates in London and New York. The Asian session is thinner, and thin markets produce false breakouts that a breakout EA will happily trade.
- Financing and gaps. Holding gold overnight carries a swap cost, and weekend gaps can open beyond your stop. Both are frequently absent from backtests run with default settings.
None of this makes gold unautomatable. It means the EA must be tested on your broker’s data, with your broker’s spread, before it is trusted with money. If you want a proper testing routine, the online backtesting tutorial covers the settings that matter.
How do you read a gold EA’s numbers before you install anything?
Read the risk figures first and treat net profit as the least informative number on the page.
Here is the short version of what a serious report contains, and what to do with each figure.
| Figure | What a serious number looks like | Why it matters |
|---|---|---|
| Trades in sample | 600 or more | Fewer trades means the result may be luck rather than behaviour |
| Sample length | Several years, including at least one strong trending year for gold | A calm period hides how the strategy behaves when it is wrong for months |
| Maximum equity drawdown | A number you could survive twice over | Balance drawdown excludes floating losses, so ask for equity drawdown |
| Recovery factor | Roughly 2.0 or better, meaning profit divided by max drawdown | Shows how much return the risk produced |
| Longest losing streak | A sequence you could sit through without abandoning the system | This is the number that makes people switch EAs at the worst time |
| Modelling method | Real ticks, variable spread, broker-specific symbol | Approximate modes can produce different results from real-tick testing |
That last row deserves the emphasis. The MQL5 Reference on testing trading strategies documents the tick generation modes available in the MetaTrader 5 Strategy Tester, from every tick down to open prices only. The modes that approximate price movement are a weaker basis than real ticks, so a result from one of them should be re-run on real ticks before you rely on it. Modelling quality tells you how good the price data was. It says nothing about whether the strategy is any good.
A live verified track record on a platform such as Myfxbook is worth more than any backtest, provided you check three things: that the account is real rather than demo, that the history runs longer than twelve months, and that the drawdown shown is the equity drawdown. Some listings publish the results of a demo account, which is a test environment, not a track record.
What exactly do you get in this download?
The file on this page is a third-party bundle, not a product we wrote. Its listing describes more than 2,000 EAs and indicators, and its licence is recorded as unverified. Do not assume that one licence covers everything inside it. Check each file you run.
The tool this article is built around is the EarnForex Risk Calculator. It is an indicator for MetaTrader 4 and MetaTrader 5 that adds up the risk and the reward sitting in your open positions and pending orders and prints the total in a window of its own. Its repository lists the Apache License 2.0, and you should confirm that by reading the LICENSE file in the repository yourself before you rely on it.
It is an indicator rather than an expert advisor, and that is why it belongs on this page: it does not trade and it does not make a performance claim. According to its repository description, it reads your account, your open positions and your pending orders, converts each one into a figure for money at risk and money to be won, and totals them, so the number in front of you describes the whole book rather than the last order you placed.
| Component | Detail |
|---|---|
| Files | RiskCalculator.mq4 and RiskCalculator.mq5 (source for both platforms, in the repository) |
| Platform | MetaTrader 4 and MetaTrader 5 |
| Symbol and timeframe | Any; it reads the account rather than the chart |
| Output | Combined potential risk and reward across all open positions and pending orders, in a separate chart window |
| Inputs | Display and calculation options for the risk side, the reward side, the currency and the position filters |
| Trading | None. It never opens, closes or modifies a position |
| Licence | Apache-2.0 as stated in the EarnForex repository; verify the LICENSE file |
| Original author | EarnForex |
The Apache-2.0 licence is permissive. You can use it, modify it, run it on a live account and share your changes. The conditions are that the copyright notice, the licence text and a note of what you changed travel with any redistribution, and the licence carries an explicit patent grant. Read the full text rather than relying on this summary.
What makes it a fit for this page is the number it produces. Earlier in this article, maximum exposure was the second of the three numbers that define low risk, and it is the one a vendor can hide most easily, because a sales page cannot show you the total of positions that were not open when the screenshot was taken. The indicator computes that total from the live account instead of asking you to trust a description. It also shows the reward side, which matters on gold: a system whose average reward-to-risk sits comfortably above one can survive a long run of losing trades, and seeing the total in currency rather than in pips is how you find out whether your stop distances are the ones you think they are.
What it does not do
Honesty here saves you money, so read this part twice.
- It does not remove market risk. XAUUSD can gap, and stops can slip. Measuring exposure does not cap it.
- It does not size your positions or place your stops. It reports what you already have open. Risk per trade is still your decision, and it is still the setting that decides whether a losing run is survivable.
- It does not replace your broker statement. It reads what your terminal can see, so it depends on your feed and on your symbols being named correctly.
- It has no performance record, and it does not need one. It is a measurement tool with nothing to claim about returns, which is exactly what you want a risk tool to be.
- It does not decide whether your exposure is acceptable. It prints the total. You compare that total against the drawdown you could survive twice over.
- There is no support contract. It is a free open-source project. If it breaks, you fix it or you wait.
If you want a second auditable option to compare against, the free EA31337 Libre package is a multi-strategy GPL project. Different tool, same principle: read the licence and the code before you read the profit claim.
| Tool | Licence | Platform | What it measures | Honest caveat |
|---|---|---|---|---|
| Risk Calculator | Apache-2.0 (per repository) | MT4 and MT5 | Combined risk and reward of open positions and pending orders | It reports exposure; it does not reduce it |
| FvgGold-EA | MIT (per listing) | MetaTrader 5 | Fixed lot, one concurrent trade, daily loss limit | Vendor backtest figures are not independently verified here |
| EA31337 Libre | GPL-3.0 | MT4 and MT5 | Multi-strategy framework | Built as a research framework; read its own warnings before any live use |
None of the three is a finished commercial product. All three are readable, and readable beats impressive.
How do you test a gold EA before it touches live money?
Test on demo for at least four weeks and thirty closed trades, then compare the demo record against the backtest on the same dates. If those two do not resemble each other, the backtest is the thing that is wrong.
A workable sequence:
- Backtest on real ticks. Use MetaTrader 5’s every tick mode on your broker’s XAUUSD data, and record the equity drawdown, not just the final balance.
- Move to a demo account on the same broker. Same symbol, same spread conditions, same account currency. A demo on a different broker tells you about a different market.
- Let it run through one high-impact event. A US inflation print or a Federal Reserve decision will show you how the EA behaves when spreads widen and price gaps.
- Compare the two records. Trade count, average win, average loss, and the size of the worst drawdown. Divergence here is your warning.
- Track the results properly. Our roundup of free MT4 performance monitoring tools covers the trade-log habits worth building early, because a demo run you did not record is a demo run you cannot use.
- Go live small. Start at 0.25 percent risk, on the smallest lot your broker allows, and keep the daily loss limit active.
One habit matters more than all six steps: change one input at a time. If performance only appears at one exact parameter combination, you have fitted noise to history rather than found something that survives contact with the market.
Two practical checks sit under those steps. Before the first demo trade, open the Experts or Journal tab and confirm the EA reads the symbol you intend, with the point and digit settings your broker actually uses. After the first ten demo trades, reconcile each lot size and stop distance against your own arithmetic. A mismatch found on demo costs nothing; the same mismatch found after a funded week costs real money.
Funded accounts add their own limits. Many combine a daily loss limit with an overall drawdown limit, and gold volatility can reach both quickly. A system that needs a 30 percent drawdown to work does not fit a 10 percent rule, no matter how good the backtest looked. Run the strategy on a personal demo first, and only then ask whether its drawdown fits the rules of any funded programme.
Finally, work backwards from the risk when you size the account. If you accept 0.5 percent risk per trade and your broker’s minimum XAUUSD lot would risk $50 on your stop, a $10,000 balance keeps that at the intended 0.5 percent. On a smaller balance, the minimum lot overrides your risk setting, and you end up trading a larger percentage per trade than you planned.
What should you do next?
Do one thing, in this order: download the Risk Calculator source from its own repository, compile it, and put it on a demo account alongside a few small positions for a month. Read the combined exposure every day and compare it with what you intended to risk. Do not fund an account, do not buy a licence, and do not increase the lot size because the first week went well.
That single month will teach you more than any ranking table, including this one. You will see what you actually carry when gold is quiet and when it is not, and what a losing streak feels like when it is your own order list rather than somebody else’s backtest. If the total makes you wince while the positions are still open, it will do the same with live money, and you will have found that out for free.
The download is the mechanism, but it is not the answer. The answer is the discipline of capping risk per trade, ignoring recovery systems that promise to fix losses, and treating every profit curve as a question rather than a promise.
If you want to go deeper on the tools, the best MT4 EA hub collects the reviews worth your time, and nobody should place a live trade without understanding the risk disclaimer that applies to everything on this site. Trading gold with leverage can lose you money, including more than you planned to risk. Test first, size small, and keep the sample honest.
Frequently asked questions
What is the best MT4 EA for gold trading with low risk?
There is no single winner, because risk lives in the settings rather than the brand. Judge every candidate on four numbers: risk per trade as a percentage of equity, maximum simultaneous exposure, tested maximum drawdown, and whether the code uses grid or martingale recovery. An EA with a 1 percent risk cap and no recovery logic beats a famous EA running 5 percent lots every time.
Can a gold EA really be called low risk?
Only in a relative sense. XAUUSD can move several hundred points in minutes, so no automated system removes market risk. What a well-built EA removes is uncontrolled risk: oversized positions, stops placed by feel, and recovery logic that keeps adding to a losing trade. Expect losing trades and losing weeks regardless of which EA you choose.
What drawdown should I accept on a gold EA?
Start from what your account can survive, not from the vendor's number. If a backtest shows a 15 percent maximum drawdown, plan for at least 30 percent in live conditions, because spread, slippage and swap are rarely modelled fully. If a 30 percent drawdown would end your trading, the position size is too large before you install anything.
Why is grid or martingale logic a problem on XAUUSD?
Both add positions as price moves against you. The open losses stay unrealised, so the reported equity curve looks calm while the real exposure grows. Gold's long trends are exactly the condition that turns a grid basket into an account-ending loss. That is not a settings problem you can tune away.
Do I need a VPS to run a gold EA?
Not to evaluate one. A VPS matters when execution latency or a stable connection affects your results, which is more relevant on short-timeframe gold scalpers than on H1 or H4 swing systems. Run the demo test first, measure the slippage you actually get, and rent a VPS only if the numbers justify it.
How long should I test a gold EA on demo before going live?
Aim for at least four weeks and thirty closed trades in live market conditions, including one high-impact news event such as a US inflation print or a Federal Reserve decision. Compare that demo record against the backtest on the same dates. If the two do not resemble each other, the problem is not the demo account.
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.
Keep learning
Hand-picked next reads on the same topic.
- 18 min readDrawdown Reduction EA Free Download: Grid Stress Test GuideFree grid EA stress test sheet for MT4/MT5. Check margin, stop-out and three bad market scenarios on demo first. Honest limits included, no profit promises.Read next →
- 17 min readFXStabilizer PRO EA Free Download: Verify FirstSearching for a FXStabilizer PRO EA free download? Use this evidence checklist to test the track record, drawdown and file source before you risk any money.Read next →
- 17 min readHannah EA: The Truths Behind the Free-Download SearchThousands search for a free Hannah EA download. The honest answer covers the legal and safety facts, the product's claims, and the safe way to evaluate it.Read next →
- 17 min readSkyNet EA Free Download: Verify Before You InstallSearching for SkyNet EA free download? Use this 3-part checklist to check the track record, drawdown and vendor answers before you install it on any account.Read next →



