Why position sizing is the most important EA setting
The strategy decides when to trade. The lot size decides how much capital is risked on each trade. A profitable EA with the wrong position-sizing approach can ruin an account just as reliably as an unprofitable one.
Two real-world examples:
- An EA with a 60% win rate and 1:1.5 R/R is profitable — but only if the lot size is set so that a losing streak of ten consecutive trades costs no more than 15–20% of capital.
- A martingale EA that doubles the lot after every loss looks unbeatable in backtesting — until a single extended drawdown wipes the account.
The three main approaches
1. Fixed lot
You always trade 0.01, 0.1, or 1.0 lot — regardless of your current capital.
Advantages:
- Simple to configure
- Predictable pip value per trade
- Suitable for testing and demonstrations
Disadvantages:
- Risk per trade grows relatively as the account shrinks
- Account does not scale automatically with growing capital
- Difficult to compare across different brokers and account sizes
Use case: Accounts with very small capital (micro account, nano-lot tests), or when the EA was explicitly built for a fixed lot size.
2. Percentage risk (percent-risk)
Lot size is calculated so that at a given stop-loss, a defined percentage of current account capital is at risk.
Formula:
Lots = (Capital × Risk%) / (Stop-Loss in pips × Pip value per lot)
Example: Account $10,000, risk 1%, stop 30 pips, pip value $10 per standard lot on EURUSD:
Lots = (10,000 × 0.01) / (30 × 10) = 100 / 300 ≈ 0.33 lot
Advantages:
- Automatic scaling with the account
- Robust drawdown control
- Industry standard for professional risk management
Disadvantages:
- Requires a defined stop-loss in the EA
- With a very tight stop, lot size can become disproportionately large
Use case: Recommended for almost all EAs in live operation. Most reputable EAs offer a RiskPercent parameter.
3. Kelly criterion
The Kelly criterion calculates the theoretically optimal lot size for maximum capital growth given a known win rate (W) and average gain/loss ratio (R):
Kelly% = W - (1-W)/R
Example: W = 55%, R = 1.5
Kelly% = 0.55 - (0.45/1.5) = 0.55 - 0.30 = 0.25 → 25%
That would be a 25% risk per trade — far too aggressive for full Kelly. In practice, Half-Kelly (12.5%) or even Quarter-Kelly (6.25%) is used, which substantially reduces drawdowns.
Limitation: Kelly assumes stationary probabilities — in real markets, neither the win rate nor the R/R ratio is constant. Use Kelly as a reference point, not a hard rule.
Manual lot calculation vs. EA parameter
Manual pre-calculation makes sense when the EA only supports a fixed lot: calculate the appropriate lot size for your current capital once a month and update the parameter.
Built-in percent-risk parameter is more elegant: the EA calculates the lot size automatically at every trade. When buying or renting an EA, always check whether this mode is available.
External lot-management tools: Some traders use separate "risk manager" EAs that function as an overlay, centrally controlling lot sizes for all other EAs. This is particularly practical for multi-EA portfolios — for more detail see the guide on EA portfolio management.
Micro, mini, and standard lots: what do they mean?
| Lot size | Units | Pip value (EURUSD, USD account) | |---|---|---| | Standard (1.0 lot) | 100,000 units | ~$10 | | Mini (0.1 lot) | 10,000 units | ~$1 | | Micro (0.01 lot) | 1,000 units | ~$0.10 |
For an account of $1,000 with 1% risk (= $10) and a 30-pip stop:
- Required lots = 10 / (30 × 10) ≈ 0.033 lot → Next available size: 0.03 lot (micro)
Not all brokers offer micro lots. Check the minimum lot size in our broker reviews.
Special cases and pitfalls
EAs without a stop-loss
Some EAs — particularly grid and martingale systems — have no defined stop-loss. Percentage-based risk is not directly applicable here. As a substitute: calculate the maximum possible exposure per chain or grid level and cap it at 2–3% of capital.
Scalping with very tight stops
With a 3-pip stop and 0.5% risk on a $10,000 account: Lots = 50 / (3 × 10) ≈ 1.67 lot — that is very aggressive for a $10,000 account. In this case it makes more sense to lower the risk percentage or run the EA on a larger account.
Prop-firm accounts
Prop firms often have specific drawdown limits (e.g. 5% daily DD, 10% overall DD). Back-calculating a safe lot size from those limits matters more than pure return optimisation. An EA that breaks the challenge has no second chance. See the guide on passing a prop-firm challenge with an EA for detail.
Checklist before going live
- [ ] Risk percentage calculated for current capital?
- [ ] Stop-loss correctly entered in the EA parameter?
- [ ] Lot value verified against expected risk on a demo account?
- [ ] Broker minimum lot size checked?
- [ ] Combination with other EAs checked for combined max DD?
Conclusion
Lot size is the lever that determines success or failure in live trading — regardless of how good the strategy is. Percentage risk (0.5–2% per trade) is the most robust approach for most EAs. Anyone running multiple EAs in parallel must ensure that individual risks add up to a controlled combined drawdown. More on this in the guide on EA portfolio management. Reliable execution quality through a good broker and a stable VPS ensures that the calculated lot size is actually executed as intended.