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.

466 EAs match Clear filters

DRF Metatrader

by mrseyfi
1 stars

This expert advisor for MetaTrader 5 serves as a data bridge between the trading terminal and external web applications via the Django REST Framework. The tool automatically cycles through symbols in the Market Watch at defined intervals to collect and export data into JSON format for API consumption. It is primarily a

MT5 Copier & bridge
Updated 5 years ago MIT GitHub repository of DRF Metatrader

Box Trader

by Christian-de-beer
1 stars

Box Trader is a MetaTrader 5 utility designed to visualize price levels directly on the trading terminal. The expert advisor automatically generates horizontal lines on the chart that track real-time price movements, specifically following the Bid and Ask levels. Users can modify various visual parameters including lin

MT5 Utility
Updated 5 years ago MIT GitHub repository of Box Trader
1 stars

This MetaTrader 4 expert advisor automates binary options trading for the Intrade.bar broker. It functions as a signal generator and bridge, utilizing a dual Bollinger Band strategy to identify entry points. The EA communicates with an external C++ console application via a named pipe to execute trades through a REST A

MT4 Trading robot Mean reversion

Metatrade Sandbox

by humbertosouza
1 stars

This MetaTrader 5 expert advisor is a development project for testing technical indicator strategies. It uses a combination of moving average crossovers and MACD signals to identify market entries. The EA includes time-based filters allowing users to specify exact opening and closing hours for daily trading sessions. R

MT5 Trading robot Indicator crossover
Updated 6 years ago AGPL-3.0 GitHub repository of Metatrade Sandbox

Falcon B

by josephxskum
1 stars

Falcon B is a MetaTrader 4 robot developed for the Lazy Trading Project, designed to integrate with external decision support systems. It uses a combination of moving average crossovers and Keltner Channels to identify trade entries. The system includes robust risk management features, allowing for fixed or volatility-

MT4 Trading robot Indicator crossover
Updated 6 years ago MIT GitHub repository of Falcon B

Account Recorder

by mazmazz
1 stars

Account Recorder is a utility for MetaTrader 4 and 5 that exports trading transactions and account metrics to external SQL databases via the ODBC interface. It supports MySQL, PostgreSQL, and SQLite, enabling users to maintain an auditable, platform-agnostic history of their trading activity. The tool records account s

MT4MT5 Utility

Cuckoos MT4

by m10i1986
1 stars

Cuckoos MT4 is a notification expert advisor for MetaTrader 4 that bridges account activity to Discord via webhooks. This utility monitors the trading account and sends automated updates whenever the total number of open orders changes or during initialization. The messages delivered to Discord contain detailed account

MT4 Copier & bridge
Updated 6 years ago MIT GitHub repository of Cuckoos MT4
1 stars

This repository is a collection of MQL5 utility scripts and snippets for the MetaTrader 5 platform. It includes tools for dumping account details, active positions, and trade history directly into the terminal log for debugging or monitoring. Other components demonstrate SQLite database integration, price alerts, and g

MT5 Collection

QGA SVM Forex

by TerenceLiu98
1 stars

This repository provides a framework for integrating machine learning and quantum physics models with MetaTrader 4 and 5. It aims to implement a Quantum Genetic Algorithm and Support Vector Machine for feature selection and price classification. The system utilizes a ZeroMQ bridge to connect Python 3.8 with the trading

MT4MT5 Framework & template AI / machine learning
Updated 6 years ago BSD-3-Clause GitHub repository of QGA SVM Forex

TradeSync MT4 Receiver

by JafferWilson
1 stars

This expert advisor acts as a trade receiver for the MetaTrader 4 platform, enabling the execution of orders sent from a remote master account. It establishes a connection via a socket library to a cloud hub or a specified local port to receive trade commands. The system parses incoming messages for parameters such as

MT4 Copier & bridge
Updated 6 years ago LGPL-3.0 GitHub repository of TradeSync MT4 Receiver

Dollar Killer Martingale

by DollarKillerMQL
1 stars

Dollar Killer Martingale is an automated trading robot for MetaTrader 5 that utilizes Bollinger Bands to identify market entry points. The EA initiates trades based on price interaction with band boundaries and manages drawdowns through a lot-multiplication recovery system. It features a grid-based approach where addit

MT5 Trading robot MartingaleGridMean reversion High risk

DaFinantial MT4 Collection

by DanielAlbino
1 stars

This repository is a collection of MetaTrader 4 expert advisors and study scripts focused on technical analysis and automated execution. It includes modules for identifying support and resistance levels, templates for news-based trading, and tools for drawing visual objects based on price extremes. The projects serve a

MT4 Collection BreakoutNewsMean reversion

4xlots Extra EA Collection

by patrickingle
1 stars

This repository provides a collection of MetaTrader 4 expert advisors and libraries designed to integrate with the 4xlots risk management web service. The collection includes various trading robots such as a trend-following system, a double SMA crossover strategy, and a Martingale-based EA. It focuses on dynamic risk c

MT4 Collection Trend followingMartingaleHedging High risk
Updated 6 years ago Apache-2.0 GitHub repository of 4xlots Extra EA Collection
1 stars

This MetaTrader 5 expert advisor serves as a bridge between the trading terminal and an external Python API server. It allows users to control the terminal and manage trades through remote infrastructure using JSON-based communication. The code includes specific functions for managing trailing take profits on active po

MT5 Copier & bridge

EA Swap

by pablogalve
1 stars

EA Swap is a MetaTrader 4 expert advisor designed to capture interest rate differentials during the triple rollover period, typically occurring on Wednesdays. It automates the process of opening a buy or sell position shortly before the swap is charged and closing it after the rollover is processed. The robot includes

MT4 Trading robot Arbitrage
Updated 7 years ago Apache-2.0 GitHub repository of EA Swap

Usd5 3 EA

by monakafx
1 stars

Usd5 3 EA is a MetaTrader 4 expert advisor that executes trades based on specific candlestick sequences and trend direction. It identifies patterns of three consecutive bullish or bearish candles followed by a reversal to signal potential entries. The robot utilizes a 25-period Simple Moving Average on the H4 timeframe

MT4 Trading robot Trend followingMean reversion
Updated 7 years ago MIT GitHub repository of Usd5 3 EA
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

Simple RSI

by dominiconorton
1 stars

This expert advisor for MetaTrader 5 provides a foundational implementation of the Relative Strength Index (RSI). It calculates the RSI value using a standard 14-period setting on the current chart and timeframe. The code focuses on data retrieval and processing, using the iRSI function and price buffers to determine t

MT5 Utility
Updated 7 years ago MIT GitHub repository of Simple RSI

Hartono Wen MT4 Scripts

by hartono-wen
1 stars

This MetaTrader 4 repository provides a collection of utility scripts intended for personal use. Its main Expert Advisor functions as a logic framework for developers, specifically designed to execute code exactly once at the start of each new price bar. By comparing the current bar time to the last recorded timestamp,

MT4 Framework & template
1 stars

This collection for MetaTrader 4 provides a set of expert advisors designed for testing technical indicator logic and trade management. The primary EA, Optimal Close, integrates Bollinger Bands and Stochastic oscillators to analyze market conditions across multiple timeframes. It features a built-in trailing stop mecha

MT4 Collection Indicator crossoverMean reversion

Quantum Reverse EA

by nohros
1 stars

The Quantum Reverse EA is a low-frequency counter-trend trading robot developed for the MetaTrader 5 platform. It aims to identify potential market reversals to enter trades against the current trend direction. Based on the provided repository contents, the expert advisor is in a foundational state, as the main source

MT5 Trading robot Mean reversion

Falcon F

by VjSwamy
1 stars

Falcon F is an automated trading system for MetaTrader 4 that utilizes supervised deep learning and an external Decision Support Centre powered by R to identify market inefficiencies. It analyzes indicator patterns across M1, M15, and H1 timeframes to predict price changes and trade direction up to 100 hours ahead. The

MT4 Trading robot AI / machine learningTrend following
Updated 8 years ago MIT GitHub repository of Falcon F

Median Turbo Renko SDK

by gridgentoo
1 stars

This repository provides a specialized framework and example expert advisors for developing Renko-based trading systems on the MetaTrader 5 platform. It includes a dedicated MQL5 header library that simplifies integration with the Median Renko indicator bundle. The framework handles the acquisition of chart settings au

MT5 Framework & template Trend followingIndicator crossover

MartGreg GP1

by gridgentoo
1 stars

MartGreg GP1 is a MetaTrader 5 expert advisor designed for automated trading with a focus on specific instruments like Brent Crude. It executes trades using a fixed lot size and manages each position with predefined stop loss and take profit levels. The system includes a risk management component that tracks the accoun

MT5 Trading robot Scalping
Updated 8 years ago GPL-3.0 GitHub repository of MartGreg GP1

JTM Risk Manager

by jawakow
1 stars

This MetaTrader 4 utility serves as a comprehensive trading assistant for manual chart analysis and risk management. It integrates various drawing tools, including object snapping and supply-and-demand indicators, to help identify entry points. The expert advisor includes a risk calculator that determines position sizi

MT4 Utility

Sample Indicator EA Collection

by KeisukeIwabuchi
1 stars

This MetaTrader 4 repository contains a collection of basic expert advisors designed around standard technical indicators. It includes automated strategies for MACD crossovers, moving average crossovers, and mean-reversion setups using Bollinger Bands, RSI, and Stochastic oscillators. Each individual robot executes tra

MT4 Collection Indicator crossoverMean reversionTrend following
1 stars

Goertzel Dfilter Expert is an automated trading robot for MetaTrader 4 that utilizes signal processing techniques to enter and exit trades. It implements the Goertzel algorithm alongside a digital filter to determine market direction. The expert advisor follows a reversal logic, closing existing short positions when a

MT4 Trading robot Mean reversion

Crossover Algoritmo

by evertonrosadf
1 stars

This MetaTrader 4 expert advisor implements a simple moving average crossover strategy. It uses two user-defined SMA periods to determine entry points once a specific hour of the day is reached. The robot monitors the relationship between the fast and slow averages, opening a single trade when they cross in a specific

MT4 Trading robot Indicator crossover
Updated 8 years ago Apache-2.0 GitHub repository of Crossover Algoritmo
1 stars

This MetaTrader 4 utility captures chart screenshots and sends them to a Telegram channel or chat. It functions as a bridge between the trading platform and the Telegram API by utilizing an external DLL for communication. The expert advisor can generate a series of images at specified intervals or counts, demonstrating

MT4 Copier & bridge

Cross Average Robot

by erlonfs
1 stars

This MetaTrader 5 expert advisor executes trades based on the crossover of two moving averages. It allows users to define periods for both long and short averages and select the calculation method, such as Exponential Moving Average. The EA includes internal time management, allowing for specific start and end times pl

MT5 Trading robot Indicator crossoverTrend following

Another Inside Bar

by vinchess
1 stars

This expert advisor for MetaTrader 4 implements a price action strategy based on the inside bar candlestick pattern. It identifies scenarios where the current candle is contained within the price range of the previous candle. The EA automatically places buy stop and sell stop pending orders at specific distances from t

MT4 Trading robot Breakout

Forex Ultimate Correlation

by UltimateForex
1 stars

This MetaTrader 4 expert advisor identifies and monitors currency pairs with high statistical correlation. It scans the market to find symbols that move in tandem with the current chart, filtering results based on a user-defined minimum correlation coefficient. The EA manages chart generation for identified pairs and i

MT4 Utility

Equity Tracker

by toomyem
1 stars

Equity Tracker is a risk management utility for MetaTrader 4 designed to monitor account equity in real time. It serves as a global protection mechanism by automatically closing all open and pending positions when equity reaches a predefined target or drops below a minimum threshold. Users can configure these exit leve

MT4 Risk & protection
Updated 9 years ago MIT GitHub repository of Equity Tracker

MEAS

by elijunior01
1 stars

MEAS is a scalping robot for MetaTrader 5 that implements a martingale strategy for financial markets. The expert advisor captures small price movements while managing positions through adjustable stop loss and take profit levels. It provides options for either fixed lot sizes or incremental lot increases based on acco

MT5 Trading robot ScalpingMartingaleTrend following High risk
Updated 11 years ago GPL-2.0 GitHub repository of MEAS

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