Synced with GitHub ยท updated today

Free MT4 & MT5 expert advisors

1,977 free, open-source expert advisors for MetaTrader 4 and 5, each linked to its source code on GitHub.

New EAs by RSS
14 EAs match Clear filters

EA31337 Libre

by EA31337
252 stars

EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 1 year ago GPL-3.0 GitHub repository of EA31337 Libre

DaxAlgo Trading Strategies

by dhruuvsharma
9 stars

This collection of MetaTrader 5 expert advisors focuses on order flow, microstructure, and scalping strategies. It includes tools for cumulative delta scalping, swing pivot fading, and bridging external signals from TradingView via file monitoring. The suite features robust risk controls such as daily loss and profit l

MT5 Collection ScalpingMean reversionTrend following

Autumn Harvest

by wait4signal
8 stars

Autumn Harvest is a multi-strategy MetaTrader 5 expert advisor incorporating technical patterns such as RSI reversals, peak reversals, and the ignored bar strategy. It functions as both an automated trading robot and a position manager, allowing it to maintain external trades or its own. The EA includes risk controls l

MT5 Trading robot Mean reversionTrend followingMulti-strategy
Updated 1 year ago GPL-3.0 GitHub repository of Autumn Harvest

Nolo Trading Bot

by festomanolo
4 stars

This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v

MT5 Trading robot Trend followingMean reversionBreakout High risk
Updated 6 months ago MIT GitHub repository of Nolo Trading Bot

Hercules MQL5 Library

by herculeshssj
4 stars

This repository contains a collection of MetaTrader 5 expert advisors and utility scripts. It includes a variety of automated strategies such as mean reversion, Dunnigan NRTR, and experiments with artificial intelligence. The library also features utility tools for Telegram integration, search functions, and signal das

MT5 Collection Mean reversionAI / machine learningIndicator crossover High risk Archived

SOEA Master

by bfforex
3 stars

This MetaTrader 5 robot employs a dual-strategy approach, switching between trend-following moving average crossovers and RSI-based mean-reversion depending on detected market regimes. It features an integrated walk-forward optimization system that loads optimized parameters from external files to adapt to changing vol

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 11 months ago MIT GitHub repository of SOEA Master
3 stars

This collection provides several MetaTrader 5 expert advisors and utility scripts developed for educational purposes. The primary advisor combines moving average crossovers with Relative Strength Index filters to identify entry points. It features standard risk management controls including fixed lot sizing, hard stop

MT5 Collection Indicator crossoverMean reversionMulti-strategy
2 stars

This MetaTrader 5 expert advisor focuses on institutional-style trading across forex, indices, and other assets. It utilizes market structure analysis, including liquidity sweeps and market structure shifts, to identify entries on a M15 timeframe guided by H1 trends. The robot categorizes market states into range, tren

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion

Oslib MT5 Collection

by marcoc68
2 stars

Oslib is an extensive repository of Expert Advisors and indicators for MetaTrader 5, encompassing various quantitative trading approaches. The collection includes statistical arbitrage robots that trade spreads between two correlated symbols, machine learning experts utilizing Support Vector Machines (SVM), and high-fr

MT5 Collection ArbitrageAI / machine learningMean reversion High risk
Updated 11 months ago GPL-3.0 GitHub repository of Oslib MT5 Collection
2 stars

This MetaTrader 5 expert advisor combines technical indicators with price action to automate trading decisions. It incorporates five individual strategies including EMA crossovers, candlestick engulfing patterns, and support or resistance breakouts. The system is specifically calibrated for the 30-minute timeframe and

MT5 Trading robot Indicator crossoverBreakoutMean reversion

AI Quant Strategy Lab

by Vinu-Kevin-Diesel
1 stars

This MetaTrader 5 framework provides a suite of expert advisors optimized for Gold trading using advanced signal processing. It employs a Hidden Markov Model to classify the market into five regimes, filtering entries based on current volatility and trend strength. The logic utilizes Gaussian IIR filters for lag-reduce

MT5 Collection Trend followingMean reversionAI / machine learning

Mean Reversion Gap EA

by Xtley001
1 stars

This MetaTrader 5 expert advisor implements a mean reversion strategy that identifies price gaps between fast and slow moving averages. It utilizes an ATR-based volatility filter to enter trades during low volatility periods and confirms entries with RSI momentum patterns. The system manages risk using fixed dollar amo

MT5 Trading robot Mean reversionMulti-strategy

Aiden

by Torabi-srh
1 stars

Aiden is a MetaTrader 5 expert advisor that utilizes a multi-indicator weighting system to determine market entries. It calculates trade signals by aggregating 'chances' from several technical indicators including ZigZag, Stochastic, Moving Average crossovers, Parabolic SAR, RSI, MACD, and Momentum. The EA manages risk

MT5 Collection Multi-strategyIndicator crossoverTrend following Archived
Updated 4 years ago MIT GitHub repository of Aiden
1 stars

This collection of MetaTrader 4 and 5 expert advisors provides various utilities for trade management and entry automation. The primary tool, Multi TP, monitors specific order tickets to execute partial closes and modify stop losses when price targets are hit. Additional scripts automate entries based on price action p

MT4MT5 Collection BreakoutMean reversionMulti-strategy

Learn how to use expert advisors

Free, plain-English guides: find an EA, install it, set it up, test it and run it safely.

  1. 1Types of EAsRobots, trade managers, copiers and risk tools, and what each is for.
  2. 2Using this librarySearch, filters, badges and what our checks do and do not mean.
  3. 3Install an EA in MT4 or MT5Data folder, compile, attach to a chart and switch on algo trading.
  4. 4EA settings explainedLot size, stop-loss, magic number, max spread and trading hours.
  5. 5Backtest in the Strategy TesterModelling, spread, the report and the over-fitting trap.
  6. 6Choose a safe EAA checklist for the code, the logic, the evidence and the fit.
  7. 7Run an EA 24/7VPS, forward testing on demo and going live small.
  8. 8Open-source EAs on GitHubLicences, compiling in MetaEditor and editing inputs safely.
  9. 9Forex robots: an honest guideWhat automation can and cannot do for you.

About the EA Library

The ForexR EA Library collects open-source expert advisors for MetaTrader 4 and MetaTrader 5 that are published on GitHub. Each entry links to the original repository, so you always get the author's latest code, issues and licence straight from the source. Star counts, last updates and licences are synced from GitHub every day, and new repositories are added every week.

Every repository is checked automatically before it is listed: it must contain readable MQL source code for a real expert advisor, and repositories that ship executables, hide downloads behind archive passwords or show signs of bought stars are left out. The summaries and tags are written automatically from each repository's README and code. They describe what an EA does; they are not a recommendation, and nothing here is tested or endorsed by ForexR.

Trading with expert advisors is risky. Backtest any EA and run it on a demo account before you trust it with real money. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.

EA Library FAQ

What is an expert advisor (EA)?

An expert advisor is a program that runs inside MetaTrader 4 or MetaTrader 5. It can open and close trades on its own, manage trades you opened (trailing stops, break-even, partial closes), protect the account, or connect MetaTrader to other tools such as Telegram or Python. EAs are written in MQL4 (MT4) or MQL5 (MT5).

Are the EAs in this library free?

Yes. Every EA listed here is published on GitHub with its source code, so you can read, download and compile it at no cost. Check each repository's licence before reusing the code in your own projects: some EAs state no licence at all.

Are these EAs safe to use?

ForexR lists only repositories with readable MQL source code and never hosts files. Repositories that ship executables, ask you to disable antivirus, hide downloads behind passwords or show signs of bought stars are left out automatically. That does not make any EA profitable or bug-free: read the code, backtest it in the Strategy Tester and run it on a demo account first.

How do I install an EA in MT4 or MT5?

Download the source from GitHub, open MetaTrader, choose File, then Open Data Folder, and copy the .mq4 (MT4) or .mq5 (MT5) file into MQL4/Experts or MQL5/Experts. Open it in MetaEditor and press Compile, then drag the EA from the Navigator onto a chart and allow algorithmic trading.

How does ForexR choose which EAs to list?

A crawler searches GitHub every week for MetaTrader repositories, reads their code and keeps those that contain a real expert advisor and pass the safety checks. Stars, updates and licences are refreshed from GitHub every day. Summaries are written automatically from each repository's README and code, so treat them as a guide and check the source.

What do "High risk", grid and martingale mean?

A grid EA opens a ladder of orders at fixed distances; a martingale EA increases the lot size after losses. Both can show smooth equity curves for a long time and then lose a large part of the account in one strong trend. EAs that use either are marked High risk, and you can hide them with the "Hide grid and martingale" filter.

Run EAs with a broker that supports MT4 and MT5

Compare regulated brokers by platform, spreads, minimum deposit and leverage.

Compare brokers