Synced with GitHub · updated today

Free MT4 & MT5 expert advisors

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

New EAs by RSS
265 EAs match Clear filters

Easy Backtest Pro

by jacekbialek1908
1 stars

Easy Backtest Pro is a manual trading simulator designed for the MetaTrader 4 Strategy Tester. It provides a graphical user interface that allows traders to practice execution and strategy refinement during visual mode simulation. The tool includes buttons for market and pending orders, comprehensive order management f

MT4 Utility

Jivita Expert Advisors

by rasingollam
1 stars

This collection of MetaTrader 5 expert advisors features a flagship tool that applies genetic algorithms to optimize moving average crossover strategies. The system dynamically adjusts short and long period parameters, stop loss, and take profit values based on simulated fitness and real trade performance. Risk managem

MT5 Collection Indicator crossoverTrend followingMean reversion
Updated 1 year ago Apache-2.0 GitHub repository of Jivita Expert Advisors

Trade Manager

by rasingollam
1 stars

Trade Manager is a MetaTrader 5 utility designed to assist manual traders with risk calculation and position execution. It provides an on-chart interface with buttons for market, limit, and stop orders. The EA calculates position sizes based on a user-defined risk percentage per trade and manages exits through a reward

MT5 Trade manager
Updated 1 year ago MIT GitHub repository of Trade Manager

2Order Expert

by farnadtech
1 stars

2Order Expert is a semi-automated trading tool for MetaTrader 5 designed to streamline order entry. It allows traders to execute two simultaneous orders at a specified distance from each other, using either a fixed pip value or a multiplier of the current market spread. The tool includes a graphical user interface for

MT5 Utility
Updated 1 year ago MIT GitHub repository of 2Order Expert

Malicious EA Emporium

by TyphooN-
1 stars

This MetaTrader 5 collection serves as a proof of concept to demonstrate the security risks of running unverified code. The primary script, Commission Grindr, illustrates how an account balance can be intentionally depleted through rapid trade execution that maximizes commission fees. It utilizes asynchronous trading m

MT5 Collection

MQL4 Projects Collection

by AmonCheruiyotHQ
1 stars

This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform. The included software covers a broad spectrum of trading methodologies, ranging from trend-based systems utilizing the ZigZag indicator to aggressive martingale and piramidation strategies.

MT4 Collection Trend followingMartingaleMulti-strategy High risk

Robo Trader Fibonacci

by ezequielpestana
1 stars

This MetaTrader 5 expert advisor utilizes the price range of the previous weekly candle to define four trading channels, inspired by Fibonacci principles. It monitors 15-minute price action for breakouts across the 50% midpoint of these channels. The robot automates position entry with stop loss and take profit levels

MT5 Trading robot Breakout
1 stars

JT Prop Firm Trade Manager is a risk management utility for MetaTrader 4 designed to help traders adhere to strict account drawdown and timing rules. It monitors account equity to enforce maximum daily drawdown limits and per-trade loss caps in either currency or percentage terms. The tool includes features to restrict

MT4 Risk & protection

Simple RSI Trading Bot

by ThiagoMunich
1 stars

This expert advisor for MetaTrader 5 implements a mean-reversion strategy based on the Relative Strength Index (RSI). It opens buy positions when the RSI falls below the 30 level and sell positions when it rises above 70. The robot manages trades using fixed stop loss and take profit levels defined in points. It includ

MT5 Trading robot Mean reversion
1 stars

This MetaTrader 5 library provides developers with a mechanism to detect the opening of a new bar across different timeframes. It serves as a programming utility rather than a standalone trading strategy. The repository includes an include file and a test expert advisor demonstrating two detection methods: one for mult

MT5 Framework & template

Pinbar EA

by idodidodi
1 stars

This MetaTrader 4 expert advisor implements a price action strategy focused on identifying pin bar formations. It screens for candles where the tail is at least three times the length of the body and touches an 8-period simple moving average. The EA utilizes a trend filter by calculating the slope of the moving average

MT4 Trading robot SMC / ICT / price actionMean reversion
Updated 1 year ago MIT GitHub repository of Pinbar EA

Algo Trade Expert

by alprslanymeria
1 stars

This MetaTrader 5 expert advisor functions as a data collection tool designed to export trade statistics into a CSV file. It automatically initiates a buy order at a specific time each day to generate execution data for analysis. The system monitors the account history to capture details such as opening and closing pri

MT5 Trading robot
1 stars

MALE5 is a machine learning framework for MetaTrader 5 designed to help developers create trading systems using a Python-like syntax. It provides a suite of predictive models including linear regression, decision trees, support vector machines, and neural networks. The library includes tools for data collection, prepro

MT5 Framework & template AI / machine learning

MQL5 API Json Bridge

by techteam92
1 stars

This expert advisor acts as a JSON-based API bridge for MetaTrader 5, utilizing ZeroMQ sockets to connect the platform with external systems like Python's Backtrader framework. The script listens on multiple ports to process incoming requests and push out data streams. It supports querying account balances, retrieving

MT5 Copier & bridge
Updated 1 year ago GPL-3.0 GitHub repository of MQL5 API Json Bridge

Krsna Daily EA

by rahuldhangar
1 stars

Krsna Daily EA for MetaTrader 5 is an automated trading robot that executes trades based on price action patterns of custom-defined daily candles. Users can set a specific starting hour for the trading day, and the EA plots visual candle overlays on the chart. It places buy or sell limit orders at specific retracement

MT5 Trading robot Trend followingMean reversion
Updated 1 year ago MIT GitHub repository of Krsna Daily EA

Neuro MA Net

by YesthisI
1 stars

This MetaTrader 5 expert advisor identifies market entries using a moving average signal within the standard MQL5 framework. The robot evaluates price relative to a simple moving average, triggering trades when a specific threshold is met. Users can configure lot sizing as a fixed volume or a percentage of the account

MT5 Trading robot Indicator crossoverTrend following
Updated 1 year ago MIT GitHub repository of Neuro MA Net

BBMA Profit Seeker

by syarief02
1 stars

BBMA Profit Seeker is a MetaTrader 4 expert advisor implementing a Bollinger Bands and Moving Average crossover strategy. It enters long positions when price rebounds from the lower band and closes above the moving average, while short entries occur after a rejection from the upper band. The robot manages exits dynamic

MT4 Trading robot Indicator crossoverMean reversion

MA Crossover EA MT4

by immy2good
1 stars

This MetaTrader 4 expert advisor implements a moving average crossover strategy for automated trading. It identifies entry points when price or technical indicators intersect and can exit positions when an opposite signal occurs. The EA provides trade management features, including traditional and virtual stop loss and

MT4 Trading robot Indicator crossover

News Timer MT5

by Far-1d
1 stars

This utility for MetaTrader 5 fetches economic news data from the Forex Factory API to display an onscreen timer and information box. It downloads news in XML format using external Windows libraries, stores it locally, and updates the data periodically. Users can filter news events by impact level, specific currencies,

MT5 News trading News
Updated 2 years ago MIT GitHub repository of News Timer MT5

Zone Entry

by junmt
1 stars

Zone Entry is a MetaTrader 5 expert advisor that automates the placement of multiple limit orders within a calculated price zone, a technique described as chumming. It utilizes the Average True Range on the H1 timeframe to determine the spacing and breadth of entries based on manual price inputs. The EA manages open po

MT5 Trading robot GridMean reversionMartingale High risk
Updated 2 years ago MIT GitHub repository of Zone Entry

MQL4 Lot Size

by KwadwoAsiamah
1 stars

This utility for MetaTrader 4 calculates position sizes based on account balance and user-defined risk percentages. By providing entry and stop-loss prices via input parameters, the tool determines the specific lot size required to respect the trader's risk tolerance. It functions as a calculator that displays values o

MT4 Utility
Updated 2 years ago MIT GitHub repository of MQL4 Lot Size

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

RBT MQ5

by AlanCoelhoGomes
1 stars

This expert advisor for MetaTrader 5 identifies entry points using a combination of the Relative Strength Index and a Moving Average. The strategy monitors an upper RSI level and a specific Moving Average period across user-defined timeframes to determine trend or reversal signals. For risk management, the robot utiliz

MT5 Trading robot Mean reversionIndicator crossover
Updated 2 years ago MIT GitHub repository of RBT MQ5
1 stars

This collection for MetaTrader 5 provides several automated trading robots, primarily focusing on the Trailing Break Even Parcial expert advisor. This specific strategy utilizes a combination of three Moving Averages and Ichimoku Kinko Hyo parameters to execute trades. The software includes robust trade management modu

MT5 Collection Trend followingIndicator crossoverMulti-strategy High risk

Robo MM IFR

by I-Am-Not-Lucas
1 stars

This MetaTrader 5 expert advisor executes trades based on technical indicators, specifically moving average crossovers and the Relative Strength Index (RSI/IFR). It offers three operating modes: entries triggered by moving average crosses, entries based on RSI overbought or oversold levels, or a combined approach requi

MT5 Trading robot Indicator crossoverMean reversion
Updated 2 years ago MIT GitHub repository of Robo MM IFR

AriZone Grid Bot

by AriZoneVibes
1 stars

AriZone Grid Bot is an expert advisor for MetaTrader 5 designed to execute grid-based trading strategies. The robot operates within a user-defined price range, allowing traders to set specific upper and lower boundaries. Users can configure the number of grid levels and choose between arithmetic or geometric spacing mo

MT5 Trading robot Grid High risk
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
1 stars

This MetaTrader 5 utility manages open positions by applying a trailing stop based on the Parabolic SAR indicator. The Expert Advisor does not open new trades; it monitors an active position and incrementally adjusts the stop loss price according to the indicator's step and maximum parameters. It features a session tim

MT5 Trade manager

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

Walking Up The Bands

by Andre-Luis-Lopes-da-Silva
1 stars

Walking Up The Bands is a trend-following expert advisor for MetaTrader 5 based on Bollinger Bands volatility breakouts. The robot enters long positions when the price moves above the upper band, attempting to capture the duration of an uptrend. Positions are closed when the price exits via the lower band. It includes

MT5 Trading robot Trend followingBreakout
1 stars

This MetaTrader 5 collection features automated implementations of trading strategies sourced from YouTube for the purpose of backtesting and verification. The repository includes multiple expert advisors, such as a MACD-based robot and an implementation of the 97 percent transparent trader strategy. These tools utiliz

MT5 Collection Indicator crossoverTrend followingMulti-strategy

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

KST Robo

by RafaelTarachuck
1 stars

This MetaTrader 5 expert advisor automates trading strategies based on the Know Sure Thing (KST) momentum oscillator. It calculates weighted Rate of Change values across multiple internal periods, smoothed by simple moving averages, to identify trend reversals and overbought or oversold conditions. The robot offers sev

MT5 Trading robot Indicator crossoverMean reversionTrend following
Updated 3 years ago MIT GitHub repository of KST Robo

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

Bad Robot Sample

by cupidarrow0417
1 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on moving average crossovers. It offers a comprehensive suite of trade management tools, including fixed tick-based stop loss and take profit levels, trailing stops, and break-even settings. Users can configure up to three partial exits to sca

MT5 Trading robot Indicator crossover

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

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

Siren EA

by tyohare
1 stars

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

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

MQL HTTP Client

by acro5piano
1 stars

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

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

PyMQL5

by mandrecavalcanti
1 stars

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

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

Aiden

by Torabi-srh
1 stars

Aiden is a MetaTrader 5 expert advisor that utilizes a multi-indicator weighting system to determine market entries. It calculates trade signals by aggregating 'chances' from several technical indicators including ZigZag, Stochastic, Moving Average crossovers, Parabolic SAR, RSI, MACD, and Momentum. The EA manages risk

MT5 Collection Multi-strategyIndicator crossoverTrend following Archived
Updated 4 years ago MIT GitHub repository of Aiden
1 stars

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

MT4 Collection Trend followingIndicator crossover

MT5 Docker Bridge

by kevin-bruton
1 stars

This repository provides a containerized MetaTrader 5 environment running on Alpine Linux via Wine, including a VNC server for remote graphical access. It features a bridge expert advisor that enables communication between MetaTrader 5 and external programming languages like Python through file-based data exchange. The

MT5 Copier & bridge
Updated 5 years ago BSD-3-Clause GitHub repository of MT5 Docker Bridge

This MetaTrader 4 expert advisor uses a simple perceptron neural network to identify market entry and exit points. The system evaluates price action through four adjustable weight parameters to generate signals and includes a reversal mechanism for active positions. Risk management is handled through a fixed stop loss

MT4 Trading robot AI / machine learning
1 stars

This MetaTrader 5 expert advisor collection provides a series of educational scripts for automated trading. The primary robot executes trades based on the relationship between the last market price and a Simple Moving Average. It initiates a buy order when the price is above the average and a sell order when below, pro

MT5 Collection Trend followingIndicator crossover

DRF Metatrader

by mrseyfi
1 stars

This expert advisor for MetaTrader 5 serves as a data bridge between the trading terminal and external web applications via the Django REST Framework. The tool automatically cycles through symbols in the Market Watch at defined intervals to collect and export data into JSON format for API consumption. It is primarily a

MT5 Copier & bridge
Updated 5 years ago MIT GitHub repository of DRF Metatrader

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