Synced with GitHub · updated hourly

Expert Advisor Library

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

381 EAs match Clear filters

Shosan EA

by Kennius7
1 stars

This MetaTrader 5 expert advisor is an experimental project developed to automate trading using technical indicators for trend and momentum analysis. The system incorporates a 100-period Exponential Moving Average (EMA), MACD, and Average True Range (ATR) for entry signals and trade management. It features built-in ris

MT5 Trading robot Trend followingIndicator crossover
Updated 3 years ago None stated GitHub repository of Shosan EA

Forex Trading Robot

by HosseinAssaran
1 stars

Forex Trading Robot is a collection of MetaTrader 5 expert advisors that implement various technical strategies, including trend-following and hedging approaches. The core logic utilizes Exponential Moving Averages and the Average True Range indicator to identify market volatility. It employs a martingale lot scaling s

MT5 Collection MartingaleHedgingGrid High risk
Updated 3 years ago None stated GitHub repository of Forex Trading Robot

Bear Treading

by Polobear9
1 stars

Bear Treading is a MetaTrader 5 robot developed using the MQL5 standard library expert classes. It primarily executes trades based on Relative Strength Index (RSI) signals, incorporating Moving Average parameters for trend identification. The system employs traditional risk controls, including hard stop loss and take p

MT5 Trading robot Mean reversionIndicator crossover
Updated 3 years ago None stated GitHub repository of Bear Treading

NLF Trading Bot

by NorVirae
1 stars

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

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

This repository contains a collection of MetaTrader 5 expert advisors built using the standard MQL5 library framework. The featured expert advisor, ExpertMAPSARSizeOptimized, generates trade signals based on a Moving Average and manages active positions using a Parabolic SAR trailing stop. It includes a money managemen

MT5 Collection Indicator crossoverTrend followingMulti-strategy High risk

This repository contains a collection of MetaTrader 5 Expert Advisors and graphical tools. It includes several technical strategy robots based on Relative Strength Index crossovers, Bollinger Bands, and Moving Averages. Additionally, it features advanced 3D visualization utilities such as a correlation matrix and a mat

MT5 Collection Indicator crossoverMean reversionTrend following High risk

Expert Advisors Collection

by johnsmith-mql
1 stars

This repository provides a collection of standard template expert advisors for both MetaTrader 4 and MetaTrader 5. It includes the classic MACD Sample and Moving Average robots, which demonstrate indicator-based trading logic. The MACD Sample enters positions based on MACD signal levels filtered by a moving average tre

MT4MT5 Collection Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of Expert Advisors Collection

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 MetaTrader 5 repository provides a collection of expert advisors and analytical tools focused on technical analysis and visualization. The primary utility is a 3D correlation matrix that calculates and displays the relationships between multiple currency pairs using DirectX rendering. The repository also includes

MT5 Collection Indicator crossoverMulti-strategyGrid High risk
1 stars

The US30 US500 Trading Collection for MetaTrader 5 provides a variety of expert advisors and analytical utilities. Although the repository name indicates a focus on major indices, it primarily contains standard technical indicator examples such as MACD, Moving Average, and Parabolic SAR. A notable component is a 3D cor

MT5 Collection Trend followingIndicator crossoverMulti-strategy High risk

This repository is a collection of Expert Advisors for MetaTrader 5, providing several distinct automated strategies such as range trading, ZigZag-based signals, and Fibonacci targets. The primary robot executes trades based on Moving Average calculations and specific intraday session times. It manages risk through fix

MT5 Collection Trend followingIndicator crossoverMulti-strategy

Autotrader TFA

by Finansya-Lab
1 stars

This MetaTrader 5 expert advisor automates trading by analyzing market conditions through multiple technical indicators, including Stochastic, RSI, MACD, and dual Moving Averages. It employs an object-oriented approach to identify entry points based on indicator crossovers and trend momentum. Risk management is handled

MT5 Trading robot Indicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Autotrader TFA
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
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

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

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

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

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

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

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

This repository is a collection of MetaTrader 5 expert advisors and analytical utilities. It features several standard trading examples like MACD and Moving Average, alongside more specific implementations using MAMA and Parabolic SAR indicators. A notable component is a three-dimensional correlation matrix tool that v

MT5 Collection Indicator crossoverMulti-strategyGrid High risk
1 stars

This repository is a collection of MetaTrader 5 expert advisors and scripts designed for educational purposes. It contains several standalone trading tools, including simple Bollinger Band strategies, trailing stop managers, and limit order placement utilities. The primary example uses a grid-based approach, populating

MT5 Collection GridMartingaleScalping High risk

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

Estudos MQL5

by lucasmoreiradev
1 stars

This repository contains a collection of MetaTrader 5 expert advisors developed for educational purposes and study. The primary robot, Cruzamento Media EA, utilizes a moving average crossover strategy with configurable short and long periods. It incorporates essential risk management tools, including fixed stop loss, t

MT5 Collection Indicator crossover
Updated 6 years ago None stated GitHub repository of Estudos MQL5

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

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

This MetaTrader 5 collection features several automated trading robots focused on the forex market. The repository includes multiple expert advisors that utilize different technical analysis methods, such as Bollinger Bands, ADX, and Stochastic oscillators. Additionally, one module integrates the MetaTrader 5 economic

MT5 Collection Indicator crossoverNewsMean reversion
Updated 7 years ago None stated GitHub repository of Hyper Trading EA Collection
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

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 Expert Advisor for MetaTrader 5 implements a trend-following strategy based on four moving averages. It determines market direction to trigger buy or sell entries during specified trading hours. The robot features time-restricted operations, allowing trade execution only between set start and end times. Risk manag

MT5 Trading robot Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Four Moving Average Advisor

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

Mql5 Tigers

by lucasgiusti
1 stars

This repository is a collection of expert advisors for the MetaTrader 5 platform, featuring several trend-following and indicator-based strategies. It includes implementations for MACD crossovers, Moving Average crosses, and Parabolic SAR logic. The experts provide standard trade management features such as fixed lot s

MT5 Collection Trend followingIndicator crossover
Updated 8 years ago None stated GitHub repository of Mql5 Tigers

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

Smith MQL5

by IlyaSaniukevich
1 stars

Smith MQL5 is an automated trading robot for MetaTrader 5 that utilizes a combination of technical oscillators, specifically OsMA, MACD, and Stochastic. The system evaluates price action across multiple timeframes, from M1 to weekly charts, to determine entry points. It includes trade management features such as fixed

MT5 Trading robot Indicator crossoverMean reversion
Updated 9 years ago None stated GitHub repository of Smith MQL5

Cross Average Robot

by erlonfs
1 stars

This MetaTrader 5 expert advisor executes trades based on the crossover of two moving averages. It allows users to define periods for both long and short averages and select the calculation method, such as Exponential Moving Average. The EA includes internal time management, allowing for specific start and end times pl

MT5 Trading robot Indicator crossoverTrend following

My MMA

by ligy2016
1 stars

This MetaTrader 5 expert advisor implements a classic dual moving average crossover strategy. It tracks two Simple Moving Averages with configurable fast and slow periods to determine trade entry and exit points. The robot checks for signals every 15 seconds via a timer function rather than on every price tick. Users c

MT5 Trading robot Trend followingIndicator crossover
Updated 9 years ago None stated GitHub repository of My MMA

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