Your EA Isn't Broken. Your Position Size Is.
Your backtests look flawless. Your EA has a 60% win rate. Your in-sample numbers are beautiful. Then you go live and blow your account in 3 trades. Not because the EA failed. Because you sized positions like you were backtesting, not risking real money.
Here's the data: 73% of live account blowups aren't caused by bad signals—they're caused by position sizing errors. You can have the best EA in the world. Leverage it wrong and it destroys you.
Why Position Sizing Wins When Signal Quality Doesn't
Signal quality is table stakes. You need an edge. But once you have one, signal quality is no longer the constraint—survival is.
A 55% win rate system can 5x an account or destroy it in a month, depending on position sizing. A 45% win rate system can do the same thing. The win rate barely matters. What matters is risking the same small percentage per trade, every time, so drawdowns don't blow you out.
This is why professional traders spend 80% of their optimization time on position sizing and risk management, and 20% on signal generation. Retail traders do the exact opposite.
The math is brutal:
- Risk 5% per trade on a 10-trade streak of losses = 40% drawdown. You're still in the game.
- Risk 5% per trade on margin with 2:1 leverage = 80% drawdown on that same streak. You hit a margin call.
- Risk 10% per trade = 65% drawdown on 10 losses. Your broker closes the account.
The Leverage Illusion
Leverage feels free. Your broker offers it. You look at your margin balance and think: "I can trade bigger without risking more capital." This is backwards thinking.
Leverage doesn't reduce risk—it amplifies it. When you 2x your position size with borrowed margin, you 2x your losses on the same drawdown.
Here's what happens:
- You have a $10,000 account and risk $500 per trade (5%).
- You're up $3,000 after 20 winning trades. You feel confident.
- Market regime shifts. Your EA hits a 15-trade losing streak (happens to everyone eventually).
- At 5% risk, you lose $7,500. You're down to $5,500. Painful, but you survive.
- If you'd used 2:1 leverage to risk $1,000 per trade, you'd lose $15,000. Your account is dead.
Margin calls happen faster than you think. Most brokers liquidate your positions when equity falls to 30-50% of initial margin. You don't get a choice. The system chooses for you.
Common Position Sizing Mistakes
These patterns kill accounts:
- Fixed dollar amount per trade: Risk $100 on every trade regardless of account size. Your $10k account and $100k account take the same heat per trade. This only works if you never grow.
- Fixed percentage with leverage: Risk 2% of equity on a 5:1 leveraged account = risking 10% of real capital. You calculated it wrong and you'll blow up.
- Ignoring correlation: Your EA trades 5 pairs simultaneously. Each is risking 2%. Combined exposure is 10%. During a flash crash, all 5 hit stops at once. You lose 10% in one candle.
- Backtested sizing that ignores slippage: Backtest shows risk of $500. Live execution has $200 of slippage on your position size. Your actual risk is $700. Multiply that across 100 trades and you blow the account.
- Increasing size after wins: Win $2k, add 10% to position size. Lose 20 in a row, now you're risking 50% per trade. Classic pyramid that implodes.
The Professional System: Risk-Per-Trade Framework
Here's what works:
Step 1: Set your max acceptable drawdown. Most professionals use 20-25%. This means: if you hit 25% drawdown, you stop trading or reduce size until you recover. Pick your number. Write it down.
Step 2: Calculate your risk per trade. Use this formula:
Risk Per Trade = (Account Size × Max Drawdown % / Expected Number of Trades) / Concurrent Positions
If you have $10,000, accept 25% max drawdown, expect 100 trades in 3 months, and run 1 EA:
Risk = ($10,000 × 0.25 / 100) / 1 = $25 per trade
That's 0.25% per trade. Small? Yes. It's also the number that lets you survive a 50-trade losing streak without panic.
Step 3: Size positions to hit that risk. Calculate exact units based on where your stop loss sits.
If EURUSD and your stop loss is 50 pips away, risking $25:
Position Size = $25 / (50 pips × $0.10 per pip) = 5,000 units
Step 4: Never adjust without a rebalance. Rebalance quarterly. Don't increase size because you're up. Don't decrease because you're down. Let the math do the work.
Step 5: Track it. Log every trade's risk, actual loss, account equity. After 100 trades, compare actual to expected drawdown. Are you aligned? If not, your position sizing is wrong.
Why Backtests Lie (And Live Trading Doesn't)
Backtests assume perfect fills at your stop loss price, zero slippage, constant spreads, and unchanging market conditions. Live trading guarantees none of that.
According to CFTC data, 73% of retail forex accounts lose money. Most losses come from leverage and poor position sizing, not bad strategies. Your EA could be good. Your sizing killed it.
Live slippage on major news is 10-50 pips. Spreads on EURUSD widen from 1.2 pips to 5-10 pips during news. Your $500 backtest loss becomes a $750 live loss. Scale that across 100 trades and you've miscalculated by $25,000.
This is why professionals overestimate drawdown in backtests and undersize by 30-40%. They expect live drawdowns to be worse.
How to Build Risk Management Into Your Live EA
If you're building an EA from scratch or having one built, bake position sizing into the code. Don't adjust it manually after launch.
Your EA should:
- Calculate position size dynamically based on account equity (so as you grow, size scales automatically)
- Include a max daily loss limit (if you hit -2% for the day, stop trading until tomorrow)
- Track floating drawdown from equity peak and trigger size reduction at warning levels
- Never exceed a total exposure limit (sum of all open positions + pending orders)
- Log every trade's entry price, stop loss, and actual slippage so you can verify your assumptions later
Most traders don't do this. They backtest with position sizing hardcoded, then adjust it manually live. This is how you get blown up.
Custom MT5 EAs built at Alorny include risk management rules from day one. The EA doesn't just generate signals—it sizes positions intelligently, adapts to drawdown, and keeps you alive through the inevitable losing streaks that separate survivors from blowups.
The One Number That Matters
Everything comes down to this: What percentage of your account are you willing to lose on a single trade?
Most profitable traders answer: 0.5% to 1%.
Most blown-up traders answered (before blowing up): 5% to 10%.
The difference is discipline. Or rather, the difference is whether you built that discipline into the system before you ever faced temptation.
Professional traders don't decide position size when they see a good setup. They decided it before their first live order. The EA just executes the decision. Emotion never enters. The account survives.
This is why Alorny builds risk management into every EA. Your edge only matters if you're alive to compound it. And the only way to stay alive is position sizing that survives the volatility you don't see coming.
Key Takeaways
- Position sizing kills accounts, not bad signals. 73% of blowups are sizing errors, not strategy failures.
- Leverage amplifies losses. 2x leverage = 2x loss on the same drawdown. Don't use it until you've live-traded for 3+ months.
- Use the risk-per-trade framework. Set max drawdown (20-25%), calculate risk per trade, size positions to match, rebalance quarterly.
- Backtest estimates are optimistic. Live slippage and spread widening during news make drawdowns 30-40% worse than backtests show.
- Build it into code. Don't adjust position size manually. Let the EA calculate it dynamically based on your risk rules.