Gold EA risk settings: lot size & stop loss

Gold EA risk settings explained: how to size XAUUSD lots from a dollar stop (1 lot = 100 oz), pick risk per trade and set daily loss budgets that survive.

30-day free trialCard requiredCancel before renewal

Start free trial
All insights
GoldRiskEducation

Gold EA risk settings: lot size & stop loss

Gold EA risk settings explained: how to size XAUUSD lots from a dollar stop (1 lot = 100 oz), pick risk per trade and set daily loss budgets that survive.

Risk settings decide whether a gold EA survives long enough for its edge — if it has one — to matter. The short answer: risk a fixed, small percentage of the account on every trade (most commonly 0.25% to 1%), and derive the lot size from the stop-loss distance, never the other way round. On XAUUSD the arithmetic is unusually clean, because one standard lot is 100 ounces: every $1.00 move in the gold price is worth roughly $100 per lot. Fix the risk, measure the stop, and the lot size is just division.

In formula form: lots = dollar risk ÷ (stop distance in dollars × 100). A $100,000 account risking 1% has $1,000 to lose on the trade. If the stop sits $3.00 from entry, each 1.00 lot loses $300 at the stop, so the position is 1,000 ÷ 300 = 3.33 lots. Everything else in this article — losing-streak math, daily budgets, why martingale eventually detonates — hangs off that one line.

The XAUUSD contract math you need first

Nearly every position-sizing mistake on gold traces back to not knowing what a lot actually moves. The contract specification most MT5 brokers use for XAUUSD:

  • 1 standard lot = 100 troy ounces of gold.
  • Gold is quoted to two decimal places, so the smallest tick is $0.01 — worth about $1 per 1.00 lot.
  • A $1.00 move in the gold price is therefore worth roughly $100 per 1.00 lot, $10 per 0.10 lot, and $1 per 0.01 lot.
  • A $3.00 stop distance costs about $300 per 1.00 lot if it is hit — before spread and slippage, which land on top.

A few brokers list different contract sizes for gold. Check the symbol specification in MT5 (right-click XAUUSD → Specification → Contract size) before trusting any calculator, including the numbers in this article.

Risk per trade: why small numbers survive

Risk per trade is the percentage of the account you lose when the stop is hit. It is the single most important setting in any EA, because it determines what a normal losing streak does to the account. And losing streaks are normal: a strategy that wins half its trades will produce runs of six or seven straight losses surprisingly often over a few hundred trades. The question is not whether the streak arrives, but what is left of the account when it does.

Risk per trade5 straight losses10 straight losses
0.5%-2.5%-4.9%
1%-4.9%-9.6%
2%-9.6%-18.3%
5%-22.6%-40.1%
Drawdown after consecutive losses under fixed-fractional sizing. Each stake is a percentage of the already-reduced balance, which is why the figures are slightly kinder than straight multiplication.

On a personal account a 40% hole is demoralising but survivable. On a prop evaluation the numbers are stricter: classic FTMO-style objectives cap the overall loss around 10% of starting balance (confirm the current terms on FTMO's site), which means 2% per trade is one five-loss streak away from the line, while 0.5% takes the same streak for a 2.5% dent and carries on. This is why serious gold automation defaults to 0.25–1% per trade and treats anything above 2% as account-ending rather than aggressive.

Stop loss on gold: the chart sets the distance

The stop distance should come from the market — beyond the recent swing, outside the current volatility band, or a multiple of ATR — not from the lot size you would like to trade. Gold often travels tens of dollars in a day and several dollars in minutes around news, so stop distances that look respectable on EURUSD get eaten by ordinary noise on XAUUSD. A stop that is too tight does not reduce risk; it converts one planned loss into several unplanned ones, each paying the spread again on re-entry.

Two practical cautions. First, protective stops on gold fill with slippage in fast markets — a stop triggered during a violent move can fill several points beyond its level, so the realised loss can exceed the planned one. Second, on prop accounts the daily-loss rule usually counts floating (unrealised) losses, so a wide stop that "will probably never be hit" still counts against the limit in full while the trade is open.

From dollar stop to lot size, step by step

Fix the risk percentageChoose a fixed fraction of the account. 0.5% is a common, defensible default; 1% is aggressive but survivable; above 2%, ordinary streaks start doing structural damage.
Convert it to dollarsMultiply by the current balance (some prefer equity — pick one and stay consistent). On $25,000 at 0.5%, this trade may lose $125.
Measure the stop distance in price dollarsFrom entry to stop, in the quote itself. If the stop sits $3.00 from entry, the distance is $3.00 — the account size is irrelevant to this step.
Price the stop per lotMultiply the distance by $100 per lot: a $3.00 stop costs $300 per 1.00 lot, $30 per 0.10 lot, $3 per 0.01 lot.
Divide and round downLots = dollar risk ÷ per-lot stop cost. $125 ÷ $300 = 0.41 lots. Always round down — rounding up quietly increases risk on every trade — and remember spread and slippage sit on top of the calculated loss.

Worked examples: account size vs lot size at a $3.00 stop

The table assumes a $3.00 stop distance — $300 of risk per 1.00 lot — which is toward the tighter end of realistic for intraday gold. The relationship is linear: double the stop distance to $6.00 and every lot size below halves for the same dollar risk.

AccountRisk at 0.5%Lot sizeRisk at 1%Lot size
$10,000$500.16$1000.33
$25,000$1250.41$2500.83
$50,000$2500.83$5001.66
$100,000$5001.66$1,0003.33
$200,000$1,0003.33$2,0006.66
Lot sizes for a $3.00 XAUUSD stop ($300 per 1.00 lot), rounded down to two decimals. Spread and slippage add to the effective risk on every fill.

Fixed fractional vs martingale: the honest comparison

Fixed-fractional sizing risks the same percentage on every trade, so stakes shrink slightly as the account draws down and grow slightly as it recovers — losses decelerate exactly when you need them to. Martingale and its relatives (grid recovery, "smart averaging", lot multipliers) do the opposite: they increase size after losses so that one eventual winner erases the streak. It works right up until it doesn't, and when it fails, the failure is total.

TradeLot sizeRisk this tradeCumulative loss
10.10$30$30
20.20$60$90
30.40$120$210
40.80$240$450
51.60$480$930
63.20$960$1,890
A martingale doubling sequence on XAUUSD with a $3.00 stop, starting at 0.10 lots. A $30 first risk becomes a $1,890 hole — nearly 19% of a $10,000 account — in six trades.

Six straight losses is not a black-swan event; for many strategies it is a normal bad week. A seventh doubling would demand 6.40 lots risking $1,920 on a single position, by which point margin, a prop firm's daily-loss rule, or nerve fails first. Under fixed fractional at 1%, those same six losses cost about 5.9% and the seventh trade looks exactly like the first. Martingale keeps reappearing in EA marketing because it produces beautifully smooth equity curves in backtests — right up to the streak the test window happened not to include.

Daily loss budgets: the layer above the trade

Per-trade risk controls the size of one loss; a daily budget controls how many of them you absorb before stopping. Without one, a bad day compounds — the EA, or you, keeps firing into conditions that are chewing every setup. With one, the worst possible day has a known, fixed cost that you chose in advance.

  • Cap the day at two to three full losses. At 0.5% per trade, that makes the worst day roughly 1–1.5% of the account.
  • On prop accounts, set the budget well inside the firm's limit: if the daily loss cap is 5% of balance, standing down at 3–3.5% leaves headroom for floating losses and slippage. Confirm the current figures on FTMO's site.
  • Count floating losses against the budget, because the prop firm's rule almost certainly does.
  • When the budget is hit, go flat and stay off until the next trading day. "One more trade to get it back" is martingale thinking in a smaller font.

Where RSForex Bot sits in this

RSForex Bot ships these ceilings compiled into the executor rather than exposed as editable inputs: fixed-fractional per-trade risk, lot size derived from the stop distance using the contract math above, and a daily-loss buffer that flattens positions and stands down when it is hit. The reasoning is unglamorous — many blown accounts trace back to a settings panel edited at midnight, not to a strategy flaw. None of this guarantees profits or a passed evaluation; risk settings determine how you lose, and trading leveraged gold means you sometimes will. The 30-day trial exists so you can watch it lose as well as win before paying anything.

Risk disclosure. Trading involves risk. RSForex Bot does not guarantee profits, account growth, or prop-firm outcomes. Users remain responsible for their own broker, prop-firm, account settings, and trading decisions. Past performance does not guarantee future results.

All figures are illustrative. Contract sizes, margin requirements, spreads and prop-firm rules vary by broker and change over time — verify your own symbol specification in MT5 and the current objectives on FTMO's site before sizing anything.

Share X LinkedIn
Free trial

Put disciplined gold automation on your MT5.

RSForex Bot runs the XAUUSD strategy locally inside MetaTrader 5 on supported FTMO and OANDA accounts, with built-in per-trade, daily-loss and drawdown limits.