Synced with GitHub · updated hourly

Expert Advisor Library

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

360 EAs match Clear filters

HLHB Trend Catcher

by Martian4x
1 stars

This MetaTrader 4 expert advisor is designed to capture price trends by combining moving average crossovers with momentum oscillators. It monitors fast and slow moving averages for entry signals while utilizing a long-term trend moving average as a directional filter. The Relative Strength Index is incorporated to vali

MT4 Trading robot Trend followingIndicator crossover
Updated 5 years ago None stated GitHub repository of HLHB Trend Catcher

Wise Chaos Crypto

by marioluk
1 stars

Wise Chaos Crypto is an automated trading robot for MetaTrader 4 designed primarily for cryptocurrency markets. It utilizes elements of Bill Williams' Chaos theory, specifically the Alligator indicator and Fractals, to identify entries and manage exits. The system scans a user-defined number of bars for divergent price

MT4 Trading robot Trend followingMean reversion
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

Analise Do Grafico IQ

by carlosnowatzki
1 stars

Analise Do Grafico IQ is a MetaTrader 4 expert advisor that automates trading based on technical indicator signals. The robot utilizes the Moving Average Convergence Divergence (MACD) indicator to identify momentum shifts and an Exponential Moving Average (EMA) to filter for the prevailing trend. It opens buy and sell

MT4 Trading robot Indicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Analise Do Grafico IQ
1 stars

This repository provides a collection of MetaTrader 5 expert advisors focused on technical indicator strategies. The primary expert advisor implements a trend-following approach using the Average Directional Index to identify momentum and Exponential Moving Averages for entry signals. Risk management is handled through

MT5 Collection Trend followingBreakoutIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of MT5 Profits EA Collection

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

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

Forex Brother Algo 1

by hkmarquix
1 stars

This MetaTrader 4 expert advisor implements a multi-strategy framework for automated trading across various symbols. It incorporates several technical entry signals, including Ichimoku, Bollinger Bands, and ADX-filtered logic. The EA provides multiple trade management options, explicitly including martingale lot scalin

MT4 Trading robot Multi-strategyMartingaleIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of Forex Brother Algo 1

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

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

PTL EA

by ptluan2011
1 stars

PTL EA is a MetaTrader 4 expert advisor that monitors financial markets for technical trade setups using price action and trend analysis. It evaluates market conditions across various instruments, including forex pairs, gold, and global indices, by identifying candlestick patterns and key support and resistance zones.

MT4 Trading robot Trend followingSMC / ICT / price actionIndicator crossover
Updated 6 years ago None stated GitHub repository of PTL EA

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

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

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

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

Aych MT Learn

by AYCHMT
1 stars

Aych MT Learn is a repository for MetaTrader 4 that provides a baseline expert advisor for educational purposes. The robot implements a classic strategy based on Moving Average Convergence Divergence (MACD) crossovers filtered by an Exponential Moving Average trend component. It includes standard trade management featu

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Aych MT Learn

Martingale MT5

by AbraaoM
1 stars

This MetaTrader 5 expert advisor executes trades based on the direction of the most recently closed candle, offering both trend-following and counter-trend modes. Its core logic utilizes a martingale lot scaling system, where position sizes are increased by a user-defined factor following a loss to recover previous def

MT5 Trading robot MartingaleTrend following High risk
Updated 6 years ago None stated GitHub repository of Martingale MT5

MQL5 Strategy Testers

by Burakdal
1 stars

This repository provides a collection of Expert Advisors for MetaTrader 5, primarily focused on technical indicator strategies and algorithmic trading examples. The main file utilizes a Moving Average signal combined with a Parabolic SAR trailing stop for automated trade management. It includes a lot-sizing module that

MT5 Collection Indicator crossoverMean reversionMulti-strategy High risk
Updated 6 years ago None stated GitHub repository of MQL5 Strategy Testers

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

Engulfing Pattern EA

by JaydenTan98
1 stars

This expert advisor for MetaTrader 4 executes trades based on the engulfing candle pattern, a classic price action signal. It identifies scenarios where the current candle completely covers the previous candle's range and filters entries using a Moving Average to ensure alignment with the prevailing trend. The EA place

MT4 Trading robot Trend followingSMC / ICT / price action
Updated 6 years ago None stated GitHub repository of Engulfing Pattern EA

MQL5 Strategy Collection

by pasindubawantha
1 stars

This repository provides a collection of MetaTrader 5 expert advisors, including standard MetaQuotes examples and specialized indicator-based bots. The expert advisors utilize technical analysis tools like MACD, Moving Averages, and Parabolic SAR to automate market entries. Risk management is handled through user-defin

MT5 Collection Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of MQL5 Strategy Collection

MQL5 EA Collection

by tom-field
1 stars

This repository serves as a collection of MetaTrader 5 expert advisors and educational scripts. It includes a variety of automated trading systems based on common technical indicators such as Moving Averages, RSI, and Stochastics. The collection features specific strategies including Bill Williams techniques and trend-

MT5 Collection Trend followingGridMartingale High risk
Updated 6 years ago None stated GitHub repository of MQL5 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 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

DWater EA

by leet123
1 stars

DWater EA is an automated trading robot for MetaTrader 5 that uses a trend-following approach based on price speed and position relative to trendlines. It utilizes smoothed moving averages across dual timeframes to identify entries. The strategy incorporates a grid-based recovery mechanism, adding positions at fixed in

MT5 Trading robot Trend followingGridMartingale High risk
Updated 7 years ago None stated GitHub repository of DWater EA
1 stars

This repository contains a collection of MetaTrader 5 expert advisors developed for various market conditions and strategies. The files include implementations of trend-following systems like the Dunnigan NRTR, signal-based dashboards using multi-indicator confirmation, and experimental artificial intelligence models.

MT5 Collection Trend followingIndicator crossoverAI / machine learning
Updated 7 years ago None stated GitHub repository of MQL5 EA Collection FLCS

Laguna EA Collection

by dannylius
1 stars

Laguna EA is an automated trading robot for MetaTrader 5 that utilizes the Average Directional Index and Exponential Moving Averages to identify market trends. It filters entries by requiring a minimum ADX value to ensure sufficient trend strength before executing trades. The system manages risk with fixed lot sizing a

MT5 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Laguna EA Collection

TFEX Competition 555

by assazzin
1 stars

This MetaTrader 4 expert advisor is an automated trading robot developed for a 2019 trading competition. It executes trades based on a price range breakout strategy, calculating entry levels from the high and low values of previous candles. The algorithm filters entries using a 10-period Exponential Moving Average and

MT4 Trading robot Trend followingBreakout
Updated 7 years ago None stated GitHub repository of TFEX Competition 555

Junbari MT4

by fujishuu
1 stars

Junbari MT4 is a trend-following expert advisor for MetaTrader 4 that identifies trade entries based on price breakouts. The system monitors the highest highs and lowest lows over a specific lookback period to determine market direction. It enters positions when the current price breaks a historical level and meets a m

MT4 Trading robot Trend followingBreakout
Updated 7 years ago None stated GitHub repository of Junbari MT4
1 stars

This MetaTrader 5 repository contains a collection of experimental expert advisors focused on trend-following and crossover logic. The primary codebase utilizes the Average Directional Index (ADX) to gauge trend strength and Moving Average crossovers to determine trade entries. The included tools feature hardcoded stop

MT5 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Expert Advisor Experiment

MACD MA Cross

by b79528
1 stars

MACD MA Cross is a MetaTrader 4 expert advisor that automates entries based on the alignment of MACD signals and Moving Average crossovers. The strategy triggers trades when indicators confirm a trend, using Linear Weighted Moving Averages (LWMA) for direction. The EA features an unconventional exit strategy where posi

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of MACD MA Cross

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

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

TrendLine Trade Robot

by szczudlo6
1 stars

This MetaTrader 4 expert advisor automates trading based on trendline analysis. It identifies price trends within a specific lookback period and executes entries when price aligns with these detected structures. The robot manages risk through a percentage-based money management system, requiring a stop loss and minimum

MT4 Trading robot Trend following
Updated 7 years ago None stated GitHub repository of TrendLine Trade Robot

Quanta EA

by shibakk
1 stars

Quanta is an automated trading robot for MetaTrader 4 and MetaTrader 5 that executes trades based on external indicator signals. The EA utilizes the WebRequest function to download data and HTML files from a remote server to guide its trading logic. For risk control, the system provides parameters for manual lot sizing

MT4MT5 Trading robot Trend following
Updated 7 years ago None stated GitHub repository of Quanta EA

MA Crossover

by Daiwv
1 stars

This MetaTrader 4 expert advisor executes trades based on the crossover of two Simple Moving Averages. It identifies trend shifts by comparing the relationship between a fast and a slow moving average over the two most recent bars. The robot enters a buy position and closes existing sell trades when the fast MA crosses

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

This MetaTrader 4 expert advisor executes trades based on short-term price momentum across three consecutive candles. It monitors closing prices to identify price direction, initiating a buy order when prices are rising or a sell order when prices are falling. The system includes configurable fixed stop loss and take p

MT4 Trading robot Trend following
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

Multi Trader

by ChamalAB
1 stars

Multi Trader is a MetaTrader 4 tool designed to execute and manage a multi-position strategy through an on-chart dashboard. It allows traders to open up to three simultaneous orders with a unified stop loss but independent take profit targets and lot sizes. The expert advisor manages trade progression by adjusting stop

MT4 Utility Trend followingMulti-strategy
Updated 8 years ago None stated GitHub repository of Multi Trader

Median Turbo Renko SDK

by gridgentoo
1 stars

This repository provides a specialized framework and example expert advisors for developing Renko-based trading systems on the MetaTrader 5 platform. It includes a dedicated MQL5 header library that simplifies integration with the Median Renko indicator bundle. The framework handles the acquisition of chart settings au

MT5 Framework & template Trend followingIndicator crossover
1 stars

This repository provides a collection of expert advisors for the MetaTrader 5 platform, primarily utilizing the standard MQL5 library components. The main expert advisor, ExpertMAPSARSizeOptimized, generates trade entries based on Moving Average crossovers and manages exits using a Parabolic SAR trailing stop. It inclu

MT5 Collection Indicator crossoverTrend following

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

Krikor

by Comp-AS
1 stars

Krikor is a MetaTrader 4 robot that uses a combination of technical indicators and a grid-based recovery system to manage trades. It determines entries using a Relative Strength Index (RSI), Moving Averages, Average Directional Index (ADX), and a custom ZigZag indicator. The strategy employs martingale lot scaling, inc

MT4 Trading robot MartingaleGridTrend following High risk
Updated 8 years ago None stated GitHub repository of Krikor

Boss Logic

by chaninnart
1 stars

Boss Logic is an automated trading robot for MetaTrader 4 that utilizes a combination of the Zigzag indicator, MACD, and Turtle Trading Channel logic. The EA monitors price pivots across various bar intervals to identify potential entry points based on trend exhaustion or reversals. Trade management includes standard t

MT4 Trading robot Trend followingIndicator crossover
Updated 8 years ago None stated GitHub repository of Boss Logic

Super Grid

by allanon98
1 stars

This MetaTrader 4 expert advisor implements a trend-following grid strategy based on multiple moving averages. It determines market direction using configurable average periods and places initial pending orders followed by additional positions at set point intervals. The robot manages long and short trades independentl

MT4 Trading robot Trend followingGridHedging High risk
Updated 8 years ago None stated GitHub repository of Super Grid

Learn how to use expert advisors

Free, plain-English guides: find an EA, install it, set it up, test it and run it safely.

  1. 1Types of EAsRobots, trade managers, copiers and risk tools, and what each is for.
  2. 2Using this librarySearch, filters, badges and what our checks do and do not mean.
  3. 3Install an EA in MT4 or MT5Data folder, compile, attach to a chart and switch on algo trading.
  4. 4EA settings explainedLot size, stop-loss, magic number, max spread and trading hours.
  5. 5Backtest in the Strategy TesterModelling, spread, the report and the over-fitting trap.
  6. 6Choose a safe EAA checklist for the code, the logic, the evidence and the fit.
  7. 7Run an EA 24/7VPS, forward testing on demo and going live small.
  8. 8Open-source EAs on GitHubLicences, compiling in MetaEditor and editing inputs safely.
  9. 9Forex robots: an honest guideWhat automation can and cannot do for you.

About the EA Library

The ForexR EA Library collects open-source expert advisors for MetaTrader 4 and MetaTrader 5 that are published on GitHub. Each entry links to the original repository, so you always get the author's latest code, issues and licence straight from the source. Star counts, last updates and licences are synced from GitHub every hour, and new repositories are added every week.

Every repository is checked automatically before it is listed: it must contain readable MQL source code for a real expert advisor, and repositories that ship executables, hide downloads behind archive passwords or show signs of bought stars are left out. The summaries and tags are written automatically from each repository's README and code. They describe what an EA does; they are not a recommendation, and nothing here is tested or endorsed by ForexR.

Trading with expert advisors is risky. Backtest any EA and run it on a demo account before you trust it with real money. CFDs and leveraged forex are complex instruments with a high risk of losing money rapidly.

EA Library FAQ

What is an expert advisor (EA)?

An expert advisor is a program that runs inside MetaTrader 4 or MetaTrader 5. It can open and close trades on its own, manage trades you opened (trailing stops, break-even, partial closes), protect the account, or connect MetaTrader to other tools such as Telegram or Python. EAs are written in MQL4 (MT4) or MQL5 (MT5).

Are the EAs in this library free?

Yes. Every EA listed here is published on GitHub with its source code, so you can read, download and compile it at no cost. Check each repository's licence before reusing the code in your own projects: some EAs state no licence at all.

Are these EAs safe to use?

ForexR lists only repositories with readable MQL source code and never hosts files. Repositories that ship executables, ask you to disable antivirus, hide downloads behind passwords or show signs of bought stars are left out automatically. That does not make any EA profitable or bug-free: read the code, backtest it in the Strategy Tester and run it on a demo account first.

How do I install an EA in MT4 or MT5?

Download the source from GitHub, open MetaTrader, choose File, then Open Data Folder, and copy the .mq4 (MT4) or .mq5 (MT5) file into MQL4/Experts or MQL5/Experts. Open it in MetaEditor and press Compile, then drag the EA from the Navigator onto a chart and allow algorithmic trading.

How does ForexR choose which EAs to list?

A crawler searches GitHub every week for MetaTrader repositories, reads their code and keeps those that contain a real expert advisor and pass the safety checks. Stars, updates and licences are refreshed from GitHub every hour. Summaries are written automatically from each repository's README and code, so treat them as a guide and check the source.

What do "High risk", grid and martingale mean?

A grid EA opens a ladder of orders at fixed distances; a martingale EA increases the lot size after losses. Both can show smooth equity curves for a long time and then lose a large part of the account in one strong trend. EAs that use either are marked High risk, and you can hide them with the "Hide grid and martingale" filter.

Run EAs with a broker that supports MT4 and MT5

Compare regulated brokers by platform, spreads, minimum deposit and leverage.

Compare brokers