EURUSD Scalping EA for MT5 — No Code
Can I build a EURUSD scalping EA for MT5 without coding?
Read Scalping EA in MetaTrader 5 first (spread + Every tick). Open Strategy Builder → symbol mindset EURUSD → Step 3 on M5: SMA Golden Cross (Buy, Period 10) and Death Cross (Sell, Period 10) → Step 4: Liquidity Filters hasSpread maxSpread 0.01 + Market Session isActive (London, New York) → Step 5 tight Stop Loss → Save → export from Code Generator → Strategy Tester → M5 EURUSD · Every tick.
Disclosure: Educational build guide — not financial advice. EURUSD scalping is spread-sensitive; backtest ≠ live.
Related guides: Scalping EA (concepts) · Scalping EA — No Code (generic) · MA Crossover EA · MT5 Error 10016 · Strategy Tester vs Live · EA Strategy Library
What you leave with: EURUSD-specific maxSpread starter values and a spread sanity worksheet — so you know whether the tester or the broker killed the edge.
Read Scalping Concepts First
This article is the EURUSD-specific build walkthrough. The theory lives here:
| Guide | You learn |
|---|---|
| Scalping EA MT5 | Spread, Every tick, OnTick basics |
| Scalping EA — No Code | Same M5 MA recipe for any major — compare after you finish this EURUSD version |
Do not skip spread and tester modeling — they matter more on EURUSD M5 than on H1 swing systems.
Why EURUSD for Scalping EAs?
Picture a green M5 backtest on EURUSD: 400 trades, steady slope. You go Demo. After NFP, spread on your panel reads 2.4 pips while the tester assumed 0.6. The MA cross still "works" — your friction changed. That is the EURUSD scalping story in one sentence: liquidity helps, spread timing decides.
| Reason | Detail |
|---|---|
| Liquidity | Among the most traded FX pairs — tight spreads on ECN brokers during London/NY |
| Tick data | Widely available for Strategy Tester quality checks |
| Documentation | Most scalping tutorials use EURUSD examples — easy to sanity-check your tester stats |
Not a promise of edge: High liquidity only means lower friction — not guaranteed profit. Success = realistic tester → Demo → controlled live risk.
Official references: MetaTrader 5 Strategy Tester · MQL5 OnTick · SymbolInfoInteger spread (what exported EAs read at runtime).
Starter Recipe: M5 SMA Cross With Filters
| Component | Setting | Tab / step |
|---|---|---|
| Fast/slow MA cross | SMA Golden Cross / Death Cross, Period 10 (slow 20) | Step 3, M5 |
| Spread cap | hasSpread, maxSpread 0.01 | Step 4, Liquidity |
| Session | isActive: London + New York | Step 4, Market Session |
| Risk | Tight SL, small lot | Step 5 |
| Signal | Rule |
|---|---|
| Buy | M5 SMA Golden Cross when spread OK + session active |
| Sell | M5 SMA Death Cross when spread OK + session active |
SMA and Liquidity Parameters in Strategy Builder
SMA (Step 3)
| Parameter | Range | Default | EURUSD recipe |
|---|---|---|---|
| Length | 2 – 200 | 20 | Use Golden/Death Cross Period 10 (not Length alone) |
| Source | Close, Open, High, Low | Close | Close |
| Offset | -500 – 500 | 0 | 0 |
Liquidity Filters (Step 4)
| Parameter | Range | Notes |
|---|---|---|
| maxSpread (hasSpread) | 0 – 0.1 decimal | 0.01 starter for EURUSD (~1 pip on many brokers) |
UI helper text in product: typical 0.01 = 1 pip for EURUSD.
Market Session (Step 4)
| Parameter | EURUSD scalping |
|---|---|
| session | London, NewYork |
| timezone | GMT or UTC (stay consistent with broker) |
| isActive sessions | London + New York |
Condition Types: SMA, Liquidity, and Session
SMA — Golden Cross / Death Cross
| Field | Range | Starter |
|---|---|---|
| Period | 1 – 100 | 10 (implies slow MA 20 for Golden/Death Cross) |
| Confirmation | 1 – 10 | 1 |
Full SMA condition list: MA Crossover EA — No Code.
Liquidity — hasSpread
| Field | Starter for EURUSD |
|---|---|
| maxSpread | 0.01 (raise to 0.015 only after tester proves too few trades) |
Why it matters: EURUSD spread can jump to 2–3+ pips on news — scalping EAs without spread filters often look profitable in idealized backtests.
Market Session — isActive
| Field | Starter |
|---|---|
| sessions | London, New York |
| confirmation | 1 |
Avoid 24/7 entries on M5 — Asian EURUSD ranges often chop MA crosses.
EURUSD Spread and Tester Settings
| Tester setting | Recommendation |
|---|---|
| Symbol | EURUSD only |
| Period | M5 |
| Model | Every tick based on real ticks (or Every tick) |
| Spread | Set fixed or current spread ≥ your broker’s typical M5 average — not zero |
| Dates | Include London/NY sessions in sample |
Validation loop:
- Backtest with hasSpread 0.01.
- If zero trades, check spread modeling — not just “bad strategy.”
- Forward test on Demo — compare live SymbolInfoInteger spread vs tester.
Strategy Tester vs Live · Common MQL5 EA Errors.
Tight stops: Scalping + small SL → MT5 Error 10016 Invalid Stops.
Build the EURUSD Scalping EA Step by Step
Step 1 — Name
EURUSD M5 Scalp MA Cross
Step 2 — Timeframes
Enable M5 only (single-TF starter).
Step 3 — Buy (M5)
- Tab Buy → M5.
- SMA — Length 10 (for cross math), Source Close.
- Condition Golden Cross — Period 10, Confirmation 1.
Step 3 — Sell (M5)
- Tab Sell → M5.
- Death Cross — Period 10, Confirmation 1.
Step 4 — Filters
- Liquidity Filters → hasSpread → maxSpread 0.01.
- Market Session → isActive → sessions London, New York.
Step 5 — Risk
| Setting | EURUSD M5 hint |
|---|---|
| Stop Loss | 8–15 pips starter (broker stop level permitting) |
| Lot | 0.01 Demo |
| Take Profit | Optional 1:1 or exit on opposite cross |
Step 6 — Save & export
Code Generator → compile F7 → tester EURUSD M5.
Export, Compile, and Backtest
Production-Ready MQL5 Without MetaEditor · Backtest EA guide.
VPS optional for low-latency live scalping: VPS for Expert Advisor.
Trader-Reported Themes (Forums)
On r/Forex and r/algotrading, recurring themes include:
- EURUSD scalpers report spread at news as the #1 live vs backtest gap.
- Every tick vs 1 minute OHLC in tester changes M5 results dramatically.
- 10016 invalid stops when SL is inside broker STOPS_LEVEL — especially on 5-digit brokers.
Next Steps
- London Session Breakout EA — H1 breakout + London filter
- Stochastic + MA EA — confluence instead of pure MA cross
- Build EA Without Coding
Five-minute spread sanity check: In Market Watch, note EURUSD spread at London open, NY open, and one red-news hour. Write the three numbers. In Strategy Tester, set spread to the worst of the three (not zero). If the EA still trades, open the live demo and add hasSpread maxSpread 0.01 on Step 4 — watch whether blocked hours match the moments you would have manually skipped. That match is worth more than another "scalping secrets" video.
References: Strategy Tester help · iMA.