Synced with GitHub · updated hourly

Expert Advisor Library

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

136 EAs match Clear filters

Darwinex DWX Connect

by darwinex
232 stars

DWX Connect is an open-source bridge that links external trading strategies written in Python, C#, or Java to MetaTrader 4 and 5. It functions as a server EA that facilitates communication via file-based messaging, allowing users to execute trades and subscribe to market data without coding in MQL. The EA manages trade

MT4MT5 Copier & bridge
Updated 1 year ago BSD-3-Clause GitHub repository of Darwinex DWX Connect

Telegram API Signal Bot

by sholafalana
220 stars

Telegram API Signal Bot is a notification utility for MetaTrader 4 designed to broadcast trading activity to external communication channels. The EA monitors the terminal for order events, including executions and partial closes, and transmits the details to a Telegram group or channel using the Telegram Bot API. It of

MT4 Copier & bridge
Updated 3 years ago None stated GitHub repository of Telegram API Signal Bot
109 stars

MetaTrader 5 To Telegram is a utility expert advisor designed to bridge a MetaTrader 5 terminal with a Telegram bot. It monitors the trading account for updates and broadcasts notifications regarding orders, deals, and active positions to a specific user, group, or channel. The EA uses a timer-based system to process i

MT5 Copier & bridge

MT5 REST API Server

by mikha-dev
97 stars

This utility for MetaTrader 5 transforms the trading terminal into a REST API server, enabling external software to control trading operations via HTTP. It facilitates remote account monitoring, price retrieval, and full trade execution, including market orders, pending orders, and partial closes. The system supports a

MT5 Copier & bridge
Updated 7 years ago None stated GitHub repository of MT5 REST API Server

MetaTrader 4 Bridge

by BonneVoyager
84 stars

This expert advisor provides a communication layer between MetaTrader 4 and external software applications via the ZeroMQ protocol. It operates as a server that listens for remote commands to open, modify, or delete market and pending orders. The system features a request-response mechanism and a dedicated push server

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of MetaTrader 4 Bridge

Hitback ZMQ Bridge

by EricSchles
59 stars

This expert advisor functions as a data bridge for streaming real-time market information from MetaTrader 4 and 5 to external applications. It utilizes the ZeroMQ library to transmit price ticks and order book updates to a remote server. The tool is intended for developers building quantitative trading platforms or dat

MT4MT5 Copier & bridge
Updated 6 years ago Apache-2.0 GitHub repository of Hitback ZMQ Bridge

Sharing Is Caring

by wait4signal
58 stars

Sharing Is Caring is a MetaTrader 5 trade copier designed for local or remote synchronization between trading accounts. It operates in either provider or receiver mode, utilizing CSV files for local communication and FTP or HTTP for remote data transfer. The tool supports proportional lot sizing adjusted for balance an

MT5 Copier & bridge
Updated 2 years ago GPL-3.0 GitHub repository of Sharing Is Caring

Neo Trader

by diliproshitha
51 stars

Neo Trader is an order execution bridge that facilitates the transfer of trade data from TradingView to MetaTrader 4 and 5 terminals. Operating through a local socket server and a browser extension, it allows users to execute trades directly from TradingView position drawing tools. The expert advisor handles market and

MT4MT5 Copier & bridge
Updated 1 year ago Apache-2.0 GitHub repository of Neo Trader

Telegram Trading Bot

by fabioo29
41 stars

This MetaTrader 5 expert advisor functions as a remote management bridge, enabling users to execute and oversee trades through Telegram messages. It supports market and limit orders with user-defined stop losses and handles trade modifications such as closing positions or adjusting stop levels remotely. The tool featur

MT5 Copier & bridge

MT4 TCP Server

by nuric
38 stars

This framework enables MetaTrader 4 to function as a TCP server using Winsock bindings, allowing external applications to connect over a network. It facilitates bidirectional communication, enabling users to stream real-time price data to external environments or execute trading commands remotely. The repository includ

MT4 Copier & bridge
Updated 4 years ago MIT GitHub repository of MT4 TCP Server

MySQL Trade Replicator

by femtotrader
38 stars

This MetaTrader 4 expert advisor facilitates trade copying between separate accounts across different brokerages using a MySQL database as a bridge. It consists of a master script that records trades and a slave script that replicates them. The tool supports volume scaling via multipliers or fixed lot sizes, trade dire

MT4 Copier & bridge Archived
Updated 8 years ago BSD-2-Clause GitHub repository of MySQL Trade Replicator

Vnpy Mt5 Gateway

by veighna-global
29 stars

This expert advisor serves as a bridge between MetaTrader 5 and the VeighNa Evo quantitative trading framework. It uses ZeroMQ sockets and JSON messages to enable remote control of the terminal via Python. The system supports market data subscriptions, order execution, and history queries. It is designed specifically f

MT5 Copier & bridge

Telegram Signal Trader

by nguemechieu
25 stars

This expert advisor bridges MetaTrader 4 and MetaTrader 5 with Telegram to facilitate signal-based trading and remote account management. It can execute trades from external signals or generate its own alerts using built-in indicators such as Ichimoku, Bollinger Bands, and Momentum. The software includes the ability to

MT4MT5 Copier & bridge NewsMulti-strategy
Updated 2 years ago Apache-2.0 GitHub repository of Telegram Signal Trader

MetaTrader NodeJS Bridge

by peterszombati
25 stars

This expert advisor acts as a communication bridge between MetaTrader 4 and NodeJS environments using the ZeroMQ protocol. It enables external applications to programmatically control trading functions, such as opening, modifying, or closing market and pending orders. The system supports fetching account info, price hi

MT4 Copier & bridge
Updated 2 years ago Custom licence GitHub repository of MetaTrader NodeJS Bridge
24 stars

Metatrader WebSocket Tickers is a data bridge for MetaTrader 5 that streams real-time ticker updates to external servers. It allows developers to export live market data for use in third-party applications or custom analysis tools via the WebSocket protocol. The utility monitors a specific list of symbols and employs a

MT5 Copier & bridge

Market Analysis ML Bridge

by Financial-ML
24 stars

This MetaTrader 4 expert advisor serves as a ZeroMQ server to bridge the trading terminal with external Python environments for machine learning analysis. It facilitates real-time data export, including price action and nineteen technical indicators like RSI and MACD, to train predictive models. The EA receives trade e

MT4 Copier & bridge AI / machine learning
Updated 7 years ago None stated GitHub repository of Market Analysis ML Bridge
22 stars

This MetaTrader 4 expert advisor acts as a bridge between the trading platform and an external NodeJS application. It utilizes the WebRequest function to send real-time data, including bid and ask prices, to a local server during initialization, deinitialization, and on every price tick. The tool allows developers to p

MT4 Copier & bridge
Updated 5 years ago None stated GitHub repository of MetaTrade 2 NodeJS

MT4 Ticks To MT5

by JafferWilson
19 stars

This utility synchronizes tick data and historical price information from MetaTrader 4 to MetaTrader 5 in real-time. It utilizes a socket communication library to transmit data between the two platforms, requiring an active expert advisor on both terminals. The receiver component creates custom symbols in the MetaTrade

MT4MT5 Copier & bridge
Updated 6 years ago LGPL-3.0 GitHub repository of MT4 Ticks To MT5

PyMQL5

by MaiconBaggio
19 stars

PyMQL5 is a bridging tool that connects Python 3 environments with MetaTrader 5 via a UDP socket. The Expert Advisor functions as a local server, allowing external Python scripts to query historical time series data, current market prices, and account status. It provides comprehensive trading capabilities, enabling the

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

Python Mql5 Sockets

by RafaelFenerick
19 stars

This MetaTrader 5 utility establishes a bridge between the trading platform and Python environments using socket communication. It operates as a client that connects to a specified server to exchange string data at regular intervals. The tool facilitates bi-directional data transmission, allowing users to send messages

MT5 Copier & bridge
Updated 8 years ago GPL-3.0 GitHub repository of Python Mql5 Sockets

Mql5 Telegram Connection

by RafaelFenerick
18 stars

This MetaTrader 5 expert advisor functions as a communication bridge between the trading platform and a Telegram bot. It enables users to interact with MetaTrader 5 remotely by processing incoming messages and responding to specific commands. The tool uses a timer-based polling system to check for new messages, current

MT5 Copier & bridge
Updated 6 years ago None stated GitHub repository of Mql5 Telegram Connection
15 stars

This expert advisor establishes a bidirectional TCP communication bridge between MetaTrader 5 and a Python-based server. It functions as a client that transmits real-time symbol data and bid prices to an external environment on every price change. The implementation utilizes the Windows Ws2_32 library and a dedicated s

MT5 Copier & bridge

Mt5 Rest Api

by DevRico003
13 stars

This MetaTrader 5 expert advisor functions as a bridge, transforming the trading terminal into a REST API server for external algorithmic systems. It allows developers to execute trades, manage open positions, and retrieve historical candlestick data or account information using standard HTTP requests. The tool support

MT5 Copier & bridge
Updated 9 months ago None stated GitHub repository of Mt5 Rest Api
13 stars

This MetaTrader 5 expert advisor synchronizes trading activity between multiple terminal instances using a local file-based communication method. It features a dual-mode system where a master account writes current position data, including symbols, volumes, and price levels, to a binary file. Slave accounts monitor thi

MT5 Copier & bridge
11 stars

This MetaTrader 5 tool establishes a local socket server to facilitate communication between the trading platform and external Python applications. It uses a millisecond timer to monitor for incoming client connections and process received string commands. The utility acts as a bridge, allowing external scripts to inte

MT5 Copier & bridge
Updated 4 years ago None stated GitHub repository of Python MT4 Socket Server
10 stars

MT Live is a data streaming bridge for MetaTrader 5 that transmits real-time account information and trade data to the metatrader.live web service. It allows users to monitor their terminal activity remotely via a web browser, REST API, or WebSockets. The EA transmits details such as balance, equity, margin, and open p

MT5 Copier & bridge

MT4 Rest API Server

by mikha-dev
10 stars

This expert advisor functions as a bridge that transforms a MetaTrader 4 terminal into an HTTP REST server. It enables external applications to communicate with the trading platform using HTTP requests via a defined host and port. The tool manages command processing through a millisecond timer and includes an IP-based

MT4 Copier & bridge
Updated 7 years ago None stated GitHub repository of MT4 Rest API Server
10 stars

This expert advisor functions as a communication bridge between MetaTrader 4 and external software using the ZeroMQ messaging protocol. It enables a Python client to interact with the trading platform through a local server implementation on the MT4 terminal. The EA manages PUSH and PULL sockets to facilitate the excha

MT4 Copier & bridge
Updated 7 years ago None stated GitHub repository of MetaTrader 4 Zmq Server
10 stars

This Expert Advisor serves as a communication interface between MetaTrader 5 and external applications via the ZeroMQ messaging protocol. It establishes a TCP server using a REP socket to listen for incoming data and trading commands from external environments like Python. The EA runs on a high-frequency millisecond ti

MT5 Copier & bridge
9 stars

This MetaTrader 4 expert advisor acts as a bridge between Discord and the trading platform. It monitors specific text files in a local directory to receive commands and execute limit orders automatically. The bot utilizes Windows system calls via kernel32.dll for low-level file operations to synchronize with an externa

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of Discord Limit Adder Bot

Aurum79

by oknoorap
9 stars

Aurum79 is a connectivity bridge that links MetaTrader 5 to external JavaScript environments via a local socket server. The expert advisor transmits live price ticks and historical candle data to a Node.js client, which can then process the information using external libraries such as TensorFlow.js. It receives and exe

MT5 Copier & bridge AI / machine learning
Updated 3 years ago MIT GitHub repository of Aurum79

Telegram MT4 Copier

by pepshirley
8 stars

This MetaTrader 4 expert advisor serves as a bridge to automate trade execution based on messages from Telegram signal channels. It parses incoming text for specific commands such as market orders, pending orders, and order modifications. The tool handles trade management tasks including breakeven adjustments, stop los

MT4 Copier & bridge

MQL4 Slack

by KeisukeIwabuchi
8 stars

This MetaTrader 4 module facilitates communication between the trading platform and Slack channels. It operates as an integration tool, allowing users to programmatically send text notifications and updates directly from their Expert Advisors to a specified Slack workspace. The utility requires a Slack API key and supp

MT4 Copier & bridge
Updated 8 years ago MIT GitHub repository of MQL4 Slack

Mql4 ZeroMQ Bridge

by reuniware
8 stars

This expert advisor establishes a communication bridge between MetaTrader 4 and external applications using the ZeroMQ messaging protocol. It functions as a technical connector that enables data exchange and command execution via PUB and SUB socket patterns. The bridge supports TCP transport and requires the installati

MT4 Copier & bridge
Updated 8 years ago None stated GitHub repository of Mql4 ZeroMQ Bridge

ZeroMQ MT5 Bridge

by tobias-klingel
7 stars

This MetaTrader 5 repository provides a collection of scripts for external data communication and automated trading. It features a ZeroMQ-based bridge that utilizes TCP sockets to connect the trading platform with external environments. The system allows users to stream real-time tick data, OHLC bar rates, and custom k

MT5 Copier & bridge Indicator crossover
Updated 7 years ago None stated GitHub repository of ZeroMQ MT5 Bridge

MQL5 JSON API

by luciotato
7 stars

This MetaTrader 5 expert advisor functions as a communication bridge between the trading platform and external applications. Developed to interface with the Backtrader Python framework, it utilizes ZeroMQ sockets and JSON-formatted messaging to facilitate cross-language trading. The tool enables remote command executio

MT5 Copier & bridge
Updated 7 years ago GPL-3.0 GitHub repository of MQL5 JSON API

MT4 EA Web Interface

by moataz-metwally
7 stars

This MetaTrader 4 expert advisor acts as a communication bridge between the trading platform and an external web-based control panel. It operates as an agent that polls a remote Node.js server at regular intervals using HTTP requests to fetch commands or status updates in JSON format. The EA is intended as a framework

MT4 Copier & bridge
Updated 8 years ago None stated GitHub repository of MT4 EA Web Interface
6 stars

This MetaTrader 5 expert advisor streams real-time price updates for selected symbols to an external server via WebSockets. It monitors a predefined list of assets from the Market Watch window and broadcasts ticker data using JSON serialization. The tool implements high-frequency monitoring through a millisecond timer

MT5 Copier & bridge
Updated 1 year ago None stated GitHub repository of Ticker Publisher WebSocket

TradersPost MT5 Bridge

by TradersPost
5 stars

This MetaTrader 5 expert advisor functions as a bridge to transmit trading signals to the TradersPost platform using webhooks. It facilitates the automation of trade data delivery by constructing JSON payloads that include tickers, order actions, and volume. The repository includes a communication library and an exampl

MT5 Copier & bridge
Updated 1 year ago None stated GitHub repository of TradersPost MT5 Bridge

Tony Programa Copy Trading

by TonyPrograma
5 stars

This expert advisor is a cross-platform trade copier designed for MetaTrader 4 and MetaTrader 5. It facilitates local or remote trade replication using network sockets for low-latency communication. The system consists of mother and child components, allowing users to map specific symbol names between different brokers

MT4MT5 Copier & bridge
Updated 2 years ago None stated GitHub repository of Tony Programa Copy Trading

MT5 TradingView Bridge

by bktimmy247
4 stars

This MetaTrader 5 expert advisor functions as a bridge to execute trades originating from TradingView alerts or a custom embedded dashboard. It utilizes a local Python Flask server and file-based Inter-Process Communication to relay commands. The system supports manual execution through a floating toolbar and automated

MT5 Copier & bridge

AI Telegram Signal

by bizkut
4 stars

This MetaTrader 5 expert advisor acts as a bridge between Telegram channels and the trading terminal via a dedicated Python server. It uses a TCP socket connection to receive structured JSON data parsed by artificial intelligence from unstructured chat messages. The EA executes market or pending orders based on entry r

MT5 Copier & bridge ScalpingMulti-strategy
4 stars

This MetaTrader 5 expert advisor functions as a signal execution bridge between a Telegram channel and the trading platform. It communicates with a Python-based server via JSON to receive trade signals. The system features automated risk-based lot sizing, allowing users to define specific risk percentages per trade or

MT5 Copier & bridge

Telegram Trader Bot

by coolboydev8
4 stars

This MetaTrader 5 expert advisor serves as a bridge between Telegram and the trading platform, allowing users to execute and manage trades remotely via mobile devices. It supports instant and limit orders for buy and sell positions through simple chat commands. Beyond execution, the tool provides real-time alerts, pric

MT5 Copier & bridge

MT5-MT4 Copier

by ik9999
4 stars

This expert advisor facilitates local trade copying from MetaTrader 5 to MetaTrader 4 terminals residing on the same computer. Functioning as a sender, the tool monitors active positions and writes order data to a CSV file at short intervals. It synchronizes trade execution by detecting new entries, exits, and modifica

MT5 Copier & bridge
Updated 2 years ago None stated GitHub repository of MT5-MT4 Copier

Motshoana Trade Copier

by Kebalepile
4 stars

This MetaTrader 5 expert advisor provides a basic trade copying mechanism between different terminal instances on the same machine. It operates in two distinct modes: master or slave. In master mode, the software monitors currently open positions and writes trade details, including symbol names, volumes, and risk level

MT5 Copier & bridge
Updated 2 years ago None stated GitHub repository of Motshoana Trade Copier
4 stars

This MetaTrader 4 expert advisor acts as a bridge between external Python scripts and the trading platform using the ZeroMQ messaging library. It functions as a server that listens for remote commands to open trades, modify positions, and delete orders. Additionally, the EA can transmit real-time tick data, historical

MT4 Copier & bridge
Updated 2 years ago Apache-2.0 GitHub repository of Zmq Communicator EA

MQL5 Telegram Bot

by RightShiner
4 stars

This MetaTrader 5 expert advisor functions as a communication bridge between the trading terminal and the Telegram messaging platform. It allows users to interact with their terminal remotely by providing a bot token. The EA uses a timer-based polling system to check for incoming messages and can respond to specific co

MT5 Copier & bridge
Updated 3 years ago None stated GitHub repository of MQL5 Telegram Bot

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