Home › Blog

How to Choose Lot Size and Risk Settings for a Gold EA

By MR WOW EA Team · October 20, 2026 · 7 min read

One of the most important decisions you'll make when running a gold Expert Advisor is selecting the right lot size and risk settings. Get this wrong, and even a well-designed EA can drain your account quickly. Get it right, and you give yourself a realistic chance to trade gold (XAUUSD) without risking more than you can afford to lose.

This guide walks you through how to choose lot size for your gold EA, how to calculate risk percentage, and where to adjust these settings in MetaTrader 5. We'll use real MT5 menu names and practical examples with hypothetical numbers so you can follow along step by step.

Why Lot Size and Risk Settings Matter for Gold EAs

Gold is volatile. A single trade on XAUUSD can move dozens of dollars in minutes. If your lot size is too large, one losing trade can wipe out a significant portion of your account. If it's too small, even winning trades won't produce meaningful results.

Risk settings control how much of your account balance the EA is allowed to put at risk per trade or in total. Most professional traders recommend risking no more than 1-2% of your account on any single trade. This keeps your account alive through losing streaks, which are a normal part of trading.

Remember, all trading carries risk. No EA, no matter how advanced, can eliminate the possibility of losses. Your job is to manage that risk intelligently.

Understanding Lot Size in Forex and Gold Trading

Before configuring your EA, you need to understand what a "lot" means:

For XAUUSD, 1 standard lot means you're trading 100 ounces of gold. Each pip (or point) movement equals $100. For 0.01 lots (1 micro lot), each point equals $1.

Most retail traders with small accounts ($500-$5,000) use micro lots (0.01) or small fractions like 0.02 or 0.05. This keeps risk manageable while gold prices swing.

How to Calculate the Right Lot Size for Your Account

Here's a simple formula many traders use:

Lot Size = (Account Balance × Risk %) ÷ (Stop Loss in Points × Point Value)

Let's use a hypothetical example:

Using the formula: (1,000 × 0.02) ÷ (50 × 1) = 20 ÷ 50 = 0.4 lots

But this assumes 1 lot trades. For 0.01 lots, adjust: 0.4 ÷ 100 = 0.004 lots, which you'd round to 0.01 lots (the minimum for most brokers).

In practice, many traders with $1,000 accounts use 0.01 to 0.02 lots per trade on gold, depending on their stop loss distance and risk tolerance.

Fixed Lot vs. Auto Lot (Risk-Based) Settings

Most gold EAs offer two ways to set lot size:

Fixed Lot Size

You manually enter a specific lot size, such as 0.01 or 0.05. The EA uses this same size for every trade, regardless of your account balance.

Pros: Simple, predictable, easy to control.

Cons: Doesn't adjust as your account grows or shrinks. A fixed 0.1 lot is fine for a $10,000 account but risky for a $500 account.

Auto Lot (Risk Percentage)

The EA calculates lot size automatically based on your account balance and a risk percentage you set (for example, 1% or 2%).

Pros: Scales with your account. As your balance grows, lot size increases. If you lose, lot size decreases.

Cons: Requires the EA to support this feature. You must understand how the EA calculates risk (per trade, per day, etc.).

For beginners, fixed lot size is safer until you understand how your EA behaves. Once comfortable, you can switch to auto lot if the EA supports it.

Where to Adjust Lot Size and Risk Settings in MT5

Once your EA is installed on MetaTrader 5, here's how to configure lot size and risk:

Step 1: Open the EA Settings

Right-click on the chart where your EA is running, and select Expert Advisors → Properties. Or double-click the EA name in the Navigator panel and drag it onto the chart; the settings window will open.

Step 2: Go to the Inputs Tab

In the EA properties window, click the Inputs tab. This is where all customizable settings appear, including lot size and risk parameters.

Step 3: Find Lot Size or Risk Settings

Look for parameters labeled something like:

Each EA labels these differently. For example, Trend Stacker, which uses a straddle strategy and loss recovery engine, may have separate settings for base lot size and recovery multiplier. A scalping EA like Gold Grinder might offer a simple "Lot" input and a "Risk %" toggle.

Step 4: Enter Your Values

For a $1,000 account, you might set:

For a $5,000 account, you might use:

These are hypothetical examples. Your actual settings depend on your risk tolerance, broker spread, and EA strategy.

Step 5: Enable Auto Trading

Make sure the Allow Algo Trading button in the MT5 toolbar is active (it should be green). Click OK to apply your settings.

Additional Risk Settings to Consider

Beyond lot size, many gold EAs offer other risk controls:

Setting What It Does Recommended for Beginners
Max Daily Loss Stops trading after a set dollar or percentage loss per day $20-$50 or 5% for small accounts
Max Open Trades Limits how many positions the EA can open at once 1-3 trades
Stop Loss (SL) Maximum loss per trade in points or dollars 30-100 points depending on strategy
Take Profit (TP) Target profit per trade 50-150 points depending on strategy
Trailing Stop Moves stop loss to lock in profit as trade moves in your favor Optional, 20-50 points

EAs like BUY STOP & SELL STOP EA, designed for candle breakout strategies, often include breakout-specific risk settings like pip distance from the breakout candle.

Testing Your Settings Before Going Live

Never run a new EA with real money until you've tested your lot size and risk settings. Use the MT5 Strategy Tester or a demo account to see how the EA performs with your chosen parameters over at least a few weeks of historical data.

Watch for:

If drawdown exceeds 20-30% in testing, reduce your lot size or risk percentage. High drawdowns are stressful and increase the chance of a margin call.

Common Mistakes When Setting Lot Size for Gold EAs

Using the Same Lot Size Across Different Brokers

Spreads and commission structures vary. A 0.05 lot might be fine with a low-spread broker but too risky with a high-spread broker, because your effective cost per trade is higher.

Ignoring Margin Requirements

Gold often requires higher margin than currency pairs. Check your broker's margin requirement for XAUUSD. If you don't have enough free margin, the EA won't open trades—or worse, existing trades may be closed by a margin call.

Setting Risk Too High to "Recover Faster"

After a losing streak, some traders increase lot size to win back losses quickly. This is dangerous. Stick to your plan. Consistent, small risk per trade is how long-term traders survive.

Not Adjusting for Account Growth

If you start with $1,000 and grow to $2,000, continuing to trade 0.01 lots means you're risking a smaller percentage of your account. Consider increasing lot size proportionally, or switch to an auto lot feature if available.

Example: Configuring Lot Size for a Hypothetical $2,000 Account

Let's say you have $2,000 and want to risk 1.5% per trade ($30). Your EA uses a 40-point stop loss. For 0.01 lots, each point = $1, so 40 points = $40 loss per trade at 0.01 lots.

You want to risk $30, so: 30 ÷ 40 = 0.75. Multiply by 0.01 = 0.0075 lots. Round to 0.01 lots (since most brokers don't allow 0.0075).

If you want slightly more risk, use 0.01 lots. If you want less, keep it at 0.01 but widen your stop loss or reduce trade frequency by adjusting entry filters.

In the EA inputs, you'd set Lot Size = 0.01 and possibly enable a Max Daily Loss = $50 to protect against multiple losing trades in one session.

When to Seek Help Adjusting Your EA Settings

If you're unsure how to configure your EA's risk settings, or if the EA documentation isn't clear, reach out for support. MR WOW EA offers setup assistance—visit our contact page for help configuring lot size, risk percentage, and other parameters specific to your account size and trading goals.

Final Thoughts on Lot Size and Risk for Gold EAs

Choosing the right lot size and risk settings isn't about maximizing profit—it's about protecting your capital so you can keep trading. Gold is volatile, and even the best EAs face losing periods. By starting with small lot sizes (0.01-0.02 for accounts under $1,000), setting a sensible risk percentage (1-2%), and using stop losses, you give yourself a realistic chance to learn and grow without blowing up your account.

Take time to understand your EA's inputs, test settings on a demo account, and adjust as your account size changes. Trading is a long game, and proper risk management is what separates traders who last from those who don't.

Frequently Asked Questions

What lot size should I use for a $500 gold trading account?

For a $500 account, most traders use 0.01 lots (1 micro lot) per trade to keep risk manageable. Risking 1-2% per trade means risking $5-$10, which fits well with a 0.01 lot and a reasonable stop loss of 50-100 points on XAUUSD.

Is it better to use fixed lot or auto lot for a gold EA?

Fixed lot is simpler and safer for beginners because you control exactly how much you trade. Auto lot adjusts with your account balance, which is useful as you grow, but requires understanding how the EA calculates risk. Start with fixed lot until you're comfortable with your EA's behavior.

How do I calculate risk percentage for my gold EA?

Risk percentage is (Amount Risked per Trade ÷ Account Balance) × 100. For example, if you risk $20 on a $1,000 account, that's (20 ÷ 1,000) × 100 = 2%. Most traders risk 1-2% per trade to survive losing streaks and protect capital.

Can I change lot size while my EA is running?

Yes, but you need to stop the EA first. Right-click the chart, select Expert Advisors → Properties, change the lot size in the Inputs tab, and click OK. The new lot size will apply to future trades, not trades already open.

What happens if my lot size is too large for my account?

If your lot size is too large, a few losing trades can cause a large drawdown or even a margin call, where your broker automatically closes your positions. Always test lot size on a demo account and keep risk per trade at 1-2% to avoid wiping out your account.

Risk warning: Trading forex and gold carries a high level of risk. Past performance does not guarantee future results. Test any EA on a demo account first. Read the full risk disclaimer.
Need help setting up an EA? Browse our MT5 Expert Advisors and indicators or contact our support team.

More articles