EA Position Sizing — Fixed Lot vs. Risk % Auto-Calculation: Which Should You Use?
Contents
- The Two Lot-Sizing Methods
- Method 1: Fixed Lot (UseFixedLot = true)
- Method 2: Risk % Auto-Calculation (UseFixedLot = false)
- How Risk % Auto-Calculation Works
- How the Two Methods Diverge Over Time
- When Fixed Lot Makes Sense
- 1. Testing and verification
- 2. Allocating only a portion of your funds to the EA
- 3. Manually balancing a multi-EA portfolio
- When Risk % Auto-Calculation Makes Sense
- 1. Long-term trading where you want to harness compounding
- 2. Hands-off management that adapts to deposits, withdrawals, and P&L swings
- 3. Preventing beginners from over-sizing positions
- Common Configuration Mistakes
- Mistake 1: Setting RiskPercent too high
- Mistake 2: Forgetting to raise the fixed lot as your balance grows
- Mistake 3: Not accounting for the minimum lot floor
- Recommended Settings at a Glance
- FAQ
- Q: If I set RiskPercent to 1%, do I lose 1% on every trade?
- Q: When running multiple EAs, do I set RiskPercent separately for each one?
- Q: Should I lower RiskPercent once my balance has doubled?
- Q: Can FixedLot and RiskPercent be used at the same time?
- Related Pages
EA Position Sizing — Fixed Lot vs. Risk % Auto-Calculation: Which Should You Use?
Among all EA parameters, lot size (trade volume) is arguably the most important. Our EAs let you choose between two methods: Fixed Lot and Risk % Auto-Calculation. The method you choose will significantly shape your long-term equity curve.
The Two Lot-Sizing Methods
Method 1: Fixed Lot (UseFixedLot = true)
Example: FixedLot = 0.01
Effect: Every trade enters at 0.01 lot, regardless of account balance
Characteristics:
- Profit and loss fluctuation stays constant because the lot never changes
- Lots do not automatically increase even as your account grows
- Simple to configure and easy to predict behavior
Method 2: Risk % Auto-Calculation (UseFixedLot = false)
Example: RiskPercent = 1.0
Effect: Account balance × 1% ÷ SL range = automatically calculated lot
Characteristics:
- Lots grow automatically as the account grows (compounding effect)
- Lots shrink automatically when the account declines (built-in protection)
- Risk stays proportional to the SL range
How Risk % Auto-Calculation Works
Maximum loss allowed = Account balance × RiskPercent ÷ 100
Required lot = Maximum loss allowed ÷ (SL range in pips × pip value)
Example:
Account balance = $2,000
RiskPercent = 1.0%
Maximum loss = $2,000 × 1% = $20
SL range = 800 pips (ATR × 1.5)
Pip value (XAUUSD, 0.01 lot) = $0.01
Required lot = $20 ÷ (800 × $0.01) = $20 ÷ $8 = 2.5
→ Rounded to the nearest 0.01 lot → 0.02 lot
When volatility is high and the SL is wide, the lot is automatically reduced; when volatility is low and the SL is tight, the lot increases. Keeping risk constant relative to volatility is the biggest advantage of this method.
How the Two Methods Diverge Over Time
Starting balance: $1,000, average monthly return: 2%.
| Time Elapsed | Fixed Lot (0.01 fixed) | Risk % (1% auto) |
|---|---|---|
| Start | $1,000 | $1,000 |
| 6 months | $1,120 | $1,126 |
| 1 year | $1,268 | $1,268 |
| 2 years | $1,608 | $1,610 |
| 3 years | $2,040 | $2,100 |
| 5 years | $3,280 | $3,870 |
The difference is small at first, but the compounding effect of the risk % method becomes increasingly clear over time.
However, keep in mind that as the account grows, the lot also grows — meaning the absolute dollar amount of drawdowns will increase as well.
When Fixed Lot Makes Sense
1. Testing and verification
When testing a new EA on a demo or live account, a fixed lot makes it easy to confirm that "every trade carries the same risk." Behavior is predictable and consistent.
2. Allocating only a portion of your funds to the EA
If your total account is $10,000 but you only want the EA to trade with $2,000 worth of exposure, setting FixedLot = 0.02 effectively gives you risk management calibrated to a $2,000 base.
3. Manually balancing a multi-EA portfolio
If you want to fine-tune lot allocation across a portfolio of EAs by hand, fixed lot gives you direct control.
When Risk % Auto-Calculation Makes Sense
1. Long-term trading where you want to harness compounding
Over three or more years, the compounding effect of risk % creates a meaningful gap versus fixed lot.
2. Hands-off management that adapts to deposits, withdrawals, and P&L swings
Because the lot adjusts automatically to your current balance, you spend less time manually tweaking settings.
3. Preventing beginners from over-sizing positions
When you set lots manually, it is tempting to think "things are going well, let me increase the size." Auto-calculation removes the emotional variable.
Common Configuration Mistakes
Mistake 1: Setting RiskPercent too high
Risky example: RiskPercent = 5.0
→ 10 consecutive losses could wipe out more than 40% of your account
The recommended range is 0.5–1.0%. If you are running multiple EAs simultaneously, aim for 0.3–0.5% each.
Mistake 2: Forgetting to raise the fixed lot as your balance grows
Imagine starting at $1,000 with a lot of 0.01, then letting the account grow to $10,000 while keeping the same lot. Your effective risk is now below 0.1% of the account — growth efficiency drops sharply.
Mistake 3: Not accounting for the minimum lot floor
With RiskPercent = 1.0%, account = $200, and SL = 800 pips:
Maximum loss allowed = $2.0
Required lot = $2.0 ÷ $8.0 = 0.25 → rounded up to 0.01 lot
Actual risk = 0.01 lot × $8.0 = $8.0 → 4% of the account
When an account is too small, the broker's minimum lot constraint causes your actual risk to be much higher than the RiskPercent you configured.
Recommended Settings at a Glance
| Account Size | Recommended Method | Suggested Value |
|---|---|---|
| $500 or less | Fixed Lot | 0.01 (for testing only) |
| $500–$2,000 | Risk % | RiskPercent = 0.5–1.0% |
| $2,000–$10,000 | Risk % | RiskPercent = 0.7–1.0% |
| $10,000+ | Risk % | RiskPercent = 0.5–0.7% (manage combined exposure across multiple EAs) |
FAQ
Q: If I set RiskPercent to 1%, do I lose 1% on every trade?
No. RiskPercent is the maximum loss in the event the stop-loss is hit. If a trade closes at take-profit, there is no loss. With a 50% win rate and a 1:1.5 risk/reward ratio, the average trade is profitable.
Q: When running multiple EAs, do I set RiskPercent separately for each one?
Yes. Each EA's RiskPercent is set independently. If you run three EAs at 0.5% each and all of them enter at the same time, the combined maximum risk in that moment is 1.5%.
Q: Should I lower RiskPercent once my balance has doubled?
Generally, no. Because risk % auto-calculation adjusts lots based on your current balance, doubling the balance automatically doubles the lot size. If the larger absolute loss amounts become psychologically uncomfortable, reducing from 0.7% to 0.5% is a reasonable option.
Q: Can FixedLot and RiskPercent be used at the same time?
No — only one mode is active at a time. Setting UseFixedLot = false activates risk % calculation. FixedLot is only used when UseFixedLot = true.
Related Pages
Related
2026-05-22
Gold EA Risk Management: How to Set Lot Size & Avoid Blowing Your Account
2026-05-18
Running Multiple EAs Simultaneously: Risk Management for Lot Sizing, Margin, and MagicNumbers
2026-07-07
AutoTrading Disabled in MT5: Fix Retcodes 10027 & 10026 (EA Not Trading)
2026-07-07
Invalid Stops in MT5: Fix Retcode 10016 & MT4 Error 130
5-Day Email Course (Free)
Get one email a day covering the essentials of FX automated trading, how to read backtests correctly, and tips for choosing a broker.
* Privacy strictly protected. You can unsubscribe at any time.