Synced with GitHub · updated hourly

Expert Advisor Library

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

175 EAs match Clear filters

Trade Copy MT4

by vobornik
256 stars

This MetaTrader 4 expert advisor functions as a local trade copier, allowing users to replicate trades from one terminal to another. It operates by sharing a data file between a master and a slave instance on the same computer or filesystem. The slave EA manages order execution, including market, limit, and stop orders

MT4 Copier & bridge Martingale High risk
Updated 3 years ago GPL-2.0 GitHub repository of Trade Copy MT4
234 stars

This is a modular MetaTrader 5 expert advisor framework designed to accelerate the development of custom trading strategies. It provides a standardized base that includes position management, risk controls, and multi-symbol support. The template features configurable entry and exit logic, integrated stop loss and take

MT5 Framework & template Martingale High risk
161 stars

This collection for MetaTrader 4 provides a variety of expert advisors and utilities intended for automated trading and educational use. The primary component is a moving average crossover robot that opens positions based on trend direction. It features risk management tools including percentage-based stop losses, take

MT4 Collection Indicator crossoverMartingaleGrid High risk

EA MQL4 Collection

by Yumerain
151 stars

This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz

MT4 Collection Indicator crossoverTrend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of EA MQL4 Collection

ADX Cross EA

by chaipat-ncm
143 stars

This MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction. It executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a

MT4 Trading robot Indicator crossoverMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of ADX Cross EA
109 stars

LIVMOR is a MetaTrader 4 expert advisor found within this repository of over fifty automated trading tools. It utilizes technical indicators such as MACD, Stochastic, and moving averages to identify entry points, while also offering manual price entry options. The EA manages risk through user-defined stop loss and take

MT4 Collection Indicator crossoverMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of LIVMOR Trading Collection

This Expert Advisor framework for MetaTrader 4 provides a modular template for building custom trading strategies. It handles complex trade management tasks, including multi-symbol execution, margin-based position capping, and various lot-sizing algorithms such as risk percentage or fixed volume. Risk controls include

MT4 Framework & template Martingale High risk
67 stars

This repository contains a large collection of over 100 expert advisors for the MetaTrader 5 platform, many of which appear to be generated using the Mission Automate tool. The library covers a wide variety of trading methodologies including range breakouts, Ichimoku cloud strategies, Heiken Ashi engulfing patterns, an

MT5 Collection Trend followingBreakoutMartingale High risk
Updated 3 years ago None stated GitHub repository of Konz MQL5 EA Collection

Modular Trade System

by michaelwade
58 stars

This MetaTrader 4 template provides a modular framework for developing expert advisors. It organizes trading logic into decoupled components including signal engines, order management, and environment checking. The system uses an abstract controller class to handle data processing from multiple sources, such as MACD or

MT4 Framework & template MartingaleIndicator crossover High risk
Updated 6 years ago Apache-2.0 GitHub repository of Modular Trade System
46 stars

This repository features a collection of MetaTrader 5 trading utilities and management tools. The central component is the ASQ Command Desk, a manual trading dashboard that offers one-click execution and hotkey support. It manages positions using a three-stage partial take-profit logic and provides various trailing sto

MT5 Collection ScalpingMartingale High risk
36 stars

This repository contains the MQL source code used by Forex Strategy Builder Professional to export automated trading strategies to MetaTrader 4 and MetaTrader 5. It serves as a standardized template for executing technical strategies generated by the software, handling order execution and trade management. The EA inclu

MT4MT5 Framework & template Multi-strategyMartingale High risk
Updated 4 years ago None stated GitHub repository of FSB Pro Expert Advisor
26 stars

This MetaTrader 4 expert advisor operates two concurrent strategy groups based on technical indicators. It primarily utilizes Bollinger Bands and Envelopes to identify market entries for automated trading. The robot employs a position scaling approach, using lot multipliers and fixed-distance grid additions to manage t

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of Bollinger Envelopes Grid

This MetaTrader 5 collection features two primary components: a manual risk management panel and an automated confluence robot. The TyAlgo advisor executes trades using the No Nonsense Forex method, aggregating signals from various technical indicators via global variables. Risk is managed through the TyphooN tool, whi

MT5 Collection Trend followingMulti-strategyMartingale High risk
21 stars

This MetaTrader 4 repository contains a collection of expert advisors, primarily focused on an Ichimoku-based strategy with neural network capabilities. The main EA utilizes an external API for AI-driven signals and incorporates risk controls such as Martingale lot scaling, trailing stops, and spread filters. It suppor

MT4 Collection Indicator crossoverAI / machine learningMartingale High risk
Updated 7 years ago None stated GitHub repository of Ichimoku EA Collection
21 stars

This repository contains a collection of MetaTrader 4 expert advisors, including the Ariel Turtle Bot and several named variants like Elisa, Cary, and Faith. The primary logic utilizes Donchian Channel breakouts combined with Simple Moving Average filters to identify trend-following entries. The software includes compr

MT4 Collection Trend followingBreakoutMartingale High risk
Updated 9 years ago None stated GitHub repository of Ariel Turtle Bot Collection
19 stars

This MetaTrader 4 repository contains a collection of expert advisors, primarily focused on the MultiTrader dashboard and various technical utility robots. MultiTrader functions as a multi-symbol management tool that monitors dozens of currency pairs simultaneously, using high and low percentage levels for trade execut

MT4 Collection Multi-strategyTrend followingMean reversion High risk
Updated 7 years ago None stated GitHub repository of MQL4 MultiTrader Collection

Mql5 Json Api

by parrondo
18 stars

This expert advisor acts as a server bridge for MetaTrader 5, facilitating communication with external applications via ZeroMQ sockets and JSON messaging. It enables remote control from languages like Python to request account details, trade history, and current positions. The system supports the execution of market an

MT5 Copier & bridge Martingale High risk
Updated 6 years ago GPL-3.0 GitHub repository of Mql5 Json Api

MQL4 Experts Collection

by GeneralTradingSarl
17 stars

This repository features a vast collection of over 1,100 open-source Expert Advisors for the MetaTrader 4 platform. It serves as an educational library containing diverse trading strategies, including trend following, breakout, scalping, and mean-reversion systems. The collection explicitly includes high-risk methodolo

MT4 Collection Multi-strategyMartingaleGrid High risk
Updated 4 days ago None stated GitHub repository of MQL4 Experts Collection

Expert MT5 Collection

by GeneralTradingSarl
16 stars

This repository is a large collection of over 1,000 expert advisors designed for the MetaTrader 5 platform. It serves as an open-source library featuring various algorithmic trading strategies, including moving average crossovers, RSI levels, Parabolic SAR, and range breakouts. The collection provides robots for trend

MT5 Collection Trend followingBreakoutGrid High risk
Updated 4 days ago None stated GitHub repository of Expert MT5 Collection
16 stars

This repository contains a collection of MetaTrader 5 Expert Advisors and scripts developed for educational and testing purposes. It includes various automated robots based on technical indicators such as the Stochastic Oscillator, RSI, and Moving Average crossovers. The primary Stochastic EA manages entries using over

MT5 Collection Indicator crossoverMartingaleMean reversion High risk
14 stars

This repository contains a collection of MetaTrader 4 expert advisors developed for MQL4 programming tutorials. It includes various trading strategies ranging from simple moving average crossovers to complex martingale and grid systems. The provided examples demonstrate order layering with configurable lot multipliers,

MT4 Collection MartingaleGridIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of MQL4 Tutorial EA Collection
13 stars

This MetaTrader 4 expert advisor functions as a communication interface between the terminal and an external Python-based reinforcement learning model. It utilizes deep Q-learning to determine trading actions at every price tick, passing market data through local files to the external script. The system implements a ma

MT4 Trading robot AI / machine learningMartingale High risk

RSI Martingale EA

by peefpee
10 stars

This Expert Advisor for MetaTrader 5 implements a martingale trading strategy triggered by the Relative Strength Index (RSI). It opens an initial position when RSI reaches overbought or oversold thresholds. If price continues to move against the initial trade, the EA layers additional orders at set point intervals, mul

MT5 Trading robot MartingaleMean reversionGrid High risk

The Falcon

by Lucas170
10 stars

The Falcon is a MetaTrader 4 expert advisor designed for automated trading using a combination of moving averages and Keltner Channels. It utilizes trend-following logic for entries and incorporates advanced position sizing features, including percentage-based risk, adaptive volatility sizing, and margin-per-lot constr

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 years ago None stated GitHub repository of The Falcon
8 stars

This repository is a comprehensive collection of over 500 MetaTrader 4 expert advisors, including various third-party robots and specialized trading tools. The library contains a wide range of strategies such as trend following, scalping, and grid trading. Individual files like the Ultimate Trader EA utilize historical

MT4 Collection Trend followingGridMartingale High risk
7 stars

This MetaTrader 4 expert advisor provides a robust framework for developing automated trading strategies. It includes pre-built modules for trend detection using ADX and Moving Averages, alongside pullback entry logic. The template emphasizes risk management, featuring percentage-based lot sizing and adaptive volatilit

MT4 Framework & template Trend followingMean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of Falcon Trading Bot Template

Alboogy Dev Projects

by alboogycOdR
6 stars

This repository is a large collection of over 2,400 MetaTrader 4 and 5 files, including expert advisors, utilities, and indicators. It includes a trade copier client that synchronizes positions via socket libraries. The systems manage trades through sophisticated risk controls like equity-based trailing stops, cycle-pe

MT4MT5 Collection Multi-strategyMartingaleGrid High risk
Updated 6 months ago None stated GitHub repository of Alboogy Dev Projects
6 stars

This collection provides MetaTrader 5 Expert Advisors sourced from MQL5 programming documentation. The primary tool, Unity Martingale, implements a multi-currency reversal strategy using breakout or pullback signals. It employs a martingale lot-scaling system that increases positions after losses based on a user-define

MT5 Collection MartingaleGridBreakout High risk

MQTT MQL5 Library

by gmag11
6 stars

This library and example Expert Advisor provide an MQTT client interface for MetaTrader 5. It enables the platform to communicate with external MQTT brokers using version 3.1 or 3.1.1 protocols. The system supports both encrypted TLS and standard TCP/IP connections. Users can publish messages to specific topics and sub

MT5 Copier & bridge Martingale High risk
6 stars

This MetaTrader 5 expert advisor provides a basic implementation of the Martingale strategy for forex markets. It initiates trades using a base lot size and applies a multiplier after losses to recoup previous deficits, utilizing fixed stop loss and take profit levels for exit management. The logic is extremely minimal

MT5 Trading robot Martingale High risk

Aladdin 9 FX

by joaotorresmarques
6 stars

This MetaTrader 4 repository hosts a large collection of automated trading systems, including the Aladdin 9 FX expert advisor. This specific tool identifies entries using the Commodity Channel Index and a Moving Average filter. It operates using a grid-based logic combined with martingale lot scaling, controlled by a l

MT4 Collection GridMartingaleIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of Aladdin 9 FX
5 stars

This repository contains an extensive library of MetaTrader 5 expert advisors covering various algorithmic trading methodologies. The collection includes strategies based on Bollinger Bands, Relative Strength Index, moving average ribbons, and swing failure patterns. A core focus is the Ighodalo series for gold and CFD

MT5 Collection Trend followingBreakoutMartingale High risk
Updated 8 weeks ago Custom licence GitHub repository of Ighodalo MT5 Strategy Collection

MQL Bots Collection

by Bokang777
5 stars

This repository provides a collection of MetaTrader 5 expert advisors featuring traditional technical indicators and advanced machine learning integrations. The library includes strategies based on Moving Average crossovers, MACD, and Bollinger Bands, alongside risk-heavy models like martingale and hedging systems. A c

MT5 Collection Indicator crossoverAI / machine learningMartingale High risk
Updated 3 years ago None stated GitHub repository of MQL Bots Collection
5 stars

This repository hosts a collection of MetaTrader 4 expert advisors, with a primary focus on automated candlestick pattern trading via CandleBot. This robot monitors for numerous formations including hammers, engulfing candles, and stars to execute trades. It incorporates risk management through fixed lot sizes or depos

MT4 Collection SMC / ICT / price actionIndicator crossoverMartingale High risk
Updated 6 years ago None stated GitHub repository of Den4ikI MQL4 EA Collection
4 stars

This repository contains an extensive collection of over 200 Expert Advisors developed for the MetaTrader 4 and MetaTrader 5 platforms. The files range from individual strategy implementations like CCI multi-pair and cycle-based trading to comprehensive testing frameworks. The primary featured Expert Advisor includes a

MT4MT5 Collection Indicator crossoverMulti-strategyTrend following High risk
4 stars

This repository contains a collection of MetaTrader 4 and 5 expert advisors primarily focused on grid and martingale trading strategies. The included robots utilize multiplier-based lot scaling, geometric progression, and fixed-distance grid layering to manage positions. The suite features specialized dashboards for mo

MT4MT5 Collection GridMartingaleMulti-strategy High risk
Updated 8 months ago None stated GitHub repository of Soko8 EA Collection
4 stars

Chinaliyue MT4 EA Collection is a repository of various expert advisors and trading utilities for MetaTrader 4. The collection features several manual trading panels that allow users to execute orders with predefined stop loss and take profit levels. It includes management functions such as trailing stops and break-eve

MT4 Collection ScalpingMulti-strategyTrend following High risk

MQL5 Strategy Collection

by kabradhruv
4 stars

This repository provides automated trading experts for the MetaTrader 5 platform, featuring a combined grid and martingale strategy along with an Ichimoku-based approach. The primary expert advisor executes trades based on price movement relative to a fixed grid distance. It incorporates a lot multiplication system tha

MT5 Collection GridMartingaleTrend following High risk
Updated 1 year ago None stated GitHub repository of MQL5 Strategy Collection
4 stars

This expert advisor facilitates trade replication between MetaTrader 4 and MetaTrader 5 platforms using TCP communication. It functions as either a sender or a receiver, allowing cross-platform signal transfer. The tool includes a lot size multiplier to scale positions on the receiving side and requires IP and port con

MT4MT5 Copier & bridge Martingale High risk
Updated 1 year ago None stated GitHub repository of MT4-MT5 Signal Copier

Yousuf Mesalm MQL Projects

by dryousufmesalm
4 stars

A diverse collection of MetaTrader 4 and MetaTrader 5 resources developed by Yousuf Mesalm. The repository features various utilities including interactive trading panels, multi-strategy dashboards, and automated expert advisors. These tools provide manual trade management options like partial closing and automated exe

MT4MT5 Collection Multi-strategyGridMartingale High risk
Updated 2 years ago None stated GitHub repository of Yousuf Mesalm MQL Projects

MetaTrader EA Collection

by soloman-sv
4 stars

This repository is a diverse collection of MetaTrader 4 and 5 expert advisors, including signal-based robots, grid traders, and utility scripts. The featured expert advisor provides a versatile framework for trade management with options for trailing stops, break-even logic, and ECN broker compatibility. It includes co

MT4MT5 Collection GridMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of MetaTrader EA Collection

Martingale EA Improvement

by jitkasempin
4 stars

This MetaTrader 4 expert advisor is a management utility designed to handle orders opened by other martingale robots. It monitors trade sequences and applies hedging to the initial low-lot positions to mitigate drawdown. The tool provides automated risk controls including fixed take profit, stop loss, trailing stops, a

MT4 Trade manager MartingaleHedgingGrid High risk
Updated 5 years ago None stated GitHub repository of Martingale EA Improvement

Crypto Bridge Pro

by rabbitholeanalytics
4 stars

This MetaTrader 5 expert advisor acts as a connectivity bridge between the MetaTrader platform and various cryptocurrency exchanges such as Binance, Bybit, and Bitmex. It allows traders to execute automated strategies on external crypto markets directly from the terminal. The included Ping Pong module functions as a ma

MT5 Copier & bridge GridMartingale High risk
Updated 6 years ago None stated GitHub repository of Crypto Bridge Pro
3 stars

This repository provides a collection of MetaTrader 4 expert advisors and indicators designed for automated trading and technical analysis. The EAs implement various strategies such as trend-following, candle pattern recognition, and tick movement analysis. Risk management features across the files include standard sto

MT4 Collection Trend followingMartingaleGrid High risk

Fxcodebase Archive

by gehtsoft-usa
3 stars

This repository is a comprehensive backup of trading resources from the defunct fxcodebase community, containing a diverse collection of expert advisors for MetaTrader 4 and 5. The archive serves as a repository for legacy source code, featuring strategies ranging from RSI crossovers to advanced hedging and martingale

MT4MT5 Collection Multi-strategyMartingaleHedging High risk
Updated 2 months ago GPL-3.0 GitHub repository of Fxcodebase Archive
3 stars

This MetaTrader 5 repository provides a diverse collection of automated trading systems, including tools for supply and demand, news fetching, and price action strategies. The primary expert advisor utilizes moving average crossovers and momentum filters to identify market pullbacks. It incorporates trade management fe

MT5 Collection Indicator crossoverMartingaleTrend following High risk

Grid Hedge Combine

by Far-1d
3 stars

Grid Hedge Combine is a MetaTrader 5 expert advisor designed to automate market entries using a mixture of grid and hedging techniques. It opens initial trades and layers subsequent orders at predefined pip intervals when the price moves against the position. The EA features lot size scaling, allowing for aggressive or

MT5 Trading robot GridMartingaleHedging High risk
Updated 1 year ago None stated GitHub repository of Grid Hedge Combine

NOMQL4 EA Collection

by NematilloOchilov
3 stars

This repository is an extensive collection of MetaTrader 4 expert advisors and source code components written in MQL4. It includes over 70 files featuring diverse trading strategies such as Sanity TREND for trend following and various robots utilizing divergence-based entries. A significant portion of the code is based

MT4 Collection Multi-strategyTrend followingMean reversion High risk
Updated 4 years ago None stated GitHub repository of NOMQL4 EA Collection

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 hour, 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 hour. 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