Home > Blog > How Much Capital Do You Need to Run an EA?

money managementmarginlot calculationEAMT5

How Much Capital Do You Need to Run an EA?

Published: 2026-10-02Read time: about 6 min
⏱ This article reflects information as of its publish date. EA performance figures (PF, DD, annual return) change with live trading and re-validation — check the latest on the EA pages. See the latest EA results →

How Much Capital Do You Need to Run an EA? Margin Requirements and Lot Sizing in Practice

"How much money do I need to start running an EA?" is one of the most common questions we receive. Some brokers let you open an account with as little as $50 — but whether that is enough to trade safely is an entirely different question. This article uses a Gold EA (XAUUSD H1) as a concrete example to walk through realistic minimum capital and recommended starting balances.

First: Separate "Margin" from "Risk"

There are two distinct money concepts in EA trading that are easy to confuse.

  1. Margin: The funds temporarily locked up as collateral when you open a position
  2. Loss risk: The actual money you lose when a stop-loss is hit

Both come out of your account balance, but they require completely different ways of thinking.


Calculating Required Margin for XAUUSD

XMTrading offers leverage of up to 1,000x. However, the cap steps down as your account balance grows (see Exness vs XMTrading), and some instruments have their own separate limits. Check the leverage you can actually use in the MT5 symbol specification and your account settings. Here we use 1,000x as a calculation example.

Required margin = Lot size × Contract size × Current price / Leverage
               = 0.01 × 100 oz × $2,000 / 1,000
               = $2.00 (required margin for the minimum 0.01 lot)

The gold price moves every day and has changed substantially since this article was first written. The $2,000 and $4,000 in the table below are hypothetical prices for the calculation. Required margin is proportional to price, so if the price doubles, so does the margin. Recalculate with the current price.

Required margin by lot size (calculated at 1,000x leverage):

Lot sizeRequired margin (gold at $2,000)Required margin (gold at $4,000)P&L when gold moves $1
0.01 lotapprox. $2approx. $4$1
0.05 lotapprox. $10approx. $20$5
0.10 lotapprox. $20approx. $40$10
0.50 lotapprox. $100approx. $200$50
1.00 lotapprox. $200approx. $400$100

0.01 lot is one ounce of gold, so when the gold price moves $1, your P&L moves $1. Looking at margin alone, you can technically open a small position with just $100. The real issue is the loss when your stop-loss is hit.


The Relationship Between Stop-Loss Width and Required Capital

ATR-based EAs use, for example, ATR (Average True Range) × 1.5 as the stop-loss distance. Because ATR varies greatly with market volatility and the level of the gold price, we use a calculation example with a stop-loss width of "$10 in gold price".

Loss on SL hit at 0.01 lot = SL width × 1 oz = $10 × 1 = $10

Example lot calculation using the risk-percentage method (account balance $1,000, 1% risk):

Maximum loss allowed = $1,000 × 1% = $10
Required lot = Maximum loss allowed ÷ Loss per 0.01 lot × 0.01
             = $10 ÷ $10 × 0.01 = 0.01 lot
(The EA calculates this automatically)

With RiskPercent = 1.0% and an SL width of $10 in gold price:

Account balanceAllowed loss (1%)Calculated lotActual trade lotActual loss on SL hit
$500$50.005 lot0.01 lot (minimum lot)$10 (2% of balance)
$1,000$100.01 lot0.01 lot$10 (1%)
$3,000$300.03 lot0.03 lot$30 (1%)
$10,000$1000.10 lot0.10 lot$100 (1%)

On a $500 account the calculated lot falls below the 0.01 minimum, so you end up trading at 2% risk instead of the 1% you set.


Realistic Minimum Capital: $300–$500 Lets You "Try," But…

Technically you can run an EA from $300–$500 — enough to meet a broker's minimum deposit and trade at the smallest lot (0.01).

However, that amount carries the following risks:

Problem 1: Consecutive stop-losses can be devastating

Even an EA with a maximum drawdown of 10% will show a 10% loss on a $500 account after just $50 in losses. Five or six consecutive losing trades cuts the account in half — making it extremely hard to resist the urge to stop the EA.

Problem 2: Lot size becomes fixed at the minimum (0.01)

With a $500 account at RiskPercent = 1.0%, the maximum loss per trade is $5. If the SL loss at 0.01 lot exceeds $5 (an SL wider than $5 in gold price), you would need a lot below 0.01 — and the minimum-lot restriction means your actual risk is higher than your setting (see the $500 row in the table above).

Problem 3: No buffer in your margin utilization ratio

Holding multiple positions across multiple EAs can push your margin level dangerously close to the critical threshold (below 200%).


Quick Reference: Lot Sizes by Balance That Can Survive the Max Drawdown

The risk-percentage lot calculation only looks at a single stop-loss. During losing streaks and drawdowns, losses pile up many times over. So we work backward from the max drawdown (in dollars) of real EAs backtested at a fixed lot to find the lot size each balance can withstand.

Data used (our MT5 backtests)

EASymbol / timeframeTest periodTest lotMax DD (amount)Max DD per 0.01 lotRelative DD ($10,000 account)PF
AIFW (rule engine only)XAUUSD M52023.01–2026.09fixed 0.01 lot$554.74$554.744.60%1.77
MONTHLY BURST (discontinued)USDJPY H12014.01–2026.06fixed 0.50 lot$4,268.52$85.3721.66%1.50

MONTHLY BURST is no longer distributed, but its figures are kept as a fixed-lot calculation example. For a fixed-lot EA, both P&L and the dollar amount of the drawdown scale with lot size. MONTHLY BURST was measured at 0.50 lot, so per 0.01 lot it is $4,268.52 ÷ 50 = $85.37.

How to calculate

In line with the idea in this article's FAQ — "can you survive 1.5–2× the backtest max DD?" — we assume twice the max DD.

Upper-limit lot = Balance ÷ (Max DD per 0.01 lot × 2) × 0.01   (rounded down to 0.01)
Guideline lot   = Balance × 20% ÷ (Max DD per 0.01 lot × 2) × 0.01

Example: $3,000 balance, AIFW type
Upper-limit lot = $3,000 ÷ ($554.74 × 2) × 0.01 = 2.70 × 0.01 → 0.02 lot

The "upper limit" is the lot at which twice the max DD would not take your balance to zero. In practice you would be stopped out (forced liquidation) before that, so using the full upper limit is dangerous. The "guideline" is the lot that keeps the loss within 20% of your balance even if twice the max DD occurs.

Quick reference table

Account balanceAIFW type (gold) upper limitAIFW type (gold) guidelineUSDJPY H1 trend EA type (USDJPY) upper limitUSDJPY H1 trend EA type (USDJPY) guideline
$500Not enough even at 0.01 (one max DD of $554.74 exceeds the balance)Not enough0.02 lotNot enough even at 0.01
$1,000Not enough even at 0.01 (one max DD is 55% of the balance)Not enough0.05 lot0.01 lot
$3,0000.02 lotNot enough even at 0.010.17 lot0.03 lot
$10,0000.09 lot0.01 lot0.58 lot0.11 lot

The balance needed to meet the "guideline" at 0.01 lot is $554.74 × 2 ÷ 20% ≈ $5,547 for the AIFW type and $85.37 × 2 ÷ 20% ≈ $854 for the USDJPY H1 trend EA type.

How to read this table, and its limits

  • Even at the same 0.01 lot, gold's max drawdown in dollars is far larger than USDJPY's. In the 2023–2026 test, a period of rising gold prices, the max DD exceeded $500 even at 0.01 lot.
  • These figures are the results of these two EAs over those periods. Other EAs, or future markets, may not behave the same way. Check the "max DD (amount)" and "test lot" in the test report of the EA you use, and recalculate with the same formula.
  • EAs that use RiskPercent (balance-proportional) sizing increase their lot as the balance grows, so this table is a guideline for running at a fixed lot.

Capital sizeBest use case
$300–$500Functionality testing and experimentation only. Not suitable for real trading.
$1,000Run one EA near the minimum lot. However, a gold EA may not survive twice its max DD (see the quick reference table above).
$3,000Easy to run 2–3 EAs on pairs such as USDJPY in parallel. For gold EAs, 0.01–0.02 lot is the guideline upper limit.
$10,000+Full portfolio operation with multiple EAs and multiple pairs.

Simulation running $1,000 at an assumed 2% annual return:

$1,000 × 2% = +$20 per year
Monthly: approx. $1.70

More than the dollar amount, accurate configuration, continuous operation, and drawdown management are what determine long-term results. When your capital is small, make "not losing money" your top priority.


Things to Verify Before Adding More Capital

Increasing your deposit does not necessarily improve EA performance in proportion. Confirm the following first:

  1. The EA has run on a demo account for at least three months
  2. A 10-year MT5 Strategy Tester backtest shows a positive expected value
  3. You made no emotional decisions during the maximum drawdown period
  4. The risk setting (RiskPercent) is within your personal tolerance

Only after confirming all of the above should you consider adding funds or increasing your capital.


Summary

  • Technically possible from $300–$500, but $1,000–$3,000 is realistic for safe operation
  • Think of "margin" and "loss risk" as completely separate concepts
  • The EA auto-calculates your lot size (via RiskPercent), but watch out for the minimum-lot restriction
  • Base your lot ceiling on twice the max DD, not on a single stop-loss. A gold EA has recorded a max DD of $554.74 even at 0.01 lot; keeping the loss within 20% of your balance takes about $5,500
  • The smaller the account, the more psychologically painful drawdowns feel — get thoroughly comfortable on a demo account first

More than the size of your capital, having accurate settings and keeping the EA running without stopping it has the greatest impact on long-term performance.


FAQ

Q: Can I start with effectively $0 by using a broker bonus?

XMTrading's account-opening bonus (the amount varies over time; check the official page for the current amount) lets you trade without a deposit, but there are withdrawal restrictions on trades made with bonus funds. The deposit bonus is 100% of the deposit (up to $500), then 20% after that (up to $10,000). Bonus terms can change, so check XMTrading's official page before claiming one.

As the quick reference table above shows, a gold EA has had a max DD above $500 even at 0.01 lot. Use the account-opening bonus only to confirm the EA runs correctly; a demo account is more appropriate for serious data collection.

Q: Should I increase RiskPercent as my account grows?

We recommend adjusting gradually — in small increments — only after the EA has produced consistent results for three to six months or more. Raising it too quickly makes it psychologically impossible to endure the next major drawdown. Increase step by step: 0.5% → 0.7% → 1.0%.

Q: Is holding multiple accounts across brokers an effective way to diversify?

It is effective as a way to spread broker risk. However, managing more accounts also increases administrative overhead. Get one account running stably first, then consider a second account (with a different broker).

Q: If the maximum drawdown is 10%, how likely is it to actually happen?

If the 10-year backtest recorded a maximum DD of 10%, there is a high probability that a drawdown of 10% or more will occur in the future as well. We recommend planning your capital so you can actually survive 1.5–2× the backtest maximum DD, not just the recorded figure.

Q: Does Exness's unlimited-leverage plan save on margin?

Exness lets you choose very high leverage if you meet the conditions (our Exness demo account for forward testing is 1:2000). Conditions and caps vary with account balance, instrument and timing, so check your account settings before relying on it. Margin becomes smaller and your margin level gains headroom — that is a genuine benefit. However, the size of your losses is determined by lot size, not leverage. High leverage makes it easier to open large lots, so you need to enforce a lot ceiling yourself, like the one in the quick reference table above.

Q: Can I pool funds with a friend and run the EA together?

(Note: applies specifically to Japan) Technically it is possible, but managing another person's funds in FX trading in Japan requires registration as a financial instruments business operator. Even between private individuals, a "promise to cover losses" may be illegal. We strongly recommend that each person operate their own independent account.


📧 Free 8-email course + subscriber-only pack of 13 MT5 indicators

Right after you sign up, you get a download link for a subscriber-only pack of our 13 MT5 indicators: compiled files (.ex5), source code and a setup guide. Then 8 emails on algo-trading essentials, reading backtests correctly and choosing a broker (one a day for the first 5 days, then 7, 14 and 30 days after signing up). You also get notified before each price rise of the versions sold on the MQL5 Market (launch pricing that steps up as copies sell). Our EAs are free on this site with a live account at a partner broker.

* Privacy strictly protected. You can unsubscribe at any time.

Have a question about EAs or FX?

You can post it on the Nattzy trading forum (free sign-up). Questions beyond this article are welcome too — EA settings, choosing a broker and more.

Ask on Nattzy ↗

Comments & questions