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
865 EAs match Clear filters

Forex Bot Collection

by MrMohebi
1 stars

This collection of MetaTrader 4 expert advisors serves as a practice environment for MQL4 development. The scripts primarily focus on moving average crossover logic, utilizing 50-period Simple Moving Average and 15-period Exponential Moving Average indicators. Additionally, the code implements swing high and low detect

MT4 Collection Indicator crossoverSMC / ICT / price actionScalping
Updated 5 years ago None stated GitHub repository of Forex Bot Collection
1 stars

This MetaTrader 4 expert advisor monitors tick volume patterns to identify periods of increasing market activity. It analyzes the volume of the four most recent candles, triggering signals when volume increases consecutively over four bars. Upon detection, the EA generates a terminal alert, displays a message box, and

MT4 Utility
Updated 5 years ago None stated GitHub repository of Volume Indicator Alert

Mql Framework EA

by lvhaiyang
1 stars

This MetaTrader 5 expert advisor serves as a template and demonstration for automated trading systems. It implements a basic moving average crossover strategy using two configurable periods to determine market entries. The code is structured around a custom trading class that provides utility functions for analyzing hi

MT5 Framework & template Indicator crossoverHedging
Updated 5 years ago None stated GitHub repository of Mql Framework EA

Portuguese

by gandra70
1 stars

Portuguese is a MetaTrader 5 expert advisor designed as a trend-following robot utilizing multiple moving average indicators. It employs five distinct moving average periods and shifts to identify trade signals. The system manages positions through a comprehensive set of risk controls including fixed stop loss and take

MT5 Trading robot Indicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Portuguese

Inside Inside Out EA

by smzimelaJHB
1 stars

This MetaTrader 5 expert advisor executes trades based on a strategy involving nested Bollinger Bands and a 200-period moving average filter. The robot monitors price action relative to two sets of volatility bands with differing standard deviations to identify breakout opportunities. It enters positions when a specifi

MT5 Trading robot Trend followingBreakout
Updated 5 years ago None stated GitHub repository of Inside Inside Out EA

Algotrader Germany Samples

by algotrader-germany
1 stars

This repository provides sample Expert Advisors for MetaTrader 4 and 5, focusing on a Donchian Channel breakout system. The robot identifies entries based on price breaking through the highest high or lowest low of a defined lookback period. Risk management is handled through percentage-based stop losses, take profits,

MT4MT5 Collection BreakoutTrend following
Updated 5 years ago None stated GitHub repository of Algotrader Germany Samples

BreakEven V3

by look416
1 stars

This MetaTrader 4 expert advisor is a trade management utility designed to automate break-even adjustments for open positions. It monitors active trades and moves the stop loss to a locked-in profit level once the market reaches a specified distance in pips. The tool supports managing up to three distinct trade targets

MT4 Trade manager
Updated 5 years ago None stated GitHub repository of BreakEven V3

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

X-15 Framework

by dynamicprogrammingsolutions
1 stars

The X-15 Framework is a modular development template for creating MetaTrader 4 expert advisors. It serves as a foundation for programmers to build custom trading systems by providing pre-built modules for order management, signal processing, and trade filters. The included template features standard risk management con

MT4 Framework & template
Updated 5 years ago None stated GitHub repository of X-15 Framework

MQL5 Expert Collection

by tdooher11
1 stars

This repository contains a collection of MetaTrader 5 expert advisors built using the standard MQL5 class library framework. The featured implementation, Expert MAPSAR Size Optimized, utilizes Moving Average crossover signals for entries and a Parabolic SAR trailing stop for trade management. It incorporates a lot sizi

MT5 Collection Indicator crossoverTrend followingMulti-strategy
Updated 5 years ago None stated GitHub repository of MQL5 Expert Collection

RSI Expert Advisor

by Fridgeface
1 stars

This expert advisor for MetaTrader 4 executes trades based on the Relative Strength Index indicator. It enters long positions when the RSI period 14 crosses below the 30 level and short positions when it rises above 70. The robot maintains a simple logic of managing a single trade at a time with a fixed volume of 0.10

MT4 Trading robot Mean reversion
Updated 5 years ago None stated GitHub repository of RSI Expert Advisor

Trade Framework MQL5

by henriquepassos
1 stars

This MetaTrader 5 expert advisor serves as a structural framework for algorithmic trading development. It utilizes a modular approach by importing strategy logic from external header files to handle trade execution. The core code provides basic input parameters for trade volume, magic numbers, and price deviation. Sinc

MT5 Framework & template
Updated 5 years ago None stated GitHub repository of Trade Framework MQL5
1 stars

Xurya Algorithmic Trading is a collection of MetaTrader 4 expert advisors centered on breakout strategies and volatility analysis. The primary EA uses a breakout mechanism with entries filtered by price action across a defined number of bars. It features risk controls including fixed percentage lot sizing based on acco

MT4 Collection BreakoutHedging
Updated 6 years ago None stated GitHub repository of Xurya Algorithmic Trading

Metatrade Sandbox

by humbertosouza
1 stars

This MetaTrader 5 expert advisor is a development project for testing technical indicator strategies. It uses a combination of moving average crossovers and MACD signals to identify market entries. The EA includes time-based filters allowing users to specify exact opening and closing hours for daily trading sessions. R

MT5 Trading robot Indicator crossover
Updated 6 years ago AGPL-3.0 GitHub repository of Metatrade Sandbox

Daily Momentum EA

by leocasanova
1 stars

Daily Momentum EA is a MetaTrader 4 robot that automates trading based on the Moving Average Convergence Divergence (MACD) indicator. It identifies entry points by analyzing the sequence of the MACD histogram over three periods to find momentum shifts. The EA specifically targets the daily timeframe and includes a vali

MT4 Trading robot Trend following
Updated 6 years ago None stated GitHub repository of Daily Momentum EA

Peer Cointegration

by Navesvjv
1 stars

This MetaTrader 5 expert advisor implements a statistical arbitrage strategy based on asset cointegration. It focuses on mean-reversion by identifying and trading pairs of assets that diverge from their historical price relationships. The software is pre-configured with a broad list of Brazilian equities and supports b

MT5 Trading robot Mean reversion
Updated 6 years ago None stated GitHub repository of Peer Cointegration
1 stars

This MetaTrader 5 tool extracts stock market data to build datasets for statistical analysis. It allows users to define the number of periods, the specific timeframe, and the price type used for extraction. The expert advisor functions as a data collector rather than a trading robot, as it lacks entry or exit logic in

MT5 Utility

Robos MQL5 Collection

by Navesvjv
1 stars

This repository is a collection of MetaTrader 5 expert advisors featuring various technical trading strategies. It includes individual robots based on moving average crossovers, MACD, Bollinger Bands, and linear regression models. Each EA is equipped with risk control parameters such as fixed stop losses, take profit l

MT5 Collection Indicator crossoverMean reversionTrend following
Updated 6 years ago None stated GitHub repository of Robos MQL5 Collection

Rafael Valle MT5 Collection

by rafaeljudson
1 stars

This repository contains a collection of MetaTrader 5 expert advisors and utility tools, primarily featuring a Depth of Market interface named RafaDomII. The main tool serves as a manual execution panel, allowing traders to monitor volume-at-price data and execute market or limit orders directly from the chart. It incl

MT5 Collection
Updated 6 years ago None stated GitHub repository of Rafael Valle MT5 Collection

Falcon B

by josephxskum
1 stars

Falcon B is a MetaTrader 4 robot developed for the Lazy Trading Project, designed to integrate with external decision support systems. It uses a combination of moving average crossovers and Keltner Channels to identify trade entries. The system includes robust risk management features, allowing for fixed or volatility-

MT4 Trading robot Indicator crossover
Updated 6 years ago MIT GitHub repository of Falcon B

Cross MA

by Mahdi24w
1 stars

This MetaTrader 4 expert advisor executes a classic moving average crossover strategy. It monitors two Simple Moving Averages with customizable periods to identify trend shifts. When the fast average crosses above the slow average, the robot initiates a buy order; a crossover below triggers a sell order. The system res

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Cross MA
1 stars

This MetaTrader 5 expert advisor monitors price action using a combination of Exponential Moving Averages and the Stochastic oscillator. It identifies potential market entries based on crossover logic and momentum. The system is designed to send real-time trade alerts to a configured Telegram channel, providing details

MT5 Utility Indicator crossover

Algo 01

by expdal3
1 stars

Algo 01 is a MetaTrader 4 expert advisor that executes trades based on moving average crossover signals. It references an external custom indicator path for signal generation and allows users to define fast and slow moving average periods for its logic. The robot includes risk management features such as percentage-bas

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Algo 01

Account Recorder

by mazmazz
1 stars

Account Recorder is a utility for MetaTrader 4 and 5 that exports trading transactions and account metrics to external SQL databases via the ODBC interface. It supports MySQL, PostgreSQL, and SQLite, enabling users to maintain an auditable, platform-agnostic history of their trading activity. The tool records account s

MT4MT5 Utility

Inside Bar Momentum

by Martian4x
1 stars

Inside Bar Momentum is a MetaTrader 4 expert advisor that identifies and trades candlestick breakout patterns. The robot scans for inside bar formations, where a candle is completely contained within the previous candle's price range. It uses a stochastic oscillator to filter momentum, requiring specific overbought or

MT4 Trading robot BreakoutMean reversion
Updated 6 years ago None stated GitHub repository of Inside Bar Momentum

TeGi Trading Panel

by guaponi
1 stars

TeGi is a manual trading panel and management utility for MetaTrader 4 that bridges local trade execution with Telegram groups or channels. It allows users to open buy or sell orders with predefined stop loss and take profit levels while automatically broadcasting trade signals and screenshots to a connected bot. The e

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of TeGi Trading Panel

Cuckoos MT4

by m10i1986
1 stars

Cuckoos MT4 is a notification expert advisor for MetaTrader 4 that bridges account activity to Discord via webhooks. This utility monitors the trading account and sends automated updates whenever the total number of open orders changes or during initialization. The messages delivered to Discord contain detailed account

MT4 Copier & bridge
Updated 6 years ago MIT GitHub repository of Cuckoos MT4

Position By Equity Risk

by roshjardine
1 stars

Position By Equity Risk is a MetaTrader 5 expert advisor designed as a programming snippet for automated trade management. The EA enters a single buy order on the first received tick, serving as a functional template for risk-based calculations. It manages positions using configurable stop loss and take profit multipli

MT5 Utility
Updated 6 years ago None stated GitHub repository of Position By Equity Risk
1 stars

This repository contains a collection of MetaTrader 4 programs, including expert advisors, indicators, and scripts. The provided files appear to be utility tools rather than automated trading robots, with names suggesting functions for account monitoring, folder management, and time-based tasks. The project provides mi

MT4 Collection
Updated 6 years ago None stated GitHub repository of HPCS MetaTrader Collection

Robo Trade MQL5

by ckedor
1 stars

Robo Trade MQL5 is an automated trading robot for MetaTrader 5 that implements technical analysis setups based on moving average indicators. It specifically targets the 9.1 and 9.2 setups, utilizing 9-period and 21-period moving averages to identify entry points. The EA features fixed lot sizing and a mandatory daily e

MT5 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Robo Trade MQL5
1 stars

This MetaTrader 5 expert advisor implements a trading strategy based on the Volume Price Change oscillator. Developed as a module for the EA31337 framework, it supports simultaneous operation across multiple timeframes using a bitmask input. The EA focuses on the relationship between price movement and volume to identi

MT5 Trading robot Trend followingMean reversion
Updated 6 years ago None stated GitHub repository of Volume Price Change EA

Strategy CCI Arrows

by EA31337
1 stars

This MetaTrader 5 expert advisor executes trades based on the Commodity Channel Index (CCI) Arrows indicator. Developed as part of the EA31337 framework, the robot identifies market entries through CCI-derived signals. It supports multi-timeframe operations, allowing users to activate specific intervals from M1 to H4 a

MT5 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Strategy CCI Arrows

Lancers System Trade App

by Lancers-itoh
1 stars

This MetaTrader 4 expert advisor functions as a trade receiver or bridge for external web services. It uses the WebRequest function to poll a Heroku-hosted URL for trading data and instructions. The software parses incoming text strings to identify specific trade parameters and synchronize the local terminal with the r

MT4 Copier & bridge
Updated 6 years ago None stated GitHub repository of Lancers System Trade App

Fox EA

by OrangeFoxie
1 stars

This MetaTrader 5 expert advisor, developed as a university project, executes trades based on technical indicators including Average Directional Index (ADX) and Moving Averages. The system features risk management controls such as fixed stop loss and take profit levels, which are automatically scaled for five-digit pri

MT5 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Fox EA

Discretion Algo

by BenWhittakerTM
1 stars

Discretion Algo is a collection of MetaTrader 4 experts designed for automated trading based on technical price action patterns. The repository provides distinct modules for identifying liquidity sweeps and engulfing candle formations. The system employs multi-timeframe analysis, by default analyzing price data across

MT4 Collection SMC / ICT / price actionMulti-strategy
Updated 6 years ago None stated GitHub repository of Discretion Algo

TradeRobot

by Wrobless
1 stars

TradeRobot is a manual trading panel for MetaTrader 4 that facilitates trade execution and order management. It allows users to open buy and sell positions directly from the chart using graphical buttons. The utility incorporates essential risk management features, including fixed lot sizing, stop loss, take profit, an

MT4 Utility
Updated 6 years ago None stated GitHub repository of TradeRobot
1 stars

This repository is a collection of MQL5 utility scripts and snippets for the MetaTrader 5 platform. It includes tools for dumping account details, active positions, and trade history directly into the terminal log for debugging or monitoring. Other components demonstrate SQLite database integration, price alerts, and g

MT5 Collection

Ndow Forex

by ndow33
1 stars

Ndow Forex is a MetaTrader 5 expert advisor that uses price action from a specific lookback period to determine trade boundaries. It scans a defined number of historical candles to identify the highest and lowest price points. Based on this range, which the developer calls the chasm, the EA calculates stop loss and tak

MT5 Trading robot Breakout
Updated 6 years ago None stated GitHub repository of Ndow Forex
1 stars

This MetaTrader 5 repository provides a collection of Expert Advisors based on the educational material from Andrew Young. It includes several distinct strategies such as RSI and Bollinger Band counter-trend systems, moving average crossovers, and breakout trading with pending orders. Each EA includes standard risk man

MT5 Collection Mean reversionIndicator crossoverBreakout
Updated 6 years ago None stated GitHub repository of Mql5 Book EA Collection

MT4 Trading Collection

by paulnheera
1 stars

This collection of MetaTrader 4 scripts and experts features an automated trading robot based on the MACD indicator. It identifies entry points using MACD signal line crossovers filtered by an Exponential Moving Average to determine trend direction. The system includes built-in risk controls such as fixed lot sizing, t

MT4 Collection Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of MT4 Trading Collection

MQL5 Python UDP Integration

by FelipeGaldino
1 stars

This expert advisor acts as a bridge between MetaTrader 5 and Python using the UDP protocol. It functions as a server that captures real-time symbol tick data, specifically ask prices and timestamps, and transmits them to an external Python client. The tool enables low-latency data streaming for external analysis or al

MT5 Copier & bridge
Updated 6 years ago None stated GitHub repository of MQL5 Python UDP Integration

HiLo Pro

by lfpmeloni
1 stars

HiLo Pro is a MetaTrader 5 robot that identifies trades using a combination of the HiLo Activator and the Relative Strength Index. It executes long or short positions based on trend direction and momentum filters for overbought or oversold conditions. The EA includes intraday time management, allowing users to define s

MT5 Trading robot Trend followingMean reversion
Updated 6 years ago None stated GitHub repository of HiLo Pro

TradeSync MT4 Receiver

by JafferWilson
1 stars

This expert advisor acts as a trade receiver for the MetaTrader 4 platform, enabling the execution of orders sent from a remote master account. It establishes a connection via a socket library to a cloud hub or a specified local port to receive trade commands. The system parses incoming messages for parameters such as

MT4 Copier & bridge
Updated 6 years ago LGPL-3.0 GitHub repository of TradeSync MT4 Receiver

Aych MTFX

by AYCHMT
1 stars

Aych MTFX is a collection of MetaTrader 4 expert advisor templates designed for building custom trading robots. It utilizes a modular structure with various versions ranging from basic to full feature sets. The core logic manages trade entries and exits at bar opens, featuring integrated risk controls like break-even s

MT4 Collection Hedging
Updated 6 years ago None stated GitHub repository of Aych MTFX

Aych Trading Tools

by AYCHMT
1 stars

Aych Trading Tools is a collection of semi-automated utilities for MetaTrader 4 and 5 designed to assist with manual execution. Rather than operating as autonomous robots, these experts function as trade managers and execution assistants that require human intervention to initiate trades. The suite provides tools for a

MT4MT5 Collection
Updated 6 years ago None stated GitHub repository of Aych Trading Tools

Scadama Legacy

by taku-n
1 stars

Scadama Legacy is a trading panel collection for MetaTrader 4 and MetaTrader 5 that provides a graphical user interface for manual order execution. The application renders interactive buttons directly on the chart, allowing traders to monitor bid and ask prices across different digit significances. It includes a modula

MT4MT5 Collection
Updated 6 years ago None stated GitHub repository of Scadama Legacy

Two MA Crossover

by uzzalhcse
1 stars

This MetaTrader 4 expert advisor executes trades based on the crossover of two moving average indicators. It initiates buy positions when the fast moving average crosses above the slow moving average, provided both indicators are trending upward, and opens sell positions on downward crossovers. The robot manages exits

MT4 Trading robot Indicator crossover
Updated 6 years ago None stated GitHub repository of Two MA Crossover
1 stars

This MetaTrader 5 tool accesses and prints Depth of Market information for the selected symbol. It utilizes the MQL5 MarketBook class to retrieve real-time data including total market depth, the number of buy and sell price levels, and the current best bid and ask prices. Additionally, the utility monitors average spre

MT5 Utility

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