Opening — Who this article is for and what it solves
You are a retail forex trader or a developer hunting for no-cost Expert Advisors (EAs). You want tools to test, learn from, or run on MT4 or MT5. This article saves you time. It lists practical ea forex free options and ready-to-run robots. It explains where each tool shines. It shows exact contexts to use each one: timeframe, asset, platform. Expect concrete settings, numbers, and test steps. Follow the guide to pick the right free EA in minutes. Avoid common pitfalls like hidden risk, missing stop-loss, or unsuitable timeframes. Get a clear next-step checklist for testing and deployment.
Quick Answer / TL;DR — Fast takeaways before the deep dive
- If you want risk-based position sizing → use Position Sizer (free, integrates with MT4/MT5; set risk as % per trade, e.g., 1%).
- If you want documented, open-source strategies → use EarnForex EA Library (includes multi-decade backtests and parameter lists).
- If you want source code to learn or modify → browse MQL5 CodeBase (3,000+ free items with visible code).
- If you want ready-to-run free robots to compare and download → use the MQL5 Market free section (many free entries; install in 1–2 minutes).
What We Looked For — evaluation criteria for the list
- Transparency: prefer open-source EAs or those with published backtests. Require at least 1 backtest report per EA and ideally 10,000+ bars of history for the test.
- Platform support: list MT4 and MT5 compatibility explicitly. Favor tools that support both platforms or clearly state MT4-only or MT5-only.
- Practicality: usable timeframes and symbol coverage. Check for defaults like H1, M15, M30 and assets such as EURUSD, XAUUSD, GBPUSD.
- Safety controls: require at least 1 safety parameter like stop-loss, max drawdown, or risk-percent per trade. Prefer EAs with 0.1%–5% risk range inputs.
- Ease of testing: include downloadable EX4/EX5 or MQ4/MQ5 and simple parameter lists. Ensure a demo run is possible in under 30 minutes.
Use these criteria to filter ea forex free options fast. Test on demo with at least 10,000 ticks or 30 days of forward testing before deploying live.
1. Position Sizer — free risk-based trade-sizing tool
Position Sizer is a utility script or EA that converts a chosen risk percentage into exact lot size. It calculates lots from stop-loss distance in pips and desired risk as percent of equity. Set risk to 1% with a 30-pip stop-loss and it returns the lot size that matches that risk. Run it on MT4 or MT5; it supports both platforms and both account types (standard and micro).
It stands out because it decouples sizing from entries. Use it with any entry logic or with manual orders. Combine it with 1–5% risk per trade for consistent sizing. Expect outputs like 0.01, 0.05, 0.10, or 1.00 lots depending on account equity and stop distance. Use it as a risk gate before you send an order.
Follow this workflow: calculate lot size, verify stop-loss in pips, then send entry. Test on demo for 100 trades or 10,000 ticks before live use. Add a buffer of 0.01 lots for broker minimum increments.
Best for: traders who already have entry logic and need consistent risk control.
Skip if: you need a full trade-entry robot; this is sizing only.
Key points:
– Platform: MT4 / MT5 (both supported).
– Risk range: set risk from 0.1% to 5% per trade.
– Stop-loss input: specify in pips (examples: 30, 50, 100).
– Output: exact lot size to place (example range: 0.01–1.00 lots on micro accounts).
– Integration: use with manual orders or with signal EAs via a simple bridge.
Watch out for: incorrect pip-to-price conversion on exotic pairs. Verify pip value for 5-digit and 3-digit brokers.
2. EarnForex EA Library — curated open-source strategy collection
EarnForex EA Library is a curated set of free EAs with published descriptions and backtest visuals. The collection groups strategies into categories: mean reversion, trend following, and anti-persistence. Some EAs include long backtest spans, for example 20+ years of tick-equivalent history and multi-symbol tests. The library often provides default parameters and test windows.
It stands out for documentation. Many entries list parameter sets, test spans, and metrics like total gain, yearly return, and max drawdown. Use case: pick a PersistentAnti EA, apply the recommended settings, and run a 1-month forward demo after a 20+ year backtest. That chain gives you reproducible evidence instead of an unexplained file.
Expect to find 5–20 EAs per category, all free to download. Platforms listed per EA include MT4, MT5, or both. Some EAs include source code or MQ4/MQ5 files you can inspect.
Best for: traders who prefer documented strategies and reproducible backtests.
Skip if: you require plug-and-play commercial support or warranty.
Key points:
– Access: free downloads; some with visible source code.
– Backtest span: some EAs include 20+ years of data in reports.
– Categories: 3 main types (mean reversion, trend, anti-persistence).
– Platforms: MT4 and MT5 listed per EA.
– Recommended test: run 1 month demo forward after a long backtest.
Watch out for: backtests that use idealized tick generation. Always forward-test for at least 30 days or 10,000 ticks.
3. MQL5 CodeBase — learn by inspecting working source code
MQL5 CodeBase hosts thousands of free scripts, indicators, and EAs with visible source code. Download an MQ4 or MQ5 file, open it in the MetaEditor, and study logic line-by-line. You will find simple EAs like moving-average crossover, and complex examples with 100+ lines of logic. Use it to learn MQL, copy reliable building blocks, or adapt a basic EA into your own strategy.
It stands out because you can verify every rule in plain code. Use case: take a 10/50 moving-average crossover EA, change fast/slow periods to 8/34, and add a fixed 50-pip stop-loss. Compile and run a quick backtest for 10,000 ticks or 10,000 bars on a demo chart. Expect to prototype in 1–2 hours.
This repository lists file counts and ratings. Browse by category or search by keyword ea forex free. Many code samples include comments and parameter lists. Use them to learn position-sizing, order-management, and trailing logic.
Best for: developers and traders who want to audit or customize algorithms.
Skip if: you want a ready-made commercial robot with vendor support.
Key points:
– Access: free source code downloads; MQ4/MQ5 files.
– File count: thousands of entries; 3,000+ is common.
– Platforms: both MT4 and MT5 code available.
– Prototype time: often 1–2 hours to edit and compile.
– Recommended test: 10,000 ticks or 10,000 bars to validate changes.
Watch out for: experimental or poorly commented code. Test extensively for at least 100 trades.
4. MQL5 Market — free section for ready-to-run robots
MQL5 Market free section lists ready-to-run EAs you can install directly from the MT4/MT5 terminal. Free items range from simple utility EAs to full trading robots. Each entry often includes a demo download button, user comments, and backtest screenshots. Install in 1–2 minutes and run a backtest for 5,000 ticks.
It stands out for convenience. Use it to compare multiple free robots and install them directly via the Market tab. Use case: download a free Gold Zone EA that supports XAUUSD and EURUSD, run it on H1 for 10,000 bars of history, then perform a 30-day forward demo test. Expect to find free EAs covering 3–10+ symbols and default timeframes like H1, M30, or M15.
User ratings and comment counts give real feedback. Some free EAs are labeled “still in development” and carry warnings. Check the number of downloads and comments before testing.
Best for: traders who want plug-and-play robots with minimal setup.
Skip if: you require full source code or deep transparency.
Key points:
– Accessibility: install via MT4/MT5 Market tab in 1–2 minutes.
– Symbol support: many free EAs list 3–10+ supported symbols.
– Timeframes: common defaults include H1, M30, M15.
– Testing: run a 5,000-tick or 10,000-bar backtest, then 30 days demo.
– Price: free entries; paid upgrades may exist.
Watch out for: beta labels and small comment counts. Avoid live trading until you pass 30 days demo.
5. Gold Crab Robot (Free) — XAUUSD specialist with 3 signal sets
Gold Crab is a free EA tailored for XAUUSD on the H1 chart. It combines three distinct signal sets and various indicators to produce entries. The package often includes hedging options and parameter lists. Vendor reports show backtest visuals with metrics like total gain, yearly average, monthly return, and max drawdown.
It stands out as a commodity-focused robot rather than a generic forex pair EA. Use it on XAUUSD with a minimum lot of 0.01 and a cautious equity risk cap of 0.5% per trade. Run a 10,000-bar backtest to observe behavior in both low-volatility and high-volatility sessions. Expect drawdown swings; configure a max drawdown stop at 10% or lower.
Gold Crab includes adjustable parameters for hedging, signal sensitivity, and take-profit levels. Use its three signal sets separately to compare performance. Run A/B tests: signal set A vs B for 5,000 trades or 10,000 ticks.
Best for: traders focused on XAUUSD with small initial capital.
Skip if: you need an EA that targets forex majors only.
Key points:
– Asset focus: XAUUSD only (primary).
– Timeframe: H1 default; test also on H4 for trend confirmation.
– Signals: 3 signal sets to choose from.
– Minimum lot: often 0.01; check broker minimum.
– Risk example: set equity risk cap to 0.5% per trade; set max drawdown stop to 10%.
Watch out for: hedging can increase exposure. Cap total open positions at 3–5.
Comparison table
| EA / Robot | Platform | Best timeframe | Asset(s) | Price |
|---|---|---|---|---|
| Position Sizer | MT4 / MT5 | Any; manual entries | All FX pairs | $0 |
| EarnForex EA Library | MT4 / MT5 (per EA) | H1, H4, M15 (varies) | EURUSD, GBPUSD, XAUUSD | $0 |
| MQL5 CodeBase (examples) | MT4 / MT5 | M15, H1, H4 | All symbols (per file) | $0 |
| MQL5 Market (free section) | MT4 / MT5 | M15, M30, H1 | EURUSD, XAUUSD, BTCUSD (varies) | $0 |
| Gold Crab (Free) | MT4 / MT5 | H1 | XAUUSD | $0 |
Closing — Next steps for testing and deployment
Test in a methodical way. Run two types of tests: backtest and forward demo. Backtest at least 10,000 bars or 10,000 ticks. Forward-test on demo for at least 30 days or 1,000 trades, whichever comes first. Use two account sizes for realism: a micro account with $100 and a standard demo with $1,000. Run parameter sensitivity checks across 5 values per key input.
Follow this checklist:
1. Install the EA or script and verify platform compatibility (MT4 or MT5).
2. Run a backtest for 10,000 bars or 5,000–10,000 ticks.
3. Run a forward demo for 30 days or 1,000 executed trades.
4. Set risk parameters: 0.1%–1% per trade, max drawdown stop at 5%–10%.
5. Review metrics: total gain, yearly return, monthly average, max drawdown.
Deploy gradually. Start with 0.01 lots or 10% of your planned live lot size for 30 days. Increase live exposure by 2x only after meeting performance goals: target monthly growth 1%–5% and max drawdown under 10%. Use a VPS if you need 24/7 uptime. Expect to iterate across 3–5 parameter sets before finding a reliable configuration.
Watch out for: over-optimizing to backtests. Limit parameter tuning to 3–5 meaningful changes. Keep at least one safety control per EA, for example a stop-loss and a max-equity-loss trigger.
Final action items
– Download the ea forex free tools you want to try.
– Run at least one 10,000-bar backtest and one 30-day demo.
– Use Position Sizer to enforce consistent risk like 1% per trade.
– Log results: track total gain, monthly average, and max drawdown for 3 separate runs.
Test, compare, and then scale slowly. Your risk control and testing discipline matter more than chasing a single “perfect” free robot.