Risk & capital

Gold leverage: what it is, Europe’s 1:20 cap and how it affects a trading robot

Published September 2, 2026 · By the AUREUM team · 9 min read

“Leverage” sounds like danger and opportunity at the same time. With gold, the numbers are eye-catching too: a single lot controls a position worth hundreds of thousands of dollars. But leverage doesn’t decide how much you make or lose. Your position size does. Here we explain what leverage is, why Europe caps it at 1:20 for gold and how to size a robot’s lots without leaving your account exposed.

What leverage is, using gold as the example

Leverage lets you control a position larger than the money you put up as collateral. The broker covers the difference. It isn’t a loan with repayments: it’s collateral that the broker locks while the trade is open. That collateral is called margin. Buying physical gold or an ETC with your own money involves no leverage: you pay for all the gold (we compare them in how to invest in gold).

Leverage is written as a ratio. 1:20 means that for every euro you lock up, you control 20 in the market. 1:500 means you control 500. With gold, the numbers are easy to grasp:

In other words: when a robot opens 0.01 lots of gold, it’s moving the equivalent of about $4,000, even if your account holds €1,000. And every dollar the ounce moves up or down means roughly $1 of profit or loss per 0.01 lots. That sentence is the key to this article: what you make or lose depends on your position size and on how far the price moves. Not on leverage.

What leverage does, and what it doesn’t

It determines how much money the broker locks for each position. Your risk is determined by the lot size you choose: with 0.01 lots you lose the same amount for every dollar gold falls, whether you have 1:20 or 1:500. What changes is how many positions you could open at once with the same money. And that’s where the danger starts.

How much margin gold requires: 1:20 vs 1:500 leverage

Put simply, required margin is the position’s notional value divided by the leverage. With gold around $4,000, opening 0.01 lots locks about $200 at 1:20 and about $8 at 1:500. The table shows why the same lot size “fits” or doesn’t, depending on your account’s leverage:

LotApprox. notional (gold ≈ $4,000)Margin at 1:20Margin at 1:100Margin at 1:500
0.01≈ $4,000≈ $200≈ $40≈ $8
0.05≈ $20,000≈ $1,000≈ $200≈ $40
0.10≈ $40,000≈ $2,000≈ $400≈ $80
1.00≈ $400,000≈ $20,000≈ $4,000≈ $800

Three details people tend to forget:

Why Europe capped gold leverage at 1:20 and what it means in practice

In 2018, ESMA, the European Union’s securities markets authority, adopted measures for CFDs offered to retail clients. They included leverage caps by asset class: 1:30 for major currency pairs, 1:20 for gold, non-major currency pairs and major stock indices, 1:10 for other commodities, such as silver (silver versus gold in MT5), and non-major stock indices, 1:5 for individual stocks and 1:2 for cryptocurrencies. In Spain, the CNMV (the national securities regulator) made them permanent.

The reason wasn’t arbitrary. According to the supervisors’ data, the vast majority of retail CFD accounts lost money (between 74% and 89%: we cover it, with the figure each broker publishes today, in how many traders lose money), and high leverage stood out as a direct factor: at 1:500, an ordinary swing in gold can wipe out an account in hours. The package brought two other protections that people in the EU now take for granted:

So what does this mean for you, if you want to trade gold with a robot?

Free margin and margin level: the lot size decides how much your account can take

In the Trade tab of MetaTrader 5’s Toolbox you’ll see your margin, your free margin (equity minus margin) and your margin level (equity divided by margin, as a percentage). Two thresholds depend on that level: the margin call, which only warns you, and the stop out, which closes positions (at 50% in the EU). What each one is and how to work out the price at which they trigger is covered in margin call and stop out in MetaTrader 5. Here it’s enough to see how everything changes with the lot size, on a $1,000 account at 1:20 with gold around $4,000:

Leverage was the same in all three cases. The only thing that changed was the lot size. To measure those bad streaks, read our guide on what drawdown is.

How leverage affects a trading robot: the lot size is what counts

An Expert Advisor doesn’t decide your leverage: your broker and account type set it. What matters is the lot size each order goes out with, whether the robot calculates it or you set it yourself. Two consequences follow from that:

  1. If the lot doesn’t fit in your free margin, MT5 rejects the order. The Journal shows “Not enough money”. The robot doesn’t improvise: it simply doesn’t trade, or it misses entries.
  2. If the lot fits but is large, you trade with a low margin level and the stop out is one bad day away. A robot executes without hesitating, including during a losing streak. Its discipline requires you to have thought about position size beforehand.

In AUREUM, according to its home page, the reference lot mode calculates the lot on its own: 0.01 lots per 1,000 of balance, rounded to your broker’s lot step, with its minimum lot as the floor and a cap of 1 lot; with 10,000, each of its two strategies trades 0.05 lots. If you’d rather set it yourself, there’s a manual mode, and the installation guide warns that in that mode you can pick a lot that’s too big for your capital. We work out how much that lot weighs on your margin level in margin call and stop out.

We break down starting capital in how much money you need for automated trading. And one tip that saves you some scares: test on demo and in the Strategy Tester with the same leverage you’ll have on your live account. Many demo accounts are created with 1:100 or 1:500; everything fits there, and then the same settings don’t fit on a live 1:20 account.

Common leverage mistakes

“Not enough money” is not a robot bug

It’s MetaTrader telling you that the lot size of that order doesn’t fit in your free margin. There are two ways out, and neither is “keep trying”: a smaller lot or more capital; with AUREUM, the guide explains what to do in each lot mode. If the message shows up now and then, it’s almost always because gold has risen and the margin with it.

Brokers outside the EU with higher leverage: the real pros and cons

You’ll see ads for 1:200, 1:500 and even 1:1000 on gold. They almost always come from entities registered outside the EU (Seychelles, Mauritius, Belize, St. Vincent…), sometimes part of the same group that runs a regulated European subsidiary. The UK and Australia apply caps similar to Europe’s, including the 50% close-out and negative balance protection; 1:500 rarely comes from a top-tier regulator.

The advantages do exist:

And the risks aren’t theoretical:

Our position: to size a gold robot properly, 1:20 at an EU-regulated broker is more than enough. If you still choose one outside the EU, do it for its trading conditions and serious regulation, not for the number in the ad. You’ll find the criteria in how to choose a broker for an Expert Advisor and in Step 0 of the guide.

Bottom line: position size is the real enemy

Leverage isn’t the villain of this story. It’s an accounting rule: how much the broker locks for each position. What decides whether your account survives a bad streak is the lot size you configure, measured against the capital you have. A practical summary:

And the usual warning, because it’s the truth: trading gold with leverage carries high risk and you can lose part or all of the capital you deposit, with or without a robot. No lot-size rule removes that risk; it only makes it manageable. To understand why gold moves the way it does, continue with how to trade gold (XAU/USD).

Risk warning

The figures in this article are examples for learning the math: the gold price and your broker’s conditions will differ. Leveraged gold trading carries a high level of risk and you can lose some or all of your capital. The AUREUM figures we quote come from a simulation (backtest), not a live account, and past or simulated results don’t guarantee future results. This content is educational and is not financial advice.

AUREUM: the lot size, based on your balance

Software that trades XAU/USD in your own MetaTrader 5 account, on the 1-hour chart, with a reference lot mode of 0.01 lots per 1,000 of your account and a manual mode if you’d rather set it yourself. Its 2024–2026 backtest is published with its drawdowns: a maximum drawdown of 22.35% across 345 trades. It’s a simulation, not a live account.

See the strategy →