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.

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

Investment EA Collection

by MohammadMahdiOmid
1 stars

This repository provides a collection of MetaTrader 4 expert advisors designed for forex and digital markets. The primary expert advisor implements a breakout strategy by placing buy and sell stop orders at a specific distance from the previous day's high and low prices. It includes automated trade management features

MT4 Collection BreakoutIndicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Investment EA Collection

This repository provides a collection of MetaTrader 4 expert advisors centered on trend-following and hedging mechanics. The primary Trend EA identifies market entries using moving average crossovers, stochastic oscillators, and MACD indicators. Risk is managed through percentage-based equity lot sizing and pair-specif

MT4 Collection Trend followingIndicator crossoverHedging

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

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

EA Forex Collection

by pesivodich
1 stars

This repository contains a collection of MetaTrader 4 expert advisors, primarily focused on grid and martingale strategies. The featured Ilan-TrioKS system uses automated lot scaling with a multiplier to manage series of trades. It opens positions at fixed pip intervals and aims to exit the entire basket at a calculate

MT4 Collection GridMartingaleScalping High risk
Updated 5 years ago None stated GitHub repository of EA Forex Collection

Area Fifty One

by Valerzen88
1 stars

This MetaTrader 4 expert advisor utilizes a modular approach to automated trading, offering multiple selectable strategies including trend-following, RSI mean-reversion, and moving average crossovers. It calculates entries using indicators like ADX, Stochastic, and Hull Moving Averages. Risk management is handled throu

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 5 years ago None stated GitHub repository of Area Fifty One
1 stars

This MetaTrader 4 repository contains a collection of automated trading scripts designed for the foreign exchange market. The primary robots include Mover, which utilizes moving average crossovers to identify trends, and Cristos, which focuses on market openings and news events. The collection also features a semi-auto

MT4 Collection Indicator crossoverTrend followingNews
Updated 5 years ago None stated GitHub repository of Small Scripts EA Collection
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
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

IBand EA

by Anter10
1 stars

This MetaTrader 4 repository provides a collection of expert advisors, featuring the IBandEA system designed for gold trading on the 5-minute timeframe. The robot executes trades based on price deviations from a central indicator line and specific candle high-low ranges. It incorporates risk management through a lot si

MT4 Collection Mean reversionMartingaleIndicator crossover High risk
Updated 6 years ago None stated GitHub repository of IBand 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
1 stars

This repository provides a collection of MetaTrader 4 and MetaTrader 5 resources, including standard MetaQuotes examples and custom trading tools. A primary feature is the 3D correlation matrix utility, which uses the Canvas3D library to visualize price relationships across multiple symbols. The collection also include

MT4MT5 Collection GridIndicator crossoverMulti-strategy High risk

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

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

DaFinantial MT4 Collection

by DanielAlbino
1 stars

This repository is a collection of MetaTrader 4 expert advisors and study scripts focused on technical analysis and automated execution. It includes modules for identifying support and resistance levels, templates for news-based trading, and tools for drawing visual objects based on price extremes. The projects serve a

MT4 Collection BreakoutNewsMean reversion

4xlots Extra EA Collection

by patrickingle
1 stars

This repository provides a collection of MetaTrader 4 expert advisors and libraries designed to integrate with the 4xlots risk management web service. The collection includes various trading robots such as a trend-following system, a double SMA crossover strategy, and a Martingale-based EA. It focuses on dynamic risk c

MT4 Collection Trend followingMartingaleHedging High risk
Updated 6 years ago Apache-2.0 GitHub repository of 4xlots Extra EA Collection

Fujii MQL4 EA Collection

by FujiiKairi
1 stars

This repository is a collection of over forty MetaTrader 4 expert advisors covering various trading styles and market conditions. It features the EA31337 multi-strategy framework alongside specialized bots for currency strength, New York session breakout patterns, and Heikin Ashi trend following. The collection include

MT4 Collection Multi-strategyBreakoutTrend following High risk
Updated 6 years ago None stated GitHub repository of Fujii MQL4 EA Collection
1 stars

This collection for MetaTrader 4 provides a suite of trade management and utility scripts. The primary expert advisor automates the application of stop loss and take profit levels for existing trades. It features a sophisticated trailing stop system with dedicated settings for major forex pairs, gold, and silver. Users

MT4 Collection

Firmoholanda Forex

by firmoholanda
1 stars

This repository contains a collection of MetaTrader 4 and MetaTrader 5 expert advisors focused on multi-indicator signal processing. The logic evaluates market conditions by aggregating data from Moving Averages, ADX, Accelerator Oscillator, Volume, and Momentum indicators across several timeframes such as M5, M15, and

MT4MT5 Collection Trend followingMulti-strategyIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of Firmoholanda Forex
1 stars

This MetaTrader 4 repository contains a collection of expert advisors, including implementations of the standard MACD Sample and Moving Average strategies. The primary MACD robot enters trades based on MACD signal line crossovers filtered by an exponential moving average trend component. Risk management is handled thro

MT4 Collection Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of MQL4 Trader Collection
1 stars

This repository contains a large collection of over 300 MetaTrader 4 expert advisors and scripts, including standard MetaQuotes samples and custom experimental tools. The primary file, Algo Prueba, utilizes the Relative Vigor Index (RVI) to determine market entries and exits. It features basic trade management by filte

MT4 Collection Indicator crossover
Updated 7 years ago None stated GitHub repository of Algo Prueba FX Collection
1 stars

This MetaTrader 4 repository contains a collection of trading tools, primarily featuring an automated RSI-based grid expert advisor. The system enters positions when the Relative Strength Index exceeds defined thresholds and manages them using a grid strategy with martingale lot multiplication. Risk controls include a

MT4 Collection GridMartingaleMean reversion High risk

Mql4 Bot Collection

by jesuscovam
1 stars

This MetaTrader 4 repository contains a collection of expert advisors focused on simple automated trading logic. The scripts include various entry methods such as Relative Strength Index triggers and time-based executions. Risk management is implemented through standard parameters including fixed lot sizing, stop loss,

MT4 Collection Trend following
Updated 7 years ago None stated GitHub repository of Mql4 Bot Collection
1 stars

This collection of MetaTrader 4 expert advisors serves as a practice repository for automated trading scripts. It features several distinct strategies, including moving average crossovers, Bollinger Band mean-reversion, and RSI-based entries. A core component of the repository is a martingale-style system that layers o

MT4 Collection Indicator crossoverMartingaleGrid High risk
Updated 7 years ago None stated GitHub repository of MQL4 Practice Collection
1 stars

This repository provides a collection of expert advisors for MetaTrader 4 and MetaTrader 5. The primary MetaTrader 5 file implements Mamdani fuzzy logic, processing three Relative Strength Index (RSI) inputs to determine market entries. The collection also includes several MetaTrader 4 experts focused on grid-based mon

MT4MT5 Collection AI / machine learningGridMean reversion High risk
Updated 7 years ago None stated GitHub repository of Ballmdr EA Collection

Fuzzy Trade EA Collection

by TsutomuSakata01
1 stars

This collection for MetaTrader 4 and 5 includes various expert advisors exploring fuzzy logic and standard technical indicators. The primary logic demonstrated in the source files utilizes Simple Moving Averages to identify trend direction and price positioning. It features standard risk controls including fixed lot si

MT4MT5 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Fuzzy Trade EA Collection
1 stars

This collection of MetaTrader 4 and 5 expert advisors provides various utilities for trade management and entry automation. The primary tool, Multi TP, monitors specific order tickets to execute partial closes and modify stop losses when price targets are hit. Additional scripts automate entries based on price action p

MT4MT5 Collection BreakoutMean reversionMulti-strategy
1 stars

This MetaTrader 4 expert advisor collection features a robot based on Stochastic oscillator crossovers. It monitors the M15 timeframe to identify shifts in momentum, entering trades when the fast indicator line crosses the slow line. The system automatically manages exits by closing opposing positions before opening ne

MT4 Collection Indicator crossover
Updated 7 years ago None stated GitHub repository of Quantize EA Collection

Pricetag EA Collection

by KotaroHashimoto
1 stars

This collection for MetaTrader 4 includes various expert advisors, with the primary HL Monday Order EA focusing on weekly price ranges. The software identifies Monday's high and low prices to set automated entry levels, stop loss positions, and take profit targets using configurable pip adjustments. The repository incl

MT4 Collection BreakoutMartingaleGrid High risk
Updated 7 years ago None stated GitHub repository of Pricetag EA Collection

Proper Bot

by kmugglet
1 stars

Proper Bot is a MetaTrader 4 expert advisor that utilizes a triple moving average crossover for trend detection combined with a manual grid management system. It filters entries based on volume and specific price levels. When a trade moves against the initial position, the EA opens additional orders at predefined point

MT4 Collection Indicator crossoverGridMartingale High risk
Updated 7 years ago None stated GitHub repository of Proper Bot

This MetaTrader 4 repository contains a collection of automated trading tools, primarily centered on the Martingale Levels Expert. The system employs a grid-based strategy that places stop orders at specific intervals and manages them using trailing stops. It utilizes martingale lot scaling, where subsequent order size

MT4 Collection GridMartingaleHedging High risk

Ichimoku Scalper

by AbirAbbas
1 stars

This MetaTrader 4 collection features automated trading scripts primarily based on the Ichimoku Kinko Hyo indicator. The expert advisors execute trades by analyzing the relationship between Tenkan-sen and Kijun-sen lines relative to the Senkou Span cloud. Risk is managed via fixed lot sizing and a maximum concurrent tr

MT4 Collection ScalpingIndicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Ichimoku Scalper
1 stars

This MetaTrader 4 repository provides a set of tools and scripts designed around Pivot Point price levels. It includes a module for drawing pivots on the chart and a statics Expert Advisor that performs historical analysis. The statics tool scans thousands of candles to determine if price successfully touched weekly pi

MT4 Collection Mean reversion
Updated 7 years ago None stated GitHub repository of Pivot Points MT4 Collection
1 stars

Michael Balack EA is a collection of MetaTrader 4 scripts and automated trading tools, primarily focusing on session-based range breakouts. The main expert advisor identifies the minimum and maximum price levels during a specific user-defined time window. It manages trades using fixed lot sizing and includes parameters

MT4 Collection Breakout
Updated 7 years ago None stated GitHub repository of Michael Balack EA

This repository contains a collection of utility scripts for MetaTrader 4 designed for manual order management. The tools allow users to automate the closing of all open market positions or the deletion of pending orders in bulk. These scripts identify and process order types including Buy Limit, Sell Limit, Buy Stop,

MT4 Collection

My Boost

by Reza-Amani
1 stars

This MetaTrader 4 collection contains several expert advisors designed around technical indicators and custom peak-detection modules. The main logic integrates Relative Strength Index, Parabolic SAR, and Relative Volatility to identify trade opportunities. It manages risk through automated stop losses based on SAR step

MT4 Collection Mean reversionIndicator crossoverMartingale High risk
Updated 8 years ago None stated GitHub repository of My Boost
1 stars

This collection for MetaTrader 4 provides a set of expert advisors designed for testing technical indicator logic and trade management. The primary EA, Optimal Close, integrates Bollinger Bands and Stochastic oscillators to analyze market conditions across multiple timeframes. It features a built-in trailing stop mecha

MT4 Collection Indicator crossoverMean reversion
1 stars

This repository is a collection of over 50 expert advisors for MetaTrader 4 generated using StrategyQuant. Each EA follows a standardized template for risk management, including user-defined stop loss and take profit ranges, fixed or percentage-based position sizing, and maximum lot limits. The tools provide extensive

MT4 Collection Multi-strategyMartingale High risk
1 stars

A collection of MetaTrader 4 expert advisors centered around trend-following strategies using standard technical indicators. The primary logic utilizes MACD signal line crossovers filtered by moving average trends to identify entry points. Risk management is handled through fixed lot sizing, predefined take profit leve

MT4 Collection Indicator crossoverTrend following
1 stars

This repository is a collection of expert advisors for MetaTrader 4, primarily focusing on moving average crossover strategies. The core EA, Lewis Double MA, identifies golden cross and death cross signals to enter trades. It includes logic to manage positions via individual or total profit targets and implements an or

MT4 Collection Indicator crossover
Updated 8 years ago None stated GitHub repository of Lewis Double MA Strategies

Sample Indicator EA Collection

by KeisukeIwabuchi
1 stars

This MetaTrader 4 repository contains a collection of basic expert advisors designed around standard technical indicators. It includes automated strategies for MACD crossovers, moving average crossovers, and mean-reversion setups using Bollinger Bands, RSI, and Stochastic oscillators. Each individual robot executes tra

MT4 Collection Indicator crossoverMean reversionTrend following
1 stars

This repository contains a collection of MetaTrader 4 expert advisors and utility scripts for the Forex market. The primary expert advisor combines ADX momentum, Stochastic oscillators, and candlestick patterns, such as Doji and Engulfing candles, to identify trade entries. It features automated lot sizing based on acc

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 8 years ago None stated GitHub repository of AlainTa Forex Collection
1 stars

BOP is a collection of Expert Advisors for MetaTrader 4 specifically designed for backtesting binary options strategies. The repository provides several robots based on technical indicators like the Stochastic Oscillator and the Relative Strength Index. These tools identify entry signals when indicator values cross def

MT4 Collection Indicator crossoverMean reversion

Gold Digger EA

by EvZhdan
1 stars

This MetaTrader 4 repository contains a collection of trading systems, primarily featuring the Gold Digger expert advisor. The main strategy identifies entry points using multiple Bollinger Band deviation levels filtered by RSI and Stochastic oscillators. It is designed for mean-reversion or trend reversal setups, util

MT4 Collection Mean reversionTrend followingIndicator crossover
Updated 8 years ago None stated GitHub repository of Gold Digger EA

Parallel Strategies

by Pierre8r
1 stars

Parallel Strategies is a multi-strategy expert advisor for MetaTrader 4 that executes four independent trading systems concurrently. These systems include moving average crossovers, MACD breakouts, Heiken Ashi signals, and a combined Heiken-MACD approach. Each strategy operates with its own magic number for distinct ma

MT4MT5 Collection Indicator crossoverMulti-strategyTrend following
Updated 8 years ago None stated GitHub repository of Parallel Strategies

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