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.

544 EAs match Clear filters

Liquidity EA

by badim04
1 stars

This MetaTrader 4 expert advisor automates trading based on liquidity and market structure concepts. It identifies price action landmarks like higher highs, higher lows, lower lows, and lower highs to determine current trend or ranging states. The robot executes trades with distinct stop loss and take profit settings f

MT4 Trading robot SMC / ICT / price actionMean reversionMartingale High risk
Updated 2 years ago None stated GitHub repository of Liquidity EA
1 stars

This MetaTrader 4 expert advisor automates a trend reversal strategy based on price action patterns and technical indicator filters. It identifies potential entry points using ZigZag, MBFX, and SMA indicators, specifically targeting reversals or pinbars at key support and resistance levels. The software includes a mult

MT4 Trading robot Trend followingMean reversionSMC / ICT / price action
Updated 2 years ago None stated GitHub repository of Simple Trend Reversal EA

Zone Recovery EA

by inubayuaji
1 stars

Zone Recovery is a MetaTrader 4 expert advisor that employs a hedging strategy to manage trades within a specific price range. It uses a recovery algorithm to open opposite positions with increased lot sizes when the market moves against the initial entry. The EA calculates a lot multiplier based on the risk-reward rat

MT4 Trading robot HedgingMartingale High risk
Updated 2 years ago None stated GitHub repository of Zone Recovery EA

Robo Expert MT4

by SennovE
1 stars

This Expert Advisor for MetaTrader 4 provides a graphical interface to streamline order placement and trade management. It automates the execution process by allowing users to define parameters for price levels, take profit, stop loss, and breakeven settings. The tool is optimized for USD-based currency pairs and accom

MT4 Utility
Updated 2 years ago MIT GitHub repository of Robo Expert MT4

Simple MA Deviation

by hsergiu
1 stars

This expert advisor for MetaTrader 4 trades based on the distance between the current price and an Exponential Moving Average. It monitors the market to identify when price has stayed on one side of the moving average for a specific number of consecutive candles. A trade is executed when the deviation in points reaches

MT4 Trading robot Mean reversion

Kelas EA Template

by syarief02
1 stars

This MetaTrader 4 expert advisor uses Relative Strength Index (RSI) levels to identify overbought and oversold conditions for trade entries. It features a layering mechanism that opens additional positions at fixed intervals defined by a pip-step parameter. The robot manages risk with hard stop loss and take profit lev

MT4 Trading robot Mean reversionGrid High risk
Updated 2 years ago None stated GitHub repository of Kelas EA Template

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

Tip Top AI

by sournk
1 stars

Tip Top AI is a price action robot for MetaTrader 4 and MetaTrader 5 that uses a proprietary candle tail length algorithm to identify market entries. The strategy calculates the average size of historical bars and monitors current candles for specific wick-to-body ratios. It enters trades when wicks exceed the body siz

MT4MT5 Trading robot SMC / ICT / price actionGridHedging High risk
Updated 2 years ago None stated GitHub repository of Tip Top AI
1 stars

This repository contains a collection of MetaTrader 4 expert advisors based on classic technical analysis and price action patterns. The robots utilize various strategies such as engulfing candles, pinbars, Heikin Ashi trends, and moving average crossovers. Risk management settings across the files include stop loss, t

MT4 Collection Trend followingIndicator crossoverMulti-strategy High risk
1 stars

MultiTerminal MultiTrader is a multi-currency trading dashboard for MetaTrader 4. It enables traders to monitor and execute orders across a wide range of symbols from a single chart interface. The EA incorporates a signal system based on high and low percentage levels and provides a graphical interface with multiple di

MT4 Trading robot Multi-strategy
Updated 2 years ago None stated GitHub repository of MultiTerminal MultiTrader

Trading Dong

by wesrambi
1 stars

Trading Dong is an automated MetaTrader 4 expert advisor developed as an academic capstone project. It analyzes market prices and executes trades based on a combination of three methodologies: Dominant Break, Supply and Demand zones, and Support and Resistance levels. The system includes visual indicators for drawing a

MT4 Trading robot SMC / ICT / price actionBreakout
Updated 2 years ago None stated GitHub repository of Trading Dong
1 stars

This repository contains a collection of MetaTrader 4 automated trading tools, including a trade copier and several strategy-based expert advisors. The primary logic utilizes dual moving average crossovers combined with momentum filters and divergence checks to identify entries. It features comprehensive risk managemen

MT4 Collection Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of MQL4 AlgoTrade Collection

Rsi BB Strategy

by jacopo93
1 stars

This expert advisor for MetaTrader 4 executes trades based on the confluence of Bollinger Bands and the Relative Strength Index (RSI). It analyzes price volatility and momentum to identify entries, allowing users to configure indicator periods and specific RSI thresholds. The EA features session management to restrict

MT4 Trading robot Mean reversion
Updated 3 years ago None stated GitHub repository of Rsi BB Strategy
1 stars

This MetaTrader 4 expert advisor implements a classic dual moving average crossover strategy. It enters long positions when a fast simple moving average crosses above a slow moving average and short positions when it crosses below. The robot includes risk management features such as automated lot sizing based on accoun

MT4 Trading robot Indicator crossoverTrend following

Indicator Data To CSV

by RafiansyahDS
1 stars

This MetaTrader 4 utility exports technical indicator data to a CSV file for external analysis, specifically targeting machine learning model development. It operates within the Strategy Tester to extract historical values from custom indicators, such as the Waddah Attar Explosion. The script logs timestamps, moving av

MT4 Utility
Updated 3 years ago None stated GitHub repository of Indicator Data To CSV

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

PSAR Trailing Stop

by levimatther
1 stars

This management tool for MetaTrader 4 and MetaTrader 5 automates the adjustment of stop-loss levels based on the Parabolic SAR indicator. It does not open new positions but instead monitors existing trades to trail their stop-loss according to current indicator values. Users can filter which trades the utility manages

MT4MT5 Trade manager
Updated 3 years ago Apache-2.0 GitHub repository of PSAR Trailing Stop

Simple Trend Reversal EA

by levimatther
1 stars

This MetaTrader 4 expert advisor automates a trend reversal strategy based on price action patterns and technical indicators like ZigZag, MBFX, and Moving Averages. It features a dashboard to monitor multiple pairs, identifying setups such as pin bars and trendline breaks near support and resistance levels. Trade manag

MT4 Trading robot Trend followingMean reversionSMC / ICT / price action
Updated 3 years ago None stated GitHub repository of Simple Trend Reversal EA

Calculo SL TP

by DayiCuellar
1 stars

This MetaTrader 4 expert advisor functions as a manual trade management tool. It creates a graphical user interface panel directly on the chart, allowing traders to input specific price levels for protective measures. The EA specifically focuses on calculating and applying stop loss and take profit levels for manually

MT4 Trade manager
Updated 3 years ago None stated GitHub repository of Calculo SL TP

Rsi MM

by DayiCuellar
1 stars

The Rsi MM is an automated trading tool for MetaTrader 4 that combines Relative Strength Index oscillators with a Moving Average trend filter. The system identifies potential market entries when RSI reaches overbought or oversold thresholds, using the Moving Average to confirm the broader trend direction. It features b

MT4 Trading robot Mean reversionTrend following
Updated 3 years ago None stated GitHub repository of Rsi MM

Trading Central Robot

by jeremethods
1 stars

Trading Central Robot is a MetaTrader 4 expert advisor designed to automate trades based on technical levels, likely sourced from external analysis tools. The EA scans chart objects to identify pivot, support, and resistance points. When new levels are detected, it enters a trade in the identified direction with a fixe

MT4 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Trading Central Robot

Signal Provider API

by pepshirley
1 stars

This expert advisor for MetaTrader 4 acts as a bridge between an external signal API and the trading terminal. It automatically parses incoming trade commands for entries, exits, and modifications like moving to breakeven or performing partial closes. The EA handles risk through fixed lot sizes or percentage-based allo

MT4 Copier & bridge

Trading Algo Builder

by pepshirley
1 stars

Trading Algo Builder is a MetaTrader 4 expert advisor designed to help traders construct automated strategies without manual coding. It features a modular system where users can combine up to four different indicator signals, supporting both built-in MetaTrader indicators and custom external files. Signal logic include

MT4 Trading robot Indicator crossoverBreakoutMean reversion

Sentiment Alerter

by pepshirley
1 stars

This MetaTrader 4 expert advisor acts as an information relay tool, sending market sentiment reports directly to a Telegram chat. It monitors major currency pairs and allows for custom symbol mapping, such as linking indices or commodities to specific broker tickers. The EA utilizes a Telegram bot token and chat ID for

MT4 Utility
1 stars

Strawberry Strategy Tester is a MetaTrader 4 expert advisor designed for automated trading and strategy evaluation. It implements Bollinger Band-based entry logic and offers multiple lot sizing methods, including fixed lots, addition, and multiplication. The use of lot multiplication suggests the expert advisor utilize

MT4 Trading robot Indicator crossoverMartingaleGrid High risk
Updated 3 years ago None stated GitHub repository of Strawberry Strategy Tester

MT4 Trail Stoploss

by puneethdc99
1 stars

This MetaTrader 4 expert advisor functions as a trade manager to automate the trailing of stop-loss levels for active positions. It monitors trades matching a specific magic number and symbol, activating only after the profit reaches a predefined pip threshold. Once triggered, the EA adjusts the stop-loss to maintain a

MT4 Trade manager

EABOTS Collection

by AlexDotel
1 stars

This repository contains a collection of MetaTrader 4 expert advisors and utilities focusing on technical indicator strategies. The core EA, MACROSS, initiates positions based on simple moving average crossovers and filters entries using the Relative Strength Index. It incorporates risk controls through ATR-based stop

MT4 Collection Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of EABOTS Collection

MT4 Connector Server

by Kurokawa-kun
1 stars

This expert advisor acts as a server-side bridge for MetaTrader 4, allowing external programs written in Java or Python to control the platform. It utilizes the Windows API to establish communication through named pipes, enabling the execution of MQL4 functions within external environments. The EA is intended as a foun

MT4 Copier & bridge
Updated 3 years ago None stated GitHub repository of MT4 Connector Server

Ahaad EA Collection

by SimonMonnier
1 stars

This MetaTrader 4 repository contains a collection of trading tools and expert advisors, primarily focused on the Darwinex ZeroMQ bridge. The main server component enables external communication between MetaTrader and other programming environments using push, pull, and publish sockets. The collection also includes sev

MT4 Collection Indicator crossoverMulti-strategy
Updated 3 years ago None stated GitHub repository of Ahaad EA Collection

Orchard OCO System

by OrchardForexTutorials
1 stars

This MetaTrader 4 expert advisor implements a One-Cancels-the-Other (OCO) order management system, primarily developed for educational purposes. The robot automatically places pairs of pending buy stop and sell stop orders at a user-defined distance from the current market price once per bar. When the logic detects tha

MT4 Trading robot Breakout
Updated 3 years ago None stated GitHub repository of Orchard OCO System

Candle Stick Price Action

by FlatrockITSolutions
1 stars

This MetaTrader 4 utility serves as a visual aid for traders focusing on price action and candlestick patterns. It displays the current bid price and utilizes on-chart labels to highlight specific technical formations, such as Doji candles, helping users recognize market setups. The tool operates by creating graphical

MT4 Utility SMC / ICT / price action
Updated 3 years ago None stated GitHub repository of Candle Stick Price Action

Simple Order Panel

by AugustinasTheFox
1 stars

This MetaTrader 4 expert advisor functions as a manual trading utility by providing a graphical interface on the chart. It allows users to execute buy and sell orders directly through on-screen buttons rather than using the standard terminal menus. The tool includes an editable text field for setting the lot size manua

MT4 Utility
Updated 3 years ago None stated GitHub repository of Simple Order Panel
1 stars

This MetaTrader 4 expert advisor is designed to trade high-impact fundamental events such as NFP and CPI releases. It features a manual on-chart button that, when clicked, prepares logic for a price breakout. The EA tracks pending orders and is programmed to cancel the opposing side once a buy stop or sell stop is trig

MT4 News trading NewsBreakout
Updated 3 years ago None stated GitHub repository of Fundamentals News Trader

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

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

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

NLF Trading Bot

by NorVirae
1 stars

This automated expert advisor for MetaTrader 4 and MetaTrader 5 utilizes a strategy inspired by the Never Losing Formula. It employs technical indicators including the Stochastic Oscillator, Relative Vigor Index, and Envelopes to identify market entries. To manage trades, the EA incorporates a secondary entry mechanism

MT4MT5 Trading robot HedgingMartingaleIndicator crossover High risk
Updated 4 years ago None stated GitHub repository of NLF Trading Bot

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

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

This expert advisor for MetaTrader 4 is a multi-strategy robot focused on the recovery zone management technique. It offers a wide array of entry signals, including RSI, MACD, Bollinger Bands, and mean-reversion models. When initial trades move into a loss, the system employs an averaging recovery strategy with lot mul

MT4 Trading robot Multi-strategyMean reversionIndicator crossover High risk

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

This repository is a collection of several MetaTrader 4 expert advisors, including robots based on RSI and MACD crossovers, engulfing patterns, and pending order strategies. The primary code provided utilizes a combination of the Relative Strength Index (RSI) for overbought and oversold detection and Moving Average Con

MT4 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 4 years ago None stated GitHub repository of Forex Code MQL4 Collection
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
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

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