Build Reality
The honest 4-phase timeline — from strategy idea to live deployment. With realistic time estimates for coders, non-coders, and everyone who has ever thought "how hard can it be?"
Interactive Tool
Estimated Build Time
18 weeks
Long road — consider buying a proven EA while you build skills
Consider running a proven EA while you build — so your account grows while your skills do.
When traders ask how long it takes to build an EA, they are picturing the visible tip: writing code in MetaEditor until the EA compiles and places trades. That part — Phase 2 — is genuinely achievable in weeks for an experienced coder. The problem is the 80% below the waterline that nobody talks about: the strategy design that has to happen first, the testing that has to validate it, and the forward testing period that cannot be compressed by effort.
The iceberg below the waterline is Phases 1, 3, and 4. These phases cannot be parallelised, cannot be skipped, and cannot be accelerated by working harder. Phase 1 requires clear thinking that comes from experience. Phase 3 requires running data through the Strategy Tester — which takes wall clock time. Phase 4 requires living through 30+ days of real market conditions on a demo account before you have enough evidence to trust live deployment.
The developers who finish fastest are not the fastest coders. They are the traders who spent the most time on Phase 1 before touching MetaEditor. As one principle in software engineering generalises: every hour spent on clear specification saves three in debugging. For EA development, this ratio is if anything conservative.
Most traders think the challenge of building an EA is coding. The actual challenge is knowing what to code. Phase 1 — strategy design — is where the majority of total build time is ultimately decided, even if it does not feel like active development. Traders who complete a five-page strategy document before writing a single line of MQL5 consistently finish their EAs in 30–50% of the time compared to those who define the strategy as they code.
The strategy document must be specific enough that a stranger could code it without asking you a question. "Buy when price is bullish" is not a strategy — it is a direction. "Open a long order when the M1 close is above the 20 EMA and the current candle body is larger than the 10-period ATR and the current time is between 07:00 and 10:00 GMT" is a strategy. The difference matters because every ambiguity in the strategy definition becomes a debugging problem in Phase 2.
What belongs in a Phase 1 strategy document: the exact entry trigger (all conditions, all timeframes), the exact SL calculation (fixed pip value, ATR multiple, or structural reference), the exact TP target or exit signal, the session window (with explicit timezone and whether news events are filtered), the risk per trade as a percentage of account balance, and the maximum daily drawdown limit that causes the EA to stop trading for the day.
If you cannot answer each of those in writing before you code, you are not ready to code. Learning to answer them is Phase 1 — and for beginners, that phase alone takes 30–60 days of honest market study. For avoiding the painful re-learning on your own, our guide on avoiding overfitting during backtesting covers exactly how the strategy definition phase protects you from the most expensive Phase 3 mistake.
MQL5 is a C++-style language. If you have never coded before, expect 3–6 months before you can write an EA that compiles without errors and executes basic trade logic. If you have experience in another language (Python, JavaScript, C#), expect 4–8 weeks to reach the same point. If you are hiring a developer, the code itself can be written in 2–6 weeks for a well-specified strategy.
The most common first-build pitfalls in Phase 2: not understanding the difference between OnTick() and OnBar() events (tick-level logic placed in a candle-level function produces chaotic over-trading), implementing position sizing as a fixed lot size rather than a percentage of equity (the lot size never adjusts as the account grows or shrinks), and forgetting the spread filter (the EA fires into 40-pip spreads during news events when conditions are technically met but execution is terrible).
Hiring a developer does not skip the strategy phase. This is the most expensive misconception in EA development. If you hire a developer and say "build me a profitable XAUUSD EA," you will receive whatever they decide to build — an EA that may have a beautiful codebase and a completely unvalidated strategy. The developer's job is to translate your specification into code. Your job is to create and validate the specification. No developer can do that for you.
Whether you can build your own XAUUSD EA at all is the prior question — our honest skills assessment for building your own EA walks through the exact prerequisites and helps you decide whether the build path is right for your situation.
Backtesting is faster than forward testing — you can compress 3 years of historical data into hours in Strategy Tester. But optimisation — running hundreds of parameter combinations to find the "best" settings — is where many developers spend months going nowhere. The Strategy Tester's optimisation tab makes it easy to run 10,000 parameter combinations and find a setting that produced 800% return in backtest. That setting is almost certainly curve-fitted and will fail in live trading.
The correct approach to Phase 3 is minimal optimisation: test with the default parameters your strategy design specified. If the results are directionally consistent with your expectations (right profit factor, right trade frequency, right drawdown magnitude), the EA logic is sound. If not, the logic has an issue — not the parameters. Only optimise parameters once the base logic is confirmed to work correctly.
Phase 3 realistically takes 4–8 weeks when done correctly — two weeks of initial backtesting across multiple time periods, two weeks of refining the logic based on results, and two weeks of verification testing on out-of-sample data you deliberately held back from your optimisation period. Traders who try to compress this phase typically spend more total time on it because they discover Phase 4 failures that require returning to Phase 3.
Thirty days is the minimum forward test period before live deployment — and it is not enough. A single month of demo trading captures one market condition: whatever volatility regime and directional trend happened to exist in those 30 days. For a XAUUSD EA, that might be a strong uptrend month, a ranging consolidation month, or a news-event-heavy month. Any one of these alone does not validate your EA across conditions.
The standard professional recommendation is 3 months of forward testing before committing real capital. This captures multiple market conditions and gives you enough trade sample size (typically 90–200 trades for a daily-trading EA) to evaluate performance with statistical confidence rather than anecdote.
Live deployment itself involves: setting up a VPS so the EA runs 24/5 without your computer being on, selecting and configuring the broker (spread, execution speed, and minimum lot size all matter for EA performance), and starting with micro lots for the first 30 days on the live account to catch any execution differences between demo and live before scaling.
The question of how much it costs to have someone else build this versus doing it yourself is explored in our cost of hiring vs building guide. And if you decide the MQL5 path is not for you, our no-code EA paths guide covers the four alternatives that skip the programming phase entirely.
This is not a binary choice — many serious traders do both. But understanding where the time investment goes in each path makes the decision clearer:
Build Your Own
Time to live: 12–36 months to live deployment
What you get: Complete understanding of logic, full control, proprietary edge potential
Real cost: 500–2,000+ hours of your time + VPS + data subscriptions
Buy a Proven EA
Time to live: 1–5 days to live deployment
What you get: Immediate deployment of tested, live-verified logic with developer support
Real cost: One-time purchase price + VPS (no profit share, no ongoing cut)
The build path suits traders for whom the process of developing trading systems is itself the goal. The buy path suits traders whose goal is returns from automation as efficiently as possible. Neither is wrong — they answer different questions. The mistake is choosing the build path because you think it is cheaper (it is almost never cheaper in time terms) or the buy path because you think it requires no understanding (it requires enough understanding to configure, monitor, and evaluate an EA correctly).
A deployed EA is not a finished project. It is a live system operating in a continuously changing market environment. What ongoing maintenance looks like: monthly performance review comparing live results to backtest benchmarks, periodic spread filter adjustment as broker conditions change, and assessment of whether significant market regime changes (a year-long trend reversal, extended low-volatility periods) require parameter adjustments.
How often you should update the EA is a separate question from how often you should check on it — our guide on when a gold EA needs updating covers the 4 legitimate triggers versus the 3 illegitimate ones (impatience being the most common illegitimate trigger).
The ongoing maintenance burden for a well-designed EA is low — typically 30–60 minutes per month. But it never reaches zero. EAs that are never reviewed tend to drift: broker conditions change, market structure evolves, and the edge that existed in the original design weakens. The builders who treat deployment as the end of the project almost invariably see performance decay faster than those who treat it as the beginning of the monitoring phase.
For those committed to the build path, three resources cut meaningful time off the timeline:
MQL5.com Community
The official MQL5 community forum has 20+ years of discussions, code examples, and solved problems. Almost every common MQL5 challenge has been asked and answered. Before writing any block of code, search the forum first — the existing solution is usually better than what you would write from scratch.
MT5 Built-In Example EAs
MetaEditor ships with 15+ example EAs in the Experts folder. These are professionally written, well-commented, and cover the most common patterns (trend following, breakout, moving average crossover). Reading and modifying an example EA is faster than writing from scratch and teaches correct MQL5 patterns at the same time.
Strategy Definition Template
Before coding, write your strategy in a structured template: entry conditions, exit conditions, SL method, TP method, session filter, spread filter, risk formula, maximum daily trades. The template forces completeness. Any blank field is a decision that has not been made — make it before you code it.
Common Questions
Continue Reading
Why over-optimised EAs fail live — and how to test for it
Read guide →The cost of hiring vs the cost of building yourself
Read guide →The honest skills assessment for building your own EA
Read guide →The 4 no-code paths if you want to skip MQL5 entirely
Read guide →Using a purchased EA vs building one — what is actually needed
Read guide →How to maintain an EA after you have built and deployed it
Read guide →Goldie Sniper, Goldie Razor V2 and V2.8.4, Blind Sniper, and Hybrid Scalper. Full suite for every market condition.
Not sure which EA fits your account size or trading style? Email us and we will help you choose.
Pro-Scalper EA Range
Session breakout · M1 · London & NY
High-frequency session breakout capturing London open and NY session momentum on the M1 timeframe.
Range breakout · M15 · H4 EMA filter
M15 range breakout with H4 200 EMA trend filter, 6-level trailing stop, and failed-breakout recovery.
H1 range breakout · proven track record
The original Goldie Razor — H1 breakout strategy with a long live track record on XAUUSD.
Triple-confirmation · low frequency
Low-frequency sniper requiring triple signal confirmation — fewer trades, higher per-trade selectivity.
Manual entry · automated exits
You control entries; the EA manages exits, trailing stops, and position management automatically.
Full Pro-Scalper suite
All five Expert Advisors at a bundle price — cover every market condition and trading style.
Goldie Razor V2.8.4
M15 breakout + H4 EMA filter — built for XAUUSD on MT5