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

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

MQL5 Connector

by Mukachi
4 stars

This MetaTrader 5 expert advisor serves as a bridge between the terminal and external programming languages via the ZeroMQ library. It allows developers to perform algorithmic trading and market data analysis from external environments by exposing the MQL5 API through a socket interface. The program handles JSON-format

MT5 Copier & bridge
Updated 7 years ago None stated GitHub repository of MQL5 Connector
3 stars

This MetaTrader 5 expert advisor functions as a trade communication bridge designed to synchronize platform activity with external systems via WebSockets. It monitors the terminal position list in real-time, identifying when orders are opened, adjusted, or removed. The EA serializes trade data including ticket numbers,

MT5 Copier & bridge

NT MT5 Sync Shuttle

by Galaxybigbird
3 stars

This MetaTrader 5 Expert Advisor serves as the execution module for a three-part synchronization system connecting NinjaTrader to MT5. It functions as a trade copier and hedging manager, automatically opening positions based on signals received from a central Go-based bridge server. The EA includes specialized risk con

MT5 Copier & bridge Hedging
Updated 1 year ago None stated GitHub repository of NT MT5 Sync Shuttle

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

Servidor MQL5

by kecoma1
3 stars

This MetaTrader 5 tool implements a socket server using the Windows Sockets API via a third-party DLL. It allows the platform to act as a server, listening for incoming network connections on a specified host and port. The expert advisor initializes the server and checks for incoming messages at regular intervals using

MT5 Copier & bridge
Updated 2 years ago None stated GitHub repository of Servidor MQL5

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

This MetaTrader 5 expert advisor functions as a communication bridge between the platform and an external Python environment using TCP sockets over IPv4. It facilitates the transfer of candle data, including Open, High, Low, and Close prices, from the chart to a Python server for external analysis or storage. The repos

MT5 Copier & bridge
Updated 3 years ago None stated GitHub repository of Trading Bot Socket Server
3 stars

This MetaTrader 5 expert advisor functions as a communication bridge between the platform and external programming environments using the ZeroMQ messaging library. It enables developers to send trade instructions and receive market data via TCP protocols, connecting MetaTrader to languages such as Python, R, or C++. Th

MT5 Copier & bridge
Updated 5 years ago None stated GitHub repository of Darwinex ZeroMQ Server

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

Quotes Hub

by CloudFree9
3 stars

Quotes Hub is a MetaTrader 5 data bridge designed to receive and broadcast market data to external applications. It specifically handles data feeds, including references to Interactive Brokers, and redistributes them using socket connections. The utility functions as a server, allowing other software to subscribe to li

MT5 Copier & bridge
Updated 8 years ago Apache-2.0 GitHub repository of Quotes Hub

Full MT5 MCP Server

by TradeSystemsNique
2 stars

This MetaTrader 5 expert advisor functions as a bridge between the trading terminal and external AI assistants using the Model Context Protocol (MCP). It facilitates platform control through natural language via an external C++ socket server. The software enables remote trade execution, market data retrieval, chart obj

MT5 Copier & bridge
Updated 8 weeks ago Custom licence GitHub repository of Full MT5 MCP Server

MQTT Five MQL

by chekh
2 stars

This MetaTrader 5 framework implements the MQTT 5.0 protocol natively within MQL5 without external DLL dependencies. It serves as a bridge between the trading platform and MQTT brokers, allowing for remote monitoring and data integration. The provided Status Monitor Expert Advisor tracks account metrics such as balance

MT5 Copier & bridge
Updated 2 months ago MIT GitHub repository of MQTT Five MQL

Trader CLI Bridge

by teddywaweru
2 stars

This MetaTrader 5 expert advisor serves as a communication bridge using the ZeroMQ library to connect the terminal with external command-line interfaces. It facilitates the bidirectional exchange of tick data, candle rates, and indicator values between MetaTrader and external applications. The tool is designed to recei

MT5 Copier & bridge
Updated 6 months ago None stated GitHub repository of Trader CLI Bridge

MT5 Cpp API Bridge

by Black-Diamoond
2 stars

The MT5 Cpp API Bridge is a technical integration tool for MetaTrader 5 that facilitates communication with external C++ applications using Windows Shared Memory. It acts as a middleware, providing a command-based interface for opening and closing trades, managing positions, and retrieving real-time account data. The s

MT5 Copier & bridge
Updated 8 months ago None stated GitHub repository of MT5 Cpp API Bridge

MT5 TCP Server Production

by PerplexCoder
2 stars

This MetaTrader 5 expert advisor acts as a communication bridge between the trading platform and external software via a TCP server. It enables external applications, such as Python scripts, to execute trades, modify positions, and close orders remotely. The system provides real-time market data and account information

MT5 Copier & bridge
Updated 1 year ago None stated GitHub repository of MT5 TCP Server Production

Telegram To MT5 Copier

by salmansoltaniyan
2 stars

Telegram To MT5 Copier is a utility for MetaTrader 5 that bridges communication between Telegram and the trading terminal. It retrieves messages from Telegram channels, groups, and private chats using a custom bot and displays the content directly on the active chart as comments. The tool provides real-time updates bas

MT5 Copier & bridge
Updated 1 year ago None stated GitHub repository of Telegram To MT5 Copier
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 expert advisor provides a technical demonstration of real-time communication between MetaTrader 5 and Python using TCP sockets. It functions as a data bridge, serializing MQL5 information into JSON strings to be processed by an external Python environment. The EA sends synthetic position data and receives response

MT5 Copier & bridge
Updated 2 years ago None stated GitHub repository of MQL5 Python Socket Bridge
2 stars

This MetaTrader 5 expert advisor serves as a technical bridge to integrate Python-based trading models into the platform. It facilitates the testing and validation of external models within the MetaTrader Strategy Tester by utilizing the ONNX format for cross-platform compatibility. The system allows developers to leve

MT5 Copier & bridge AI / machine learning

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

MT5 Telegram Bot

by rafaelfvcs
2 stars

MT5 Telegram Bot is a remote management tool for MetaTrader 5 that connects the trading terminal to the Telegram messaging platform. It enables users to send trade instructions directly from a chat interface to the expert advisor. The EA processes specific commands to open buy or sell positions and close existing marke

MT5 Copier & bridge
Updated 5 years ago None stated GitHub repository of MT5 Telegram Bot
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
2 stars

This expert advisor acts as a communication bridge between MetaTrader 5 and external software environments using the ZeroMQ messaging protocol. It implements a publisher-subscriber model to broadcast real-time symbol data, including bid and ask prices, as JSON strings over a network connection. The EA allows users to c

MT5 Copier & bridge

Orva MT5 Bridge

by OrvaLabs
1 stars

Orva MT5 Bridge is a data integration tool for MetaTrader 5 that streams market and account information to external backends. It captures broker-native ticks, candle data, account balances, symbol specifications, and current open positions, converting them into versioned JSON messages. Data is delivered using either HT

MT5 Copier & bridge
Updated 8 days ago None stated GitHub repository of Orva MT5 Bridge

Enigma Feed Exporter

by jeremetorresglitch
1 stars

This MetaTrader 5 expert advisor functions as a specialized data utility for exporting broker-specific market data to external files. It records historical M1 and M5 bar data and periodically snapshots live bid and ask spreads to CSV format. The tool is designed to support research pipelines by providing exact pricing

MT5 Copier & bridge
Updated 9 days ago Custom licence GitHub repository of Enigma Feed Exporter

Easy Candle Bridge

by easy-candle
1 stars

This MetaTrader 5 utility serves as a data bridge to stream M1 candle data to the Easy Candle application. It connects via a local WebSocket to transmit Open, High, Low, Close (OHLC), and volume data in JSON format. The EA handles historical data synchronization by chunking up to 500,000 bars and maintains a live conne

MT5 Copier & bridge
Updated 4 weeks ago None stated GitHub repository of Easy Candle Bridge

LTX MT5 Redis Bridge

by gsolaril
1 stars

This MetaTrader 5 expert advisor functions as a bridge between the trading platform and a Redis database using the hiredis library. It consists of two components: a data connector for streaming tick and candle information and an execution connector for handling trade events and account status. The system allows externa

MT5 Copier & bridge
Updated 6 weeks ago None stated GitHub repository of LTX MT5 Redis Bridge

Clipboard Signal Trader

by al-trade-dev
1 stars

Clipboard Signal Trader is a MetaTrader 5 utility that transforms manually copied text signals from applications like Telegram or Discord into executable orders. The software utilizes the Windows API to read the clipboard and parse trade details into a visual, editable table. It follows a human-in-the-loop philosophy,

MT5 Copier & bridge
Updated 2 months ago None stated GitHub repository of Clipboard Signal Trader

Phoelix Receiver EA

by Phoelix-Platforms
1 stars

The Phoelix Receiver EA is an automated execution bridge for MetaTrader 5 that translates signals from TradingView into live market positions via a Telegram API pipeline. It functions as a low-latency connector, polling a specific Telegram channel for trade instructions including entry, exit, and lot sizing. The adviso

MT5 Copier & bridge Trend following

This MetaTrader 5 expert advisor functions as a signal executor that bridges TradingView alerts to the platform via local JSON files. It monitors a specified directory for trade instructions, supporting market entries and various closing commands. The EA includes internal risk controls such as maximum daily loss percen

MT5 Copier & bridge

MQL Relay Executor

by naidenpetrov00
1 stars

MQL Relay Executor is a MetaTrader 5 utility designed to automate the execution of trading signals received from external platforms like TradingView. It functions as a bridge that monitors for incoming signal data and manages the subsequent trade lifecycle. The system includes logic for automated risk management, such

MT5 Copier & bridge

Telegram Trader Dashboard

by AutoTradeSignal
1 stars

This MetaTrader 5 expert advisor functions as a signal bridge and trading dashboard. It connects to an external server via a specified URL to retrieve trading signals and display account statistics directly on the chart. Users can manage positions and execute trades with predefined risk parameters, including automated

MT5 Copier & bridge
Updated 3 months ago None stated GitHub repository of Telegram Trader Dashboard

MT5 Telegram Assistant

by Sebastianlr11
1 stars

This MetaTrader 5 expert advisor functions as a monitoring and notification tool that integrates with Telegram via a bot. It tracks account activity in real-time to send alerts for trade executions, including details on entry prices, stop loss, and take profit. Upon closing a trade, it provides comprehensive data on ne

MT5 Copier & bridge

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

This MetaTrader 5 utility is designed for managing and broadcasting trading signals directly to Discord. It features a visual interface for drafting trade ideas on the chart using interactive entry and stop-loss lines. The software tracks trade states, manages position numbering, and routes alerts to specific Discord c

MT5 Copier & bridge
Updated 6 months ago Unlicense GitHub repository of DowHow Signal Service

Remote MT5 Master EA

by dryousufmesalm
1 stars

This MetaTrader 5 expert advisor serves as a bridge between a terminal and a remote SaaS backend for centralized management. It polls a web API at regular intervals to receive and execute commands such as opening orders, pausing trading, or modifying positions. The tool enforces local risk controls, including maximum l

MT5 Copier & bridge
Updated 7 months ago None stated GitHub repository of Remote MT5 Master EA

Swap Arbitrage Bridge

by fsitter42
1 stars

Swap Arbitrage Bridge is a MetaTrader 5 utility designed to export market data to an external Python environment for arbitrage analysis. It collects information on tradable symbols, specifically focusing on Forex majors and precious metals like gold and silver. The tool sends formatted JSON status updates at defined in

MT5 Copier & bridge Arbitrage
Updated 9 months ago None stated GitHub repository of Swap Arbitrage Bridge

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

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