Expert Advisors (EA) — automated trading in MT4/MT5

Risk warning · YMYL This article is for educational purposes only and is not investment advice. Trading on the Forex market involves a high risk of capital loss — ESMA reports 74–89% of retail accounts lose money.

YouTube ad: "EA with 95% win rate, $200 one-time, automatic profit while you sleep!". You buy. Works 2 weeks, +20%. "Wow!". Week 3 -50%. Week 4 -80%. Account destroyed. Here\'s why typical and how to avoid.

What is EA

Expert Advisor (EA) = automated trading robot written in MQL4 (MT4) or MQL5 (MT5). Executes strategy 24/5 — opens, modifies, closes positions per algorithm. Works without emotions, without breaks, without decision fatigue.

Pros vs cons

EA pros

  • No emotions (no tilt, no revenge trading)
  • 24/5 execution (Asia session coverage) — EA manages orders server-side, SL and TP work even with the platform closed
  • Backtest possible
  • Consistency (always same plan)
  • No time commitment (after setup)

EA cons (critical)

  • 90% free EAs = scam (backtest overfit)
  • Premium ($200-2000) = better, but still 70% don\'t work after year
  • Requires programming (or purchase)
  • Broker risk (slippage, requote)
  • Market regime change → EA stops working
  • Won\'t teach you trading

Why most EAs lose

3 reasons EAs lose:

  1. Overfitting — EA optimized on backtest fits past data perfectly. Live doesn\'t fit, loses.
  2. Curve fitting — programmer adjusts parameters to 95%+ win rate. Scam signal.
  3. Market regime change — EA from 2020 (trending market) doesn\'t work in 2023 (ranging market).

Real EA test

  1. Backtest 5+ years in MT5 Strategy Tester (real ticks) — the choice between Forex Tester and the built-in MT Strategy Tester depends on your budget and required data precision
  2. Optimization with caution — 100+ trades minimum, no curve fitting
  3. Forward test demo — 1-3 months real data
  4. Live small position 0.01 lots for 1-3 months
  5. Live normal size only after consistency

Total process: 6-12 months. Skipping = money loss.

Where to buy EA

  • MQL5 Market (official MetaQuotes) — safest, MetaQuotes verifies
  • FX-On, StrategyQuant — reputable third-party
  • Telegram, Reddit, Forum — AVOID, scam risk extreme

Better alternative: write own EA

If you have strategy that works manual (6+ months live with journal), plan automation:

  1. Learn MQL5 (3-6 months) or C# for cAlgo
  2. OR hire programmer for EA based on your strategy ($500-2000)
  3. Test 6-12 months
  4. Live

Only path that really works. Marketplace EA = lottery.

Practical recommendation

  1. Beginner (< 1 year) — ZERO EA. Learn manual trading.
  2. Intermediate (1-3 years) — can test EA on demo, NOT live
  3. Advanced (3+ years) — own EA based on proven strategy
  4. Pro algotrader — multiple EAs, portfolio approach

EA is tool for advanced traders. Beginner buying EA = beginner losing money. That simple.

Jarosław Wasiński
About the author

Jarosław Wasiński

Editor-in-chief at MyBank.pl · Financial and market analyst

Independent analyst and practitioner with 20+ years in finance. Founder and editor-in-chief of MyBank.pl, running since 2004. Fundamental analysis of FX and macro markets since 2007.

Sources & bibliography

  1. MetaQuotes MQL5 Documentation · oficjalna dokumentacja MQL5 www.mql5.com ↗
  2. MQL5 Market EA Marketplace · oficjalny marketplace EA www.mql5.com ↗
  3. BabyPips Algorithmic Trading · edukacja algotradingu www.babypips.com ↗

Frequently asked

Why do 90% of EAs lose?

3 main reasons: (1) Overfitting — EA optimized on backtest fits past data perfectly. Live doesn't fit, loses. (2) Curve fitting — programmer adjusts parameters to achieve 95% win rate in backtest. Statistically improbable, overfit signal. (3) Market regime change — EA working in 2020-2022 trend doesn't work in 2023 range. Rule: EA with > 70% backtest win rate is usually scam. Real strategies have 50-60% win rate.

Where to buy EA?

Channels: (1) MQL5 Market (official MetaQuotes) — safest, MetaQuotes verifies. (2) FX-On, StrategyQuant, EA Forex Academy — third-party platforms. (3) Telegram, Forum, Reddit — high scam risk. Price: $50-300 free EA, $200-1000 premium, $1000-5000 enterprise. Rule: buy EA only if it has minimum 6 months live track record (not backtest). With 1 month live = still too early.

How to test EA before live?

Sequence: (1) Backtest in MT5 Strategy Tester — minimum 5 years data, real ticks. (2) Optimization — check various parameters, no overfit. (3) Forward test demo — 1-3 months on demo with real data. (4) Live small position — start with 0.01 lots for 1-3 months. (5) Live full size — when consistency visible. Total process: 6-12 months. Skipping = money loss.

Is EA for beginner?

NO. Beginner doesn't understand strategy, so can't distinguish good EA from scam. Education sequence: (1) Learn manual trading 1-2 years. (2) Identify own strategy that works. (3) Program own EA (or hire programmer for $500-2000). (4) Test 6-12 months. (5) Live. Skipping steps 1-2 = $$$ lost on senseless EAs. Most beginners lose $2-5k on EA scams in first year.

Go deeper · the complete guide