Synced with GitHub · updated 2 days ago

Free MT4 & MT5 Expert Advisors

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

New EAs by RSS
2,116 EAs

DayT

by bogdyak
2 stars

DayT is an automated trading expert advisor for MetaTrader 4 that executes trades based on technical indicators. It utilizes a dynamic position sizing model where lot sizes are calculated using a risk factor relative to the account free margin and leverage. The system includes various trade management features such as

MT4 Trading robot Indicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of DayT
2 stars

This MetaTrader 4 expert advisor utilizes the MACD and ZigZag indicators to identify potential market entries based on price action swings. It tracks historical highs and lows using standard ZigZag parameters like depth, deviation, and backstep to detect trend reversals. A unique aspect of this EA is the integration of

MT4 Trading robot Trend followingMean reversion
Updated 8 years ago None stated GitHub repository of MACD ZigZag Trader

RSI EA

by reysabogal
2 stars

This MetaTrader 4 expert advisor automates trading strategies based on the Relative Strength Index (RSI) and moving average logic. It identifies potential entry points when the RSI reaches specific overbought or oversold levels, supported by a moving average filter. The robot includes essential risk management controls

MT4 Trading robot Mean reversionIndicator crossover
Updated 8 years ago None stated GitHub repository of RSI EA

Make Money

by husonchow
2 stars

Make Money is a MetaTrader 5 trading robot specifically configured for the EURUSD currency pair. The expert advisor utilizes standard MQL5 library classes to monitor account status, symbol properties, and open positions. It tracks price data at minute intervals and incorporates a 25-period moving average reference for

MT5 Trading robot Indicator crossover
Updated 8 years ago None stated GitHub repository of Make Money

MQL4 Benchmark

by KeisukeIwabuchi
2 stars

MQL4 Benchmark provides a specialized module for measuring the execution speed of code within MetaTrader 4. The tool allows developers to profile specific functions, loops, or logic segments by calculating the elapsed time and outputting the results to the terminal Experts tab. It supports manual start and end points f

MT4 Utility
Updated 8 years ago MIT GitHub repository of MQL4 Benchmark

MQL4 File Module

by KeisukeIwabuchi
2 stars

This MetaTrader 4 module provides a simplified interface for file system operations within the MQL4 environment. It functions as a programming library to assist developers in managing files without complex low-level coding. The package includes methods to read and write text data, copy existing files, delete files, and

MT4 Framework & template
2 stars

MQL4 Environment Configuration Tool is a utility for MetaTrader 4 that enables developers to manage account settings and environment variables using external files. It supports reading key-value pairs from plain text or ini files located in the terminal data folder. This approach allows for the externalization of sensi

MT4 Utility

MQL4 Unit Test

by KeisukeIwabuchi
2 stars

This MetaTrader 4 framework provides a module for unit testing MQL4 code across multiple simulated account environments. It allows developers to verify function logic by comparing actual execution results against expected values. The tool can cycle through different broker settings using external configuration files to

MT4 Framework & template
Updated 8 years ago MIT GitHub repository of MQL4 Unit Test

Project Pips

by taldan333
2 stars

Project Pips is a MetaTrader 4 expert advisor that automates trades based on moving average crossover signals. It includes a variety of entry and exit parameters, such as the ability to close positions on opposite signals or reverse positions based on price distance. Risk management is highly configurable, offering fix

MT4 Collection Indicator crossoverTrend following
Updated 8 years ago None stated GitHub repository of Project Pips

Price Less EA

by exalkas
2 stars

Price Less EA is an automated trading robot for the MetaTrader 4 platform that implements a grid-based recovery strategy. It combines moving average crossovers for entry timing with a multi-level position layering system. The robot initiates trades and scales lot sizes using step-based increments at fixed distances. It

MT4 Trading robot GridIndicator crossoverMartingale High risk
Updated 8 years ago None stated GitHub repository of Price Less EA

EMA RSI Expert

by nasimalsajjad
2 stars

This MetaTrader 4 expert advisor implements a technical trading strategy based on the Exponential Moving Average and Relative Strength Index. It triggers buy orders when both indicators align bullishly and sell orders when they align bearishly. Specifically, it monitors RSI levels for overbought and oversold conditions

MT4 Trading robot Mean reversionTrend following
Updated 8 years ago None stated GitHub repository of EMA RSI Expert

EMA RSI Expert

by nasimalsajjad
2 stars

This MetaTrader 4 expert advisor executes trades based on the alignment of Exponential Moving Average and Relative Strength Index indicators. The system enters buy orders when RSI suggests an oversold condition alongside bullish EMA momentum, and sell orders for overbought bearish conditions. It uses a fixed lot size a

MT4 Trading robot Trend followingMean reversion
Updated 8 years ago None stated GitHub repository of EMA RSI Expert
2 stars

This MetaTrader 4 utility exports candlestick data for a specific financial instrument across various timeframes into a local SQLite database. It retrieves historical price action and continues to update the database as new ticks arrive. The program allows users to set a custom time zone offset and specify the instrume

MT4 Utility Archived
Updated 9 years ago None stated GitHub repository of MT4 Realtime Chart Dumper

Period Ranging Pro

by lingao90
2 stars

A MetaTrader 4 expert advisor collection primarily focused on range breakout and BBMA strategies. The breakout EA identifies price ranges within a specific time window, executing trades based on price movement outside these boundaries. It includes risk management features such as stop loss, take profit with step-based

MT4 Collection BreakoutMulti-strategy
Updated 9 years ago None stated GitHub repository of Period Ranging Pro
2 stars

This repository contains five MetaTrader 4 Expert Advisors focused on technical indicator strategies. The robots implement multi-timeframe stochastic logic, single exponential moving average crosses for mean reversion or trend following, and classic dual moving average crossovers. Each system manages its own exits thro

MT4 Collection Indicator crossoverMulti-strategy

Guangying Strategy

by sunyourway
2 stars

This collection for MetaTrader 4 and 5 features the Guangying multi-symbol expert advisor alongside various utility tools and martingale-based robots. The primary system monitors multiple forex pairs and gold from a single chart using Fibonacci-derived logic for trade entries. It includes risk controls such as equity d

MT4MT5 Collection MartingaleGridMulti-strategy High risk
Updated 9 years ago None stated GitHub repository of Guangying Strategy

TW Star Bot

by TradingWizards
2 stars

This MetaTrader 4 expert advisor implements an automated trading strategy based on a combination of technical indicators, including the Relative Strength Index, Moving Averages, and MACD. The bot evaluates price action against these indicators to determine trade entries. It manages active positions using a fixed lot si

MT4 Trading robot Trend followingIndicator crossover
Updated 9 years ago None stated GitHub repository of TW Star Bot

Smart Billionaires

by FIU-SCIS-Senior-Projects
2 stars

This MetaTrader 5 repository is a collection of various Expert Advisors and trading utilities. The primary EA implements a strategy based on the Relative Strength Index (RSI), Bollinger Bands, and Parabolic SAR indicators. It executes trades using overbought and oversold levels in conjunction with volatility bands. Ris

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 9 years ago None stated GitHub repository of Smart Billionaires

Stat Euclidean Metric

by suvorovkonstantin
2 stars

Stat Euclidean Metric is a MetaTrader 4 expert advisor that utilizes pattern recognition via Euclidean distance calculations and k-nearest neighbor logic. The robot compares current market price vectors against historical data stored in external binary files to identify trade opportunities. It enters positions when cal

MT4 Trading robot AI / machine learning
Updated 9 years ago None stated GitHub repository of Stat Euclidean Metric

Baby MT4 EA

by dolie
2 stars

This MetaTrader 4 expert advisor utilizes the SuperTrend and Bollinger Bands indicators to identify market entries. It monitors for trend changes, breakouts, corrections, and pullbacks. The EA incorporates several risk management tools, including a configurable stop loss, dynamic stop loss logic, and a trailing stop. I

MT4 Trading robot Trend followingBreakoutScalping High risk
Updated 9 years ago None stated GitHub repository of Baby MT4 EA
2 stars

This MetaTrader 4 utility provides a graphical user interface for manual trade management. It creates interactive on-chart buttons that allow traders to execute bulk exit commands with a single click. The tool facilitates closing all open positions, specifically targeting sell orders, or focusing on buy orders. It also

MT4 Utility
Updated 9 years ago None stated GitHub repository of Magic Trading Button

Parabolic SAR EA

by vinchess
2 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on the Parabolic SAR indicator. It monitors indicator flips to identify potential entry points, opening buy positions when the SAR dots move below the price and sell positions when they move above. The robot manages trades using fixed stop los

MT4 Trading robot Trend followingIndicator crossover

Ichimoku Framework

by reuniware
2 stars

This MetaTrader 5 expert advisor is a research-oriented framework designed to scan and analyze Ichimoku Kinko Hyo indicator criteria across multiple symbols. It evaluates price positions relative to the Chikou Span, Senkou Span A, and Senkou Span B to identify market reactions. The utility includes features for exporti

MT5 Framework & template Trend following
Updated 9 years ago None stated GitHub repository of Ichimoku Framework

Lars Advisor

by Enweave
2 stars

Lars Advisor is a MetaTrader 4 grid-based robot that enters trades using a fixed distance interval and manages them through a trailing stop mechanism. It features lot scaling where each grid step increases the trade volume by a specific delta, functioning as a lot-addition martingale. The EA operates on a timer-based u

MT4 Trading robot GridMartingale High risk
Updated 9 years ago None stated GitHub repository of Lars Advisor

Stop Loss EA UI

by kosztik
2 stars

This MetaTrader 4 trade manager provides a graphical user interface for closing open positions based on technical indicator conditions. It does not open new trades but manages existing ones using RSI levels, ADX filters, and volatility-based logic. The utility includes a break-even function and adjustable ATR settings

MT4 Trade manager Archived
Updated 10 years ago None stated GitHub repository of Stop Loss EA UI

My First Strategy

by toticavalcanti
2 stars

This MetaTrader 4 expert advisor implements a multi-indicator technical strategy generated using the FxPro Quant tool. The robot identifies entry points by analyzing the confluence of an Exponential Moving Average, Relative Strength Index, MACD, and Bollinger Bands. It specifically looks for rising momentum and trend a

MT4 Trading robot Trend followingIndicator crossover
Updated 10 years ago None stated GitHub repository of My First Strategy

Angry Bird

by bobdomo
2 stars

Angry Bird is a MetaTrader 4 expert advisor based on the Ilan 1.6 architecture, utilizing a mean-reversion strategy combined with aggressive risk management. The EA enters trades based on Relative Strength Index (RSI) levels to identify overextended price movements. It employs an exponential martingale lot scaling syst

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 11 years ago None stated GitHub repository of Angry Bird

ATR Session EA

by dsinnig
2 stars

ATR Session EA is an automated trading robot for MetaTrader 4 that utilizes session-based logic and the Average True Range indicator. The software monitors market activity through a session factory, identifying potential entries based on price thresholds for higher highs and lower lows. It employs a structured trade ma

MT4 Trading robot BreakoutTrend following
Updated 11 years ago None stated GitHub repository of ATR Session EA
1 stars

Multi Asset Sniper MT5 is an automated MetaTrader 5 trading robot designed specifically for EURUSD and XAUUSD on M5 charts. It generates trade signals using EMA crossovers, RSI, and ADX filters, alongside an optional H1 trend filter. The EA executes entries using a multi-take-profit structure and layers grid orders usi

MT5 Trading robot GridMartingaleIndicator crossover High risk

EURUSD Trend EA

by Babasato
1 stars

EURUSD Trend EA is an automated trend-following trading robot developed for MetaTrader 5. It evaluates market conditions once per closed bar, checking alignment between 50-period and 200-period Exponential Moving Averages alongside an EMA slope confirmation check. Entries trigger when price pulls back to the fast EMA a

MT5 Trading robot Trend following
Updated 10 days ago None stated GitHub repository of EURUSD Trend EA

Gold Basket Guard

by umberlla19733
1 stars

Gold Basket Guard is an open-source position manager for MetaTrader 5, designed primarily for trading gold (XAUUSD). It monitors open positions across specified symbol filters and magic numbers, automatically applying and synchronizing group take profit and stop loss levels. The EA provides break-even functionality bas

MT5 Trade manager
Updated 10 days ago None stated GitHub repository of Gold Basket Guard

Ghosts Brigad EA

by Massi93
1 stars

Ghosts Brigad is a multi-strategy MetaTrader 5 scalping expert advisor designed for trading instruments such as EURUSD, XAUUSD, and BTCUSD. It features multiple configurable entry modules including EMA crossover, RSI mean-reversion, Bollinger Bands, MACD momentum, and Support/Resistance price action, alongside a signal

MT5 Trading robot ScalpingMean reversionIndicator crossover High risk
Updated 11 days ago None stated GitHub repository of Ghosts Brigad EA

Donchian Channel MT5 EA

by MuhammadHassanC
1 stars

This MetaTrader 5 expert advisor trades multi-timeframe Donchian Channel breakouts and reversals. It monitors up to four timeframes simultaneously in real time and enters orders when current price reaches Donchian channel boundaries across a user-defined confluence threshold. Traded logic can be configured for trend-fo

MT5 Trading robot BreakoutMean reversion
1 stars

Onix is a MetaTrader 5 quantitative trading suite that combines machine learning models with technical market structure strategies. It features multiple EAs designed for trading gold, bitcoin, and forex pairs using session range breakouts, volume profile analysis, and Smart Money Concepts like liquidity sweeps and fair

MT5 Collection AI / machine learningBreakoutSMC / ICT / price action

Aeonix

by HamzaShabdi
1 stars

Aeonix is an automated MetaTrader 5 trading advisor that evaluates market conditions, candle strength, and wick patterns prior to executing trades. It uses the AEGIS engine to classify market context into trend, range, or breakout states alongside Phoenix/HAFS wick-pattern logic and RSI momentum filters. Trades are man

MT5 Trading robot Trend followingSMC / ICT / price actionBreakout
Updated 12 days ago None stated GitHub repository of Aeonix

Investor Account Watcher

by ankushchhajed7-cmd
1 stars

Investor Account Watcher is a read-only MetaTrader 5 expert advisor that attaches to a chart logged in with an investor password. It never opens or modifies trades. It reads open positions, pending orders, and closed deal history, then uploads JSON snapshots to a public GitHub repository for a mobile progressive web ap

MT5 Utility
Updated 13 days ago None stated GitHub repository of Investor Account Watcher

LLM Advisor

by starasen1-coder
1 stars

LLM Advisor is a MetaTrader 5 expert advisor that builds a tick-volume profile, then looks for price returning through the value-area edges toward the point of control. A buy or sell idea is sent with recent candles to a local FastAPI proxy that calls a language model; the advisor opens a market trade only when the mod

MT5 Trading robot Mean reversionAI / machine learning
Updated 2 weeks ago None stated GitHub repository of LLM Advisor

Donchian Trend Follow EA

by WayneTradeFr
1 stars

This EA is a trend following robot for XAUUSD on MetaTrader 5. It enters trades using Donchian channel breaks with an ensemble of three periods (30, 60, 120) requiring a minimum of 2 votes. Multiple filters including t-statistic, efficiency ratio, volatility regime, session, spread, news, higher timeframe, and channel

MT5 Trading robot Trend following
Updated 2 weeks ago None stated GitHub repository of Donchian Trend Follow EA

Broda Forex Bot

by lubowasahid-design
1 stars

Broda Forex Bot is an automated Expert Advisor for MetaTrader 5 that executes trades based on an Exponential Moving Average (EMA) crossover filtered by Relative Strength Index (RSI) ranges. It calculates dynamic stop loss levels using the Average True Range (ATR) and sets take profit targets according to a defined risk

MT5 Trading robot Indicator crossoverTrend following
Updated 2 weeks ago None stated GitHub repository of Broda Forex Bot

FvgGold

by levelium
1 stars

The FvgGold EA is a MetaTrader 5 trading robot for XAUUSD gold. It detects Fair Value Gaps on M15 timeframe, scoring them for quality including size, displacement, HTF alignment, freshness and premium discount. It requires Order Block confluence and filters trades by H1 EMA trend bias and killzone sessions for London a

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 2 weeks ago None stated GitHub repository of FvgGold
1 stars

MtApi Connection Bridge is a technical utility designed to link MetaTrader 4 and 5 terminals with external software environments. It acts as an API gateway using a dedicated DLL to pass commands and data between the platform and a remote application over a specified network port. The expert advisor handles various even

MT4MT5 Copier & bridge
Updated 2 weeks ago None stated GitHub repository of MtApi Connection Bridge

MT5 Core Framework

by tinhha7949
1 stars

The MT5 Core Framework allows installation and running of MetaTrader 5 on Ubuntu VPS. Scripts handle preparation, desktop setup with VNC, MT5 compilation, login, and execution in tmux sessions. The EA MT5Core.mq5 monitors terminal health and reports connection details every 30 seconds. It provides TradeExecution.mqh fo

MT5 Framework & template
Updated 2 weeks ago None stated GitHub repository of MT5 Core Framework

AIEA Trader

by johanjumahat
1 stars

AIEA Trader is an autonomous MQL5 Expert Advisor that executes trades based on multi-indicator confidence scores from RSI, EMA crossover, Bollinger Bands, MACD, and Stochastic. It exits trades according to learned patterns and optimizations from completed trade analysis. Risk controls include percentage risk per trade,

MT5 Trading robot Indicator crossoverAI / machine learningNews
Updated 2 weeks ago None stated GitHub repository of AIEA Trader

Gold Sweep EA

by sepehrkafaeinezhad-hue
1 stars

GoldSweepEA is a MetaTrader 5 expert advisor for XAUUSD. On each closed signal bar, default M15, it enters when price sweeps the extreme of a lookback window and closes back inside, optionally requiring a reversal candle. A higher-timeframe fast and slow EMA filter can restrict direction. Stop loss is placed beyond the

MT5 Trading robot SMC / ICT / price action
Updated 2 weeks ago None stated GitHub repository of Gold Sweep EA

MT5 Trade Copier

by bpareshgit
1 stars

This EA copies all open trades from a provider MetaTrader 5 account to receiver accounts on the same or different machines. It supports local sync via shared files and remote sync via FTP upload and HTTP download. Trades are mirrored including openings, SL/TP adjustments, and closures. The copier uses a magic number to

MT5 Copier & bridge

XAU Trading Bot

by Alexdev257
1 stars

XAU Trading Bot is a MetaTrader 5 expert advisor for gold trading. It operates in signal-only mode to issue alerts or auto-trade mode to open and manage positions on XAUUSD. The EA follows OTL concepts using BuBe structure, 12 specific setups including failbreakouts, inside bar breakouts, EMA200 retests, order blocks,

MT5 Trading robot SMC / ICT / price actionMulti-strategyMartingale High risk
Updated 2 weeks ago None stated GitHub repository of XAU Trading Bot

Repaint Probe

by allanninal
1 stars

Repaint Probe is a MetaTrader 5 Strategy Tester expert that never opens trades. On each new bar it copies selected indicator buffers for the bar that just closed and stores those values. It also counts any non-empty readings on the forming bar. When the test ends it rereads the same bars and counts values that later ch

MT5 Utility
Updated 2 weeks ago Custom licence GitHub repository of Repaint Probe
1 stars

The candlestick signal alerts indicator identifies 13 classic candlestick patterns on closed bars only, marking them with arrows and labels. It sends alerts for new pattern completion. The tool checks signal buffers and uses live buffers to avoid repainting risks. Inputs specify the indicator path, parameters, buffers

MT5 Utility
Updated 2 weeks ago Custom licence GitHub repository of Candlestick Signal Alerts

Browse by Category

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