Forex EA Risk Management: Position Sizing and Drawdown Rules
Core idea: The first job of forex EA risk management is not to maximise return. It is to keep one strategy, one market event or one bad configuration from damaging the account beyond repair.
Automated trading removes hesitation, but it also removes the moment when a human might decide that enough is enough. A Forex Expert Advisor can keep following its rules through volatility, disconnections and drawdown. That makes a written forex EA risk management plan essential.
This guide focuses on the controls that matter before you switch on AutoTrading: position sizing, maximum drawdown, correlated exposure, stop rules and the difference between account margin and acceptable risk.
Why EA risk is different from manual trading risk
An EA can open trades faster and more consistently than a person. It can also repeat a flawed instruction faster. Grid, martingale, averaging and multi-symbol systems may accumulate exposure even when the first position looks small. A fixed lot size that was conservative on one balance can become aggressive after a withdrawal or drawdown.
Risk therefore belongs at three levels:
- trade risk: what can be lost on one position or basket;
- strategy risk: what the EA can lose before it is paused;
- portfolio risk: what all EAs and correlated symbols can lose together.
Position sizing: fixed lot versus percentage risk
A fixed lot is simple, but it does not automatically adapt to account size or stop distance. Percentage-risk sizing calculates volume from a defined share of equity and the distance to the protective stop. It is often more consistent when the EA uses real stop losses.
A simplified planning formula is:
Cash at risk = account equity × risk percentage
Lot size must then account for stop distance, tick value and the symbol's contract specification. Do not copy a lot size from another trader whose balance, leverage, broker symbol or account currency differs.
Choose a risk percentage you can survive
There is no universally safe percentage. Lower risk slows both gains and losses; higher risk increases the probability of a damaging drawdown. When evaluating an EA, calculate what a sequence of losses would do to equity rather than focusing on one trade.
| Question | Why it matters |
| Does the EA use a hard stop? | Without a defined exit, risk cannot be estimated from the entry alone. |
| Can it open a basket? | Risk must be measured across the basket, not per ticket. |
| Does lot size increase after losses? | Martingale-style escalation can make tail risk grow rapidly. |
| Can trades overlap across charts? | Multiple instances may duplicate exposure. |
Maximum drawdown: define the stop before the pain
Drawdown is the decline from an equity peak to a later low. A 20% loss requires a 25% gain to recover; a 50% loss requires a 100% gain. The recovery burden rises faster than the drawdown.
Set a maximum strategy drawdown at which the EA is paused and reviewed. Use equity, not balance alone, because open losses may not appear in the balance. The limit should be below the point at which emotion or margin pressure would force an unplanned decision.
Control correlated exposure
Running five EAs is not automatically diversification. Two robots buying EURUSD and GBPUSD may both be expressing short-US-dollar exposure. Several gold EAs can react to the same news event. Group positions by underlying driver and set a portfolio exposure cap.
Set operational risk controls
- Daily or weekly loss limit: stop new entries after a predefined equity loss.
- Maximum open trades: prevent uncontrolled basket expansion.
- Maximum spread filter: avoid entries when transaction cost is abnormal.
- News and volatility rules: use them only if the strategy design supports them.
- VPS monitoring: review terminal logs, connection stability and duplicate instances.
- Version control: record the EA version and set file used on each account.
Stress-test the risk settings
Backtest with worse spreads, more slippage and a less favourable start date. Increase the historical maximum drawdown in your planning buffer rather than assuming the backtest captured the worst possible future. Test what happens if several positions reach their stop together.
A practical forex robot risk checklist
- Document starting equity and the maximum amount you can lose.
- Confirm the EA's stop-loss and basket-exit logic.
- Calculate risk in account currency, not only lots.
- Cap total open exposure across correlated EAs.
- Set strategy and account drawdown limits.
- Start with the minimum practical lot size.
- Monitor equity, margin level, spread and execution.
- Change one variable at a time and keep a log.
Frequently asked questions
What is a safe risk setting for a forex EA?
No setting is safe in every strategy or market. Begin conservatively, understand the worst historical basket and choose a level that keeps account drawdown within your personal limit.
Is low drawdown proof that an EA is safe?
No. A short track record can miss rare losses, and some strategies hide risk by holding losing positions. Examine open drawdown, leverage, trade count and strategy logic.
Should I run several EAs?
A portfolio can diversify strategy risk only when the systems are genuinely different. Count shared currency, gold and news exposure before deciding that multiple bots reduce risk.
Compare MT5 EAs with risk in mind
Review each robot's strategy, time frame, broker requirements and risk controls before deployment.
Risk disclosure: Forex and CFD trading uses leverage and can result in losses greater than expected. This information is educational, not personalised financial advice.