There's no single "best" EA setting — it depends on your strategy, your pairs, and your risk tolerance. But there are proven guidelines that prevent the most common mistakes. This guide covers EA configuration for different trading styles and instruments.
The Three Rules of EA Configuration
Before diving into specific settings, these three rules apply to every configuration:
1. Always use a stop loss. No exceptions. An EA without a stop loss is a ticking time bomb. The question isn't if a runaway trade will blow your account — it's when.
2. Risk 1-2% per trade maximum. Calculate your lot size based on your stop loss distance and account size. A 100-pip SL on a $5,000 account at 2% risk = 0.10 lots on EURUSD.
3. Test on demo first. Run any new configuration on a demo account for at least one week. Verify that execution matches your expectations before risking real money.
Lot Size Calculation
The formula:
Lot Size = (Account Balance × Risk %) / (SL in pips × Pip Value)
Pip values per standard lot (1.0): - EUR/USD, GBP/USD, AUD/USD: $10/pip - USD/JPY: ~$6.60/pip (varies with exchange rate) - XAU/USD (Gold): $10/pip (but gold pips are much larger)
Example: $10,000 account, 2% risk, 50-pip SL on EUR/USD:
Lot Size = ($10,000 × 0.02) / (50 × $10) = $200 / $500 = 0.40 lots
If your signal bridge supports dynamic lot sizing, configure it once and let the EA calculate automatically. Otherwise, set a fixed lot size that keeps your risk within 1-2% for your typical stop loss distance.
Settings by Trading Style
Scalping (1M-15M charts)
Scalping targets small moves with tight stops and quick exits.
| Parameter | Recommended Range |
|---|---|
| Stop Loss | 10-25 pips |
| Take Profit | 15-40 pips |
| Breakeven After | 8-15 pips |
| Breakeven Buffer | 2 pips |
| Trail Activate | 12-20 pips |
| Trail Distance | 6-10 pips |
| Partial TP 1 | 10 pips (close 50%) |
Key considerations:
- Spread matters hugely. A 2-pip spread on a 15-pip SL is 13% of your risk. Trade during high-liquidity sessions (London, New York overlap)
- Scalping on gold with a 10-pip SL is usually too tight — gold's spread alone is often 15-30 pips during Asian session
- Use Once Per Bar Close alerts to avoid intra-bar noise
Day Trading (15M-1H charts)
Day trading targets intraday moves, holding for hours.
| Parameter | Recommended Range |
|---|---|
| Stop Loss | 25-60 pips |
| Take Profit | 50-120 pips |
| Breakeven After | 25-40 pips |
| Breakeven Buffer | 3-5 pips |
| Trail Activate | 35-60 pips |
| Trail Distance | 15-25 pips |
| Partial TP 1 | 30 pips (close 25%) |
| Partial TP 2 | 60 pips (close 25%) |
Key considerations: - Set trading schedule to exclude rollover time (typically 5pm EST) - Use two-step confirmation (alertX + alertY) for higher-quality entries - Consider closing all positions before major news events
Swing Trading (4H-Daily charts)
Swing trading holds positions for days to weeks.
| Parameter | Recommended Range |
|---|---|
| Stop Loss | 60-150 pips |
| Take Profit | 120-400 pips |
| Breakeven After | 50-80 pips |
| Breakeven Buffer | 5-10 pips |
| Trail Activate | 80-150 pips |
| Trail Distance | 40-80 pips |
| Partial TP 1 | 60 pips (close 20%) |
| Partial TP 2 | 120 pips (close 20%) |
| Partial TP 3 | 200 pips (close 20%) |
Key considerations: - Wider stops needed — daily candles on EURUSD average 60-80 pips - Swap fees matter for multi-day holds. Check your broker's swap rates - News events are part of the trade — don't close before NFP on a weekly swing
Settings by Currency Pair
EUR/USD
The most liquid pair. Tight spreads, predictable behavior. - Typical daily range: 60-80 pips - Recommended SL: 25-80 pips (depending on timeframe) - Spread: 0.5-1.5 pips (varies by broker) - Best sessions: London, London-New York overlap
GBP/USD
More volatile than EUR/USD. Wider moves, wider spreads. - Typical daily range: 80-120 pips - Recommended SL: 30-100 pips - Spread: 1-2.5 pips - Best sessions: London - Note: Watch for Bank of England announcements
USD/JPY
Yen pairs behave differently — 2-digit pricing, different pip calculation. - Typical daily range: 60-100 pips - Recommended SL: 25-80 pips - Spread: 0.8-1.5 pips - Best sessions: Tokyo, London - Note: Heavily influenced by Bank of Japan policy
XAU/USD (Gold)
High volatility, wide spreads, large pip values. - Typical daily range: 200-400 pips - Recommended SL: 80-200 pips - Spread: 15-40 pips (broker and session dependent) - Best sessions: London, New York - Note: Scale down lot size — gold moves are 3-5x larger than forex
GBP/JPY
One of the most volatile major pairs. Not for beginners. - Typical daily range: 120-180 pips - Recommended SL: 40-120 pips - Spread: 2-4 pips - Best sessions: London - Note: Requires wider trailing stops to avoid premature exits
Position Limits
Limit the maximum number of open positions to prevent over-exposure:
| Account Size | Recommended Max Positions |
|---|---|
| $1,000-5,000 | 2-3 |
| $5,000-20,000 | 3-5 |
| $20,000-100,000 | 5-10 |
| $100,000+ | 10-20 |
These limits apply across all strategies. If you're running 3 strategies with a $10,000 account, consider 2 positions per strategy maximum.
VPS Requirements
Your EA needs to run 24/5. A VPS (Virtual Private Server) keeps MT5 running when your computer is off.
Minimum specs: - 1 CPU core - 1-2 GB RAM - Windows Server or Windows 10 - Located close to your broker's server (New York, London, or Tokyo)
Recommended providers: Amazon Lightsail, Vultr, ForexVPS, BeeksFX
Cost: $10-25/month for a basic VPS suitable for running 1-2 MT5 instances.
FAQ
Should I use the same settings for all pairs? No. Each pair has different volatility, spread, and behavior. At minimum, adjust SL and TP based on the pair's typical daily range. Gold needs completely different settings from EUR/USD.
How often should I change settings? Rarely. If your strategy is well-designed, settings should stay constant for weeks or months. Changing settings after every losing trade is a sign of over-optimization and emotional decision-making.
Can I optimize settings automatically? TradingView's Strategy Tester lets you optimize Pine Script strategy parameters. Find settings that work well across multiple timeframes and conditions — not just the best-performing single backtest.
Configure your EA settings once, trade automatically forever. iNakaTrader supports all parameters via webhook — SL, TP, trailing stop, breakeven, and 4-level partial TP.
Risk Disclaimer: Trading forex and other financial instruments involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results. Only trade with capital you can afford to lose. iNakaTrader provides signal execution tools, not financial advice.