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.

67 EAs match Clear filters

Trade Copy MT4

by vobornik
256 stars

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

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

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

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

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

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

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

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

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
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

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

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

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
4 stars

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

MT4MT5 Copier & bridge Martingale High risk
Updated 1 year ago None stated GitHub repository of MT4-MT5 Signal Copier
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

MT Copier Client

by Basttyy
4 stars

This MetaTrader 4 expert advisor functions as a client-side trade copier designed to receive and execute signals from a remote server. It utilizes socket communication to establish a link with a specified hostname and port, identifying the client by account number upon connection. The EA monitors for incoming data usin

MT4 Copier & bridge
Updated 3 years ago None stated GitHub repository of MT Copier Client

Buy Hold Sell Close

by kmafutah
3 stars

This expert advisor acts as a communication bridge between MetaTrader 4 or 5 and external Python applications. Based on the Darwinex Labs server framework, it uses text files to exchange market data and trade commands, allowing users to implement machine learning models or reinforcement learning strategies. It includes

MT4MT5 Copier & bridge AI / machine learning
Updated 2 years ago None stated GitHub repository of Buy Hold Sell Close

Discord Telegram Client

by nguemechieu
3 stars

This MetaTrader 4 utility serves as a bridge between the trading terminal and external platforms like Telegram and Discord. It functions as a comprehensive manual trading panel, enabling users to execute various order types and manage positions directly from the chart interface. The EA integrates indicator-based signal

MT4 Copier & bridge Multi-strategy

Email To Order

by mikha-dev
3 stars

This MetaTrader 4 expert advisor functions as a bridge between a POP3 email inbox and the trading terminal. It monitors a specified email account for incoming messages containing trade signals and automatically executes orders on the platform. The tool supports secure SSL connections and allows users to configure fixed

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of Email To Order
2 stars

This expert advisor functions as a bridge connecting MetaTrader 4 to Python through a MySQL database and a custom C++ DLL. It facilitates the real-time extraction of market data, including tick prices, account equity, and order information, which are stored in database tables for advanced analysis. The tool also suppor

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of MT4 MySQL Python Bridge

TonTai Simple Copier

by piyawatton
2 stars

This MetaTrader 4 expert advisor functions as a trade copying utility designed to synchronize orders between different accounts. It utilizes a master-slave architecture where the master instance exports trade data to a common CSV file and the slave instance replicates those positions. The tool provides options for lot

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of TonTai Simple Copier
2 stars

This MetaTrader 4 utility acts as a bridge between custom technical indicators and Telegram channels for signal distribution. It monitors specific indicator buffers to identify trade entries and transmits alerts to a designated chat via the Telegram API. The tool is specifically configured for binary options workflows,

MT4 Copier & bridge Martingale High risk

Telegram Alert MT4 Bot

by miniTalDev
2 stars

This expert advisor for MetaTrader 4 acts as a bridge between the trading terminal and Telegram. It monitors the account for new, modified, or closed orders and automatically sends the details to a specified Telegram channel or group using the Telegram Bot API. The tool functions as a signal transmitter, allowing users

MT4 Copier & bridge
Updated 3 years ago None stated GitHub repository of Telegram Alert MT4 Bot

Rest API MT4 Order

by LilyRisa
2 stars

This bridge for MetaTrader 4 enables external control of the trading platform via a REST API. By connecting to a PHP-based web server through a socket, it allows users to perform trading operations like opening and closing orders, fetching trade history, and listing symbols using standard HTTP requests. The expert advi

MT4 Copier & bridge
Updated 3 years ago None stated GitHub repository of Rest API MT4 Order

Mt4api ZeroMQ

by RedDawe
2 stars

This expert advisor for MetaTrader 4 acts as a bridge using the ZeroMQ protocol to connect the trading terminal with external environments. It facilitates bidirectional communication, allowing users to send trade commands and retrieve market data or account status via TCP sockets. The system supports multiple instrumen

MT4 Copier & bridge
Updated 5 years ago None stated GitHub repository of Mt4api ZeroMQ

ZeroMQ MetaTrader Bridge

by bendicsekb
2 stars

This MetaTrader 4 Expert Advisor acts as a communication interface using the ZeroMQ library to link the terminal with external software. It functions as a server through REP and PUSH sockets, allowing external logic to execute trades via TCP ports. The tool includes standard risk controls such as stop loss and take pro

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

This utility bridges MetaTrader 4 to Telegram by sending real-time trading notifications to specific channels or groups. It monitors the trading terminal for various execution events, including new market orders, pending order placements, order fills, and trade closures. The tool uses the Telegram Bot API to deliver fo

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of Telegram Signal Alert

MT4 Executor

by jmahiques
2 stars

This MetaTrader 4 expert advisor functions as a communication bridge between the trading platform and an external web-based backend server. It utilizes the WebRequest function to send real-time bid and ask prices, synchronize instrument details, and perform connectivity probes with a server. Designed as an educational

MT4 Copier & bridge
Updated 7 years ago GPL-3.0 GitHub repository of MT4 Executor

Telegram Trader Bot

by nathanzilgo
2 stars

This expert advisor acts as a communication bridge between MetaTrader 4/5 and external applications via the ZeroMQ protocol, specifically aimed at executing trades from a Telegram group. It runs a local server within the terminal to receive trading instructions and optionally publish market data. The Python-based backe

MT4MT5 Copier & bridge
Updated 7 years ago None stated GitHub repository of Telegram Trader Bot

Trader App ZeroMQ Bridge

by FarzanehCS
2 stars

This expert advisor serves as a bridge between MetaTrader 4 and external applications using the ZeroMQ messaging protocol. It allows external programs to communicate with the terminal over TCP sockets to send trading commands or retrieve market data. The EA functions as a server, hosting REP and PUSH sockets to handle

MT4 Copier & bridge AI / machine learning
Updated 7 years ago None stated GitHub repository of Trader App ZeroMQ Bridge

Trade Copy Slave

by lofyer
2 stars

This MetaTrader 4 expert advisor functions as a trade copier, specifically acting as the slave component to receive and replicate orders from a source file. It features flexible lot sizing options, allowing users to apply a scaling coefficient, force a fixed lot size, or calculate volume based on the account balance. T

MT4 Copier & bridge Martingale High risk
Updated 8 years ago None stated GitHub repository of Trade Copy Slave

BullShift

by JupitX
1 stars

BullShift is a MetaTrader 4 expert advisor that functions as a socket server bridge to connect the trading platform with external software applications. It facilitates automated trading in forex and cryptocurrency markets by listening for incoming data on a user-defined port. The EA manages socket connections, handles

MT4 Copier & bridge
Updated 5 months ago None stated GitHub repository of BullShift

MT4 MT5 Bridge

by okorie22
1 stars

This collection of tools for MetaTrader 4 and 5 provides a bridge between trading terminals and external communication channels. It includes an alert system that broadcasts trade events, terminal screenshots, and signals to Telegram groups or channels. Additionally, it features an execution module that reads trading si

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

Flask SQL MT4 Price Bridge

by autodidacttrade
1 stars

This MetaTrader 4 expert advisor functions as a data bridge to external web services. It automatically captures bid and ask prices for specific financial instruments and transmits them to a Python Flask server via HTTP POST requests. The system packages market data into JSON format on every tick and sends it to a confi

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of Flask SQL MT4 Price Bridge

Metatrader Copy Trader

by Monkeyattack
1 stars

This MetaTrader 4 expert advisor system facilitates local trade copying between different terminals using shared CSV files. It consists of a master EA to broadcast trades and a follower EA to execute them. The follower includes flexible risk management such as percentage-based lot sizing, daily loss limits, and a lot m

MT4 Copier & bridge

Cloud Copy MT4

by bizkut
1 stars

Cloud Copy MT4 is a trade copying utility for MetaTrader 4 that enables order synchronization between different terminal instances via a cloud-based server. The system uses a Sender and Receiver architecture, transmitting trade data such as ticket numbers, lot sizes, and price levels using JSON over socket connections.

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of Cloud Copy MT4

Trade Copier Receiver

by the-SantosLab
1 stars

This MetaTrader 4 expert advisor functions as the receiving component of a trade copying system. It monitors a shared CSV file in the common terminal folder to replicate positions from a source account onto the local account. The EA provides multiple risk management options including lot size multipliers, fixed lot ove

MT4 Copier & bridge Martingale High risk
Updated 2 years ago None stated GitHub repository of Trade Copier Receiver
1 stars

This MetaTrader 4 expert advisor serves as a bridge connecting the trading platform to external Indian brokerage APIs such as Zerodha and Finvasia. It utilizes the ZeroMQ library to transmit trade signals from the chart to a local Python environment or executable application. The tool monitors chart events for the crea

MT4 Copier & bridge

Trade Bot X

by Chiayingcy
1 stars

Trade Bot X is a MetaTrader 4 expert advisor designed to bridge a trading account with the Telegram messaging platform. It allows users to manage and potentially close trades remotely using Telegram bot commands. The software's primary management feature is an automated break-even function, which adjusts open positions

MT4 Copier & bridge
Updated 2 years ago None stated GitHub repository of Trade Bot X

Trade Copy Slave

by sahebkaran1
1 stars

This trade copier for MetaTrader 4 synchronizes orders from a master account to a slave instance using file-based communication. It provides flexible volume management, allowing users to copy original lot sizes, apply multipliers, or use fixed lot values. The tool includes account-level risk controls that can trigger b

MT4 Copier & bridge Martingale High risk
Updated 3 years ago None stated GitHub repository of Trade Copy Slave

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