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.

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 $3,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 $3,000, opening 0.01 lots locks about $150 at 1:20 and about $6 at 1:500. The table shows why the same lot size “fits” or doesn’t, depending on your account’s leverage:

LotApprox. notional (gold ≈ $3,000)Margin at 1:20Margin at 1:100Margin at 1:500
0.01≈ $3,000≈ $150≈ $30≈ $6
0.05≈ $15,000≈ $750≈ $150≈ $30
0.10≈ $30,000≈ $1,500≈ $300≈ $60
1.00≈ $300,000≈ $15,000≈ $3,000≈ $600

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 and major stock indices, 1:10 for other commodities, 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, 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, margin level and stop out, without the jargon

In the Trade tab of MetaTrader 5’s Toolbox you’ll see five figures. They decide whether your account holds up:

Two thresholds hang off that thermometer. The margin call is the warning: usually at 100%, MT5 shows the figures in red and you can’t open anything new. The stop out is the action: the broker closes positions, starting with the one losing the most, until the level recovers. In the EU it’s set at 50%. Outside the EU, each broker sets its own (20%, 30%…), and the lower it is, the more you’ve lost by the time you’re finally closed out.

Here’s an example with round numbers, on a $1,000 account at 1:20 with gold around $3,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: you choose the lot size

An Expert Advisor doesn’t decide your leverage: your broker and account type set it. The robot sends orders with the lot size you have configured; in AUREUM that parameter is called mmLots. Two consequences follow from that decision:

  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.

That’s why the installation guide suggests a conservative rule: 0.01 lots for every €1,000 of capital. At 1:20, that size locks around 15% of the account and keeps the margin level above 600%, far away from the stop out. The rough scale:

These figures are a rough guide, not investment advice; 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 configured lot size doesn’t fit in your free margin. There are two ways out, and neither is “keep trying”: lower mmLots or add capital. 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; 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).

AUREUM: you choose the lot size, with the table in front of you

A gold strategy designed for 1:20, with real published metrics (drawdowns included) and a guide that tells you which lot size to use for your capital. Try it on demo before you decide.

See the strategy →