EURUSD Scalping EA MT5 — No Code

EURUSD M5 SMA Golden/Death Cross, hasSpread 0.01, London/NY session, tight stops, Strategy Tester Every tick — symbol-specific scalping build.

📖 7 min read

📝 1,231 words

🏷️ MQL5 and Expert Advisors

Share this article:

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 [1] → 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:

GuideYou learn
Scalping EA MT5Spread, Every tick, OnTick basics
Scalping EA — No CodeSame 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.

ReasonDetail
LiquidityAmong the most traded FX pairs — tight spreads on ECN brokers during London/NY
Tick dataWidely available for Strategy Tester quality checks
DocumentationMost 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 [1] · MQL5 OnTick [2] · SymbolInfoInteger spread [3] (what exported EAs read at runtime).


Starter Recipe: M5 SMA Cross With Filters

ComponentSettingTab / step
Fast/slow MA crossSMA Golden Cross / Death Cross, Period 10 (slow 20)Step 3, M5
Spread caphasSpread, maxSpread 0.01Step 4, Liquidity
SessionisActive: London + New YorkStep 4, Market Session
RiskTight SL, small lotStep 5
SignalRule
BuyM5 SMA Golden Cross when spread OK + session active
SellM5 SMA Death Cross when spread OK + session active

SMA and Liquidity Parameters in Strategy Builder

SMA (Step 3)

ParameterRangeDefaultEURUSD recipe
Length2 – 20020Use Golden/Death Cross Period 10 (not Length alone)
SourceClose, Open, High, LowCloseClose
Offset-500 – 50000

Liquidity Filters (Step 4)

ParameterRangeNotes
maxSpread (hasSpread)0 – 0.1 decimal0.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)

ParameterEURUSD scalping
sessionLondon, NewYork
timezoneGMT or UTC (stay consistent with broker)
isActive sessionsLondon + New York

Condition Types: SMA, Liquidity, and Session

SMA — Golden Cross / Death Cross

FieldRangeStarter
Period1 – 10010 (implies slow MA 20 for Golden/Death Cross)
Confirmation1 – 101

Full SMA condition list: MA Crossover EA — No Code.


Liquidity — hasSpread

FieldStarter for EURUSD
maxSpread0.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

FieldStarter
sessionsLondon, New York
confirmation1

Avoid 24/7 entries on M5 — Asian EURUSD ranges often chop MA crosses.


EURUSD Spread and Tester Settings

Tester settingRecommendation
SymbolEURUSD only
PeriodM5
ModelEvery tick based on real ticks (or Every tick)
SpreadSet fixed or current spread ≥ your broker’s typical M5 average — not zero
DatesInclude London/NY sessions in sample

Validation loop:

  1. Backtest with hasSpread 0.01.
  2. If zero trades, check spread modeling — not just “bad strategy.”
  3. 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)

  1. Tab Buy → M5.
  2. SMA — Length 10 (for cross math), Source Close.
  3. Condition Golden Cross — Period 10, Confirmation 1.

Step 3 — Sell (M5)

  1. Tab Sell → M5.
  2. Death Cross — Period 10, Confirmation 1.

Step 4 — Filters

  1. Liquidity Filters → hasSpread → maxSpread 0.01.
  2. Market Session → isActive → sessions London, New York.

Step 5 — Risk

SettingEURUSD M5 hint
Stop Loss8–15 pips starter (broker stop level permitting)
Lot0.01 Demo
Take ProfitOptional 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.


Tactix AI on this workflow

AlfaTactix includes Tactix AI: use Tactix Studio to describe your idea in plain language and draft timeframes, signals, filters, and risk into the same six-step Strategy Builder form — or open Tactix Guide on any step when you only need a field explained. Review every value, then export MQL5 or Pine Script from Code Generator (form-first — not untested prompt-to-code).

Next Steps

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 [4] · iMA [5].

Frequently Asked Questions

Yes. After reading scalping concepts, use Strategy Builder on M5: SMA Golden Cross buy and Death Cross sell (Period 10), Step 4 Liquidity hasSpread maxSpread 0.01 and Market Session London/New York, export MQL5, backtest EURUSD M5 with Every tick.

The generic scalping no-code article applies to any major pair. This guide fixes the symbol to EURUSD — spread decimals, tester symbol, and pip examples are EURUSD-specific.

Builder uses decimal spread. Start maxSpread 0.01 (often ~1 pip on many EURUSD brokers). If the tester shows zero trades, loosen to 0.015 after modeling realistic spread in Strategy Tester settings.

This recipe uses M5 for cleaner signals. M1 is possible but noisier — always use Every tick and validate on Demo.

Spread widening, slippage, and tick quality. See Strategy Tester vs Live and Error 10016 for tight stops.

No. Educational template only — not financial advice.

References

  1. MetaQuotes. MetaTrader 5 Built-in Trading Strategy Tester. https://www.metatrader5.com/en/automated-trading/strategy-tester
  2. MetaQuotes, MQL5 Reference. OnTick. https://www.mql5.com/en/docs/event_handlers/ontick
  3. MetaQuotes, MQL5 Reference. SymbolInfoInteger. https://www.mql5.com/en/docs/marketinformation/symbolinfointeger
  4. MetaQuotes, MetaTrader 5 Help. Strategy Testing. https://www.metatrader5.com/en/terminal/help/algotrading/testing
  5. MetaQuotes, MQL5 Reference. iMA. https://www.mql5.com/en/docs/indicators/ima

AlfaTactix is a no-code strategy builder for MetaTrader 5 (MQL5) and TradingView (Pine Script) traders who design and manage rule-based strategies.

Trading involves substantial risk of loss. AlfaTactix generates code from the rules you define and does not provide financial advice. Past or backtested performance does not guarantee future results.

© 2026 AlfaTactix. All rights reserved.