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
1,534 EAs match Clear filters

Remote MetaTrader

by glourencoffee
1 stars

Remote MetaTrader is a bridge for MetaTrader 4 that enables remote command execution through external applications, primarily Python. It functions by initializing a server within the platform using socket-based communication, supporting both request-reply and publish-subscribe architectures. The expert advisor facilita

MT4 Copier & bridge
1 stars

This MetaTrader 5 expert advisor is a quantitative trading framework that integrates eight distinct strategies into a single controller. It manages automated entries and exits for various systems while monitoring overall currency exposure to maintain risk within a defined limit. The EA is specifically designed for Fore

MT5 Trading robot Multi-strategy

Watchdog T

by FabioSol
1 stars

Watchdog T is a monitoring utility for MetaTrader 4 designed to oversee the activity of other expert advisors. It functions by tracking a specific magic number across both open trades and account history. If no new trade activity, such as opening or closing a position, is detected within a user-defined time threshold,

MT4 Utility
Updated 3 years ago None stated GitHub repository of Watchdog T

Bear Treading

by Polobear9
1 stars

Bear Treading is a MetaTrader 5 robot developed using the MQL5 standard library expert classes. It primarily executes trades based on Relative Strength Index (RSI) signals, incorporating Moving Average parameters for trend identification. The system employs traditional risk controls, including hard stop loss and take p

MT5 Trading robot Mean reversionIndicator crossover
Updated 3 years ago None stated GitHub repository of Bear Treading

Place Order Telegram

by thaitruong-lab
1 stars

This MetaTrader 4 expert advisor enables remote trade execution and management via a Telegram bot interface. It allows users to place market orders with pre-defined risk parameters, automatically calculating position sizes as a fixed percentage of the account balance. The utility supports specific stop loss and take pr

MT4 Copier & bridge
Updated 4 years ago None stated GitHub repository of Place Order Telegram

MQL Telegram Bot

by HuManbaqeri
1 stars

This MetaTrader 4 expert advisor serves as a communication bridge between the trading terminal and the Telegram messaging platform. It implements a trade observer to monitor real-time account changes, such as trade closures, and transmits notifications to a designated Telegram bot. The tool includes a custom bot class

MT4 Copier & bridge
Updated 4 years ago None stated GitHub repository of MQL Telegram Bot

Autotrader Bot

by PaulEggo
1 stars

This MetaTrader 5 expert advisor executes trades based on price interactions with Bollinger Bands. It identifies specific crossover events, such as price moving above the upper band or below the lower band, to trigger trade logic. The system monitors candle closes relative to these volatility bands and tracks individua

MT5 Trading robot Mean reversionBreakout
Updated 4 years ago None stated GitHub repository of Autotrader Bot

Mql5 Mqtt Publish

by silviogarbes
1 stars

This utility for MetaTrader 5 enables communication between the trading platform and external systems using the MQTT protocol. It establishes a socket connection to a specified broker to publish messages and data to defined topics. The expert advisor handles packet construction manually, including headers and payload e

MT5 Copier & bridge
Updated 4 years ago None stated GitHub repository of Mql5 Mqtt Publish

MT4 Node API Bridge

by badinenisaivardhan
1 stars

This MetaTrader 4 expert advisor functions as a communication bridge between the trading platform and a Node.js backend. It enables users to execute and manage market orders through external REST API endpoints, allowing for remote trade control via web applications. The software polls a configured server for trade inst

MT4 Copier & bridge

This repository provides a collection of MetaTrader 4 and MetaTrader 5 tools, centered around a local trade copying system. The primary expert advisors allow users to publish and subscribe to trade signals between terminal instances using file-based communication. The copier supports lot sizing via ratios or fixed valu

MT4MT5 Collection Mean reversion

Cross Madante

by nosscafe66
1 stars

This MetaTrader 4 expert advisor implements a multi-indicator trading system primarily based on moving averages and Ichimoku Kinko Hyo components. It monitors price action relative to multiple timeframes, including D1, H4, and H1 high and low levels. The system features automated order execution with built-in trailing

MT4 Trading robot Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of Cross Madante
1 stars

This MetaTrader 4 expert advisor acts as a trade manager designed to automate the protection of open positions. The utility monitors active orders and adjusts stop loss levels to a break-even point or manages take profit targets based on logic contained within its internal class. It operates using both tick events and

MT4 Trade manager
Updated 4 years ago None stated GitHub repository of Break Even Take Profit

EURUSD EA Template

by himi1024
1 stars

This MetaTrader 4 repository hosts a collection of expert advisors based on a standardized automated trading template. The source files are tailored for EURUSD on the M15 timeframe, offering a modular structure for integrating custom entry and exit signals. It includes comprehensive risk management settings, allowing u

MT4 Framework & template
Updated 4 years ago None stated GitHub repository of EURUSD EA Template

Soup EA

by ArminKardan
1 stars

This MetaTrader 4 expert advisor implements a trend-following strategy using a 50-period Exponential Moving Average on the one-minute timeframe. It places pending buy stop or sell stop orders at a configurable distance from the current price when specific spread conditions are met. The system manages risk using fixed s

MT4 Trading robot Trend following
Updated 4 years ago None stated GitHub repository of Soup EA

BBTrader Trade Executer

by ArminKardan
1 stars

This expert advisor for MetaTrader 4 functions as a communication bridge between the trading terminal and an external application via WebSockets. It utilizes the JAson library to handle JSON data and a specialized socket library to maintain a connection with a server. The tool reads local configuration files to manage

MT4 Copier & bridge
Updated 4 years ago None stated GitHub repository of BBTrader Trade Executer

Quantatech Securities FX

by QuantatechSecurities
1 stars

Quantatech Securities FX provides two distinct expert advisors for MetaTrader 4, focusing on trend-following and momentum strategies. The primary MACD robot identifies entries using signal line crossovers filtered by an exponential moving average. It manages risk through fixed lot sizing with account margin checks, a s

MT4 Collection Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of Quantatech Securities FX

Signal Service Buddy

by domiflichi
1 stars

Signal Service Buddy is a signal provider utility for MetaTrader 4 that bridges trading activity to Telegram channels via a SQLite database. It acts as a monitoring tool rather than an execution robot, watching the account for new trades. Once a trade is detected, the EA logs entry prices, stop loss, and take profit le

MT4 Copier & bridge
Updated 4 years ago None stated GitHub repository of Signal Service Buddy

Siren EA

by tyohare
1 stars

Siren is a MetaTrader 4 expert advisor that automates trading based on technical indicators and multi-timeframe price levels. It utilizes the ZigZag indicator alongside multiple Exponential Moving Averages, including the 10, 20, 100, and 200 periods, to identify market trends. The EA monitors price action relative to p

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago CC0-1.0 GitHub repository of Siren EA

Deep Q Trading DWX Server

by SimonMonnier
1 stars

This MetaTrader 5 expert advisor acts as a communication bridge between the terminal and external applications, specifically tailored for reinforcement learning and Python-based algorithmic trading. It exports real-time market data, bar history, and account information to local files while processing trade commands fro

MT5 Copier & bridge AI / machine learning
Updated 4 years ago None stated GitHub repository of Deep Q Trading DWX Server
1 stars

Synergy Trade Copier is a trade duplication utility for MetaTrader 4 that mirrors orders from a source account to multiple receiver accounts on the same machine. It uses a file-based communication system to transfer trade data between export and import modules. Users can configure the tool to use fixed lot sizes or app

MT4 Copier & bridge
Updated 4 years ago None stated GitHub repository of Synergy Trade Copier

PDSF Mean Reversion

by L-M-Digital
1 stars

This MetaTrader 5 expert advisor is an educational prototype developed for a digital signal processing course at the University of Brasília. It utilizes a mean-reversion strategy based on the Volume Weighted Average Price (VWAP), entering trades when price deviates from the indicator by a specific distance. The robot s

MT5 Trading robot Mean reversion
Updated 4 years ago None stated GitHub repository of PDSF Mean Reversion
1 stars

This expert advisor serves as a bridge connecting MetaTrader 4 to external applications via the ZeroMQ messaging protocol. It enables remote control of the trading terminal, allowing external systems to execute, modify, and close market or pending orders. The EA facilitates real-time data streaming of account balances,

MT4 Copier & bridge
Updated 4 years ago None stated GitHub repository of MetaTrader 4 ZeroMQ Bridge
1 stars

This MetaTrader 4 expert advisor functions as a manual trading panel for execution and strategy testing. It creates an on-chart graphical user interface with buttons for opening buy and sell positions and fields for defining lot sizes, stop losses, and take profits. The utility provides quick management options to clos

MT4 Utility
Updated 4 years ago None stated GitHub repository of EA Backtest Manual Trader

Rsi Ma EA

by alessioena
1 stars

This MetaTrader 4 expert advisor implements a strategy combining trend-following moving averages with the Relative Strength Index for entry timing. The robot initiates buy orders when a fast moving average sits above a slow moving average, provided the RSI reflects an oversold state and price action confirms the moment

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 4 years ago None stated GitHub repository of Rsi Ma EA

Boom EA Spike Notification

by wamaithaNyamu
1 stars

Boom EA Spike Notification is a MetaTrader 5 utility designed for monitoring Boom and Crash synthetic indices. It functions as a detection tool that identifies price spikes by analyzing historical candle data. The EA scans the last 2,000 bars to establish a threshold for standard price movement, distinguishing between

MT5 Utility
Updated 4 years ago None stated GitHub repository of Boom EA Spike Notification

Malcom EA

by silkflo
1 stars

This MetaTrader 4 expert advisor executes trades based on moving average trends and price action triggers. It identifies entries by counting consecutive candles on specific sides of the MA20 and validates the broader trend using an additional MA period. The system incorporates pattern recognition to detect market types

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of Malcom EA

Vela Martillo

by rrg890
1 stars

Vela Martillo is a MetaTrader 4 expert advisor that identifies hammer and shooting star candlestick patterns through price action analysis. It evaluates the ratio of candle wicks to the total range using a configurable spike percentage threshold. The robot monitors new bar formations to detect potential reversals and f

MT4 Trading robot SMC / ICT / price action
Updated 4 years ago None stated GitHub repository of Vela Martillo

XRL8 Bot

by Gabriel-Ferraz
1 stars

XRL8 Bot is a MetaTrader 4 expert advisor designed for automated forex trading based on a simple moving average crossover system. The robot monitors price action to identify entries when a fast-period moving average crosses a slow-period moving average. It manages trades using fixed stop loss and take profit targets de

MT4 Trading robot Indicator crossover
Updated 4 years ago None stated GitHub repository of XRL8 Bot
1 stars

This MetaTrader 4 expert advisor implements a correlation-based trading strategy focused on the seven major currency groups. It utilizes the Auto Trend Forecaster custom indicator to identify market trends across multiple currency pairs simultaneously. The system monitors the aggregate profit and loss of specific curre

MT4 Collection Trend followingMulti-strategy

MQL HTTP Client

by acro5piano
1 stars

This MetaTrader 4 expert advisor acts as a technical bridge between the trading terminal and external web applications. It captures real-time market data, including bid and ask prices for the active symbol, and transmits this information to a user-defined server via HTTP POST requests in JSON format. The EA is designed

MT4 Copier & bridge
Updated 4 years ago MIT GitHub repository of MQL HTTP Client

Expert Advisors Collection

by johnsmith-mql
1 stars

This repository provides a collection of standard template expert advisors for both MetaTrader 4 and MetaTrader 5. It includes the classic MACD Sample and Moving Average robots, which demonstrate indicator-based trading logic. The MACD Sample enters positions based on MACD signal levels filtered by a moving average tre

MT4MT5 Collection Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of Expert Advisors Collection

PyMQL5

by mandrecavalcanti
1 stars

PyMQL5 is a bridge that connects Python 3 to MetaTrader 5 through a UDP socket communication layer. This expert advisor acts as a server within the MetaTrader 5 terminal, allowing external Python scripts to request market data, retrieve account information, and execute trading operations. It supports opening and closin

MT5 Copier & bridge
Updated 4 years ago MIT GitHub repository of PyMQL5

Arbitrage Algo

by baufometic
1 stars

This MetaTrader 4 expert advisor implements a latency arbitrage strategy by monitoring price discrepancies across multiple ECN brokers and liquidity pools. It tracks bid and ask prices for twenty-three currency pairs in a high-speed loop, identifying instances where prices diverge significantly across different platfor

MT4 Trading robot ArbitrageScalping
Updated 4 years ago None stated GitHub repository of Arbitrage Algo

MQL4 Trade Panel

by InvestorX
1 stars

This MetaTrader 4 expert advisor acts as a communication bridge using a socket-based architecture. It provides server and client examples to facilitate message exchange between the terminal and external applications. The tool supports basic command handling, such as retrieving current price quotes via telnet connection

MT4 Copier & bridge
Updated 4 years ago None stated GitHub repository of MQL4 Trade Panel
1 stars

This MetaTrader 5 expert advisor provides a foundation for automated trading using a multi-timeframe framework. It utilizes the Average True Range (ATR) indicator to determine dynamic stop loss levels and calculates take profit targets based on a predefined risk-to-reward ratio. The system includes built-in risk contro

MT5 Framework & template Trend following
Updated 4 years ago None stated GitHub repository of Pro Forex MQL5 Template

StrategyQuant Demo EA

by Pius-Emmanuel
1 stars

This MetaTrader 4 expert advisor is a sample trading robot generated by StrategyQuant X. It utilizes the Williams Percent Range indicator for entry signals and incorporates Average True Range components for volatility measurement. The system employs fixed lot sizing and includes risk management features such as a hard

MT4 Trading robot Mean reversion
Updated 4 years ago None stated GitHub repository of StrategyQuant Demo EA

3EMA ZigZag Bot

by Puchite
1 stars

This MetaTrader 4 expert advisor is a trend-following robot developed as an academic project for an object-oriented programming course. The system combines Exponential Moving Averages and ZigZag indicators to determine trade entries and manage positions. It features basic risk controls including a user-defined maximum

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of 3EMA ZigZag Bot

3 Bar Play EA

by i7657043
1 stars

This expert advisor for MetaTrader 5 automates trades based on the recognition of a specific three-bar candlestick formation. It looks for a small middle bar, termed a baby bar, flanked by larger outer bars to identify entry points. The system incorporates an Exponential Moving Average to filter trend direction and all

MT5 Trading robot SMC / ICT / price action
Updated 4 years ago None stated GitHub repository of 3 Bar Play EA
1 stars

This MetaTrader 4 expert advisor implements a neural network approach to trade financial markets. It generates signals by processing Moving Average data through various activation functions, including Sigmoid, TanH, and ReLu. The EA provides standard risk management features such as fixed take profit, stop loss, and a

MT4 Trading robot AI / machine learningTrend following

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 MetaTrader 4 expert advisor is an automated trading robot specifically developed for the GBPNZD currency pair on the M15 timeframe. Generated using the EA Studio software, the strategy utilizes Bollinger Bands as its primary technical indicator to determine market entries and exits. The code includes built-in risk

MT4 Trading robot Mean reversionTrend following
Updated 4 years ago None stated GitHub repository of GBPNZD EA Studio M15
1 stars

This automated trading robot is designed specifically for the AUDJPY currency pair on the H1 timeframe for MetaTrader 4. Developed using the Expert Advisor Studio platform, the software utilizes a combination of directional and volume indicators to identify entry and exit points. It incorporates standard risk managemen

MT4 Trading robot Trend following
Updated 4 years ago None stated GitHub repository of Audjpy H1 EA Studio

This repository is a collection of MetaTrader 4 expert advisors that focus on technical indicator signals. The primary EA combines four Moving Averages with Bollinger Bands to detect trend alignment and volatility conditions. It features dual-level stop loss and take profit settings, along with filters for Bollinger Ba

MT4 Collection Trend followingIndicator crossoverMean reversion

BBS Expert

by AliFadaei90
1 stars

This MetaTrader 4 expert advisor implements an automated trading strategy based on the Bollinger Bands indicator. It monitors price positions relative to the upper, lower, and middle bands on the H1 timeframe. The EA uses a series of threshold parameters to determine entry and exit points, as well as the deletion of or

MT4 Trading robot Mean reversion
Updated 4 years ago None stated GitHub repository of BBS Expert
1 stars

This MetaTrader 4 expert advisor implements a basic trend-following strategy using a Simple Moving Average. It triggers buy orders when the current price exceeds the 12-period SMA by a specific point threshold. The system manages risk through a fixed stop loss and a multi-stage trailing stop that adjusts based on favor

MT4 Trading robot Trend following
Updated 4 years ago None stated GitHub repository of Spe Candy From Strangers
1 stars

This repository contains a collection of Expert Advisors for MetaTrader 4, featuring the Combined Ergodic SSL Channel EA and a MACD-based strategy. The primary EA uses trend-following indicators for entries and provides various order management options, including trailing stops, break-even settings, and position accumu

MT4 Collection Trend followingIndicator crossover
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 4 years ago None stated GitHub repository of MtApi Connection Bridge

Fusion Plus RSI

by Muzi12345632
1 stars

Fusion Plus RSI is an automated trading expert advisor developed for the MetaTrader 5 platform, specifically targeting the Crash 500 synthetic index. The robot employs a trend-based approach by analyzing the Relative Strength Index (RSI) across two separate timeframes, the one-minute and five-minute charts. It executes

MT5 Trading robot Trend following
Updated 4 years ago None stated GitHub repository of Fusion Plus RSI

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