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.

274 EAs match Clear filters

Zone Hedging EA

by sompol13
1 stars

This MetaTrader 4 expert advisor implements a zone-based hedging strategy using predefined price levels. The robot monitors specific price thresholds—defined as ceiling, middle, and floor—to manage order entries. It utilizes a timer-driven event system to evaluate trade conditions and manage positions. Risk control is

MT4 Trading robot HedgingGrid High risk
Updated 5 years ago None stated GitHub repository of Zone Hedging EA

MFI Expert

by Hamzeh24w
1 stars

This MetaTrader 4 expert advisor implements a trading strategy centered on the Money Flow Index (MFI) indicator. It opens buy positions when the MFI crosses below a user-defined threshold and sell positions when it crosses above a threshold. To manage losing trades, the EA employs a martingale-style lot scaling mechani

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 5 years ago None stated GitHub repository of MFI Expert

Se-0303

by se333
1 stars

Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling. It determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk contr

MT4MT5 Trading robot GridMartingaleTrend following High risk
Updated 6 years ago None stated GitHub repository of Se-0303

EMA 200 EA

by MrKali
1 stars

This MetaTrader 4 expert advisor executes a strategy based on the 200-period Exponential Moving Average. It identifies potential entries when price action deviates from the EMA, specifically seeking bearish candles below the average for buy orders and bullish candles above the average for sell orders. The robot include

MT4 Trading robot Mean reversionGrid High risk
Updated 6 years ago None stated GitHub repository of EMA 200 EA

TimeBit

by minhtranlife
1 stars

This MetaTrader 5 expert advisor utilizes ZigZag indicators and Fibonacci retracements to identify and trade ABCD patterns. Operating primarily on the M1 and M5 timeframes, the robot calculates entry points based on specific price ranges and Fibonacci levels such as 23.6 and 38.2. The system employs an aggressive marti

MT5 Trading robot MartingaleMean reversionGrid High risk
Updated 6 years ago None stated GitHub repository of TimeBit
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

Dollar Killer Martingale

by DollarKillerMQL
1 stars

Dollar Killer Martingale is an automated trading robot for MetaTrader 5 that utilizes Bollinger Bands to identify market entry points. The EA initiates trades based on price interaction with band boundaries and manages drawdowns through a lot-multiplication recovery system. It features a grid-based approach where addit

MT5 Trading robot MartingaleGridMean reversion 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

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

RSI Grid

by jensengelke
1 stars

This MetaTrader 4 expert advisor executes a mean-reversion strategy driven by the Relative Strength Index. It enters trades when the RSI indicates overextended price levels and manages them using a grid-based approach. The EA scales lot sizes using a martingale factor and allows for position layering at specified dista

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 6 years ago None stated GitHub repository of RSI Grid

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

MACD EA IPAG

by adiarthagriadhi
1 stars

This MetaTrader 4 expert advisor executes trades based on the MACD indicator and uses a Moving Average filter to determine the prevailing trend. It features a dynamic lot sizing algorithm that adjusts risk percentages according to account balance tiers. While the documentation focuses on MACD signals for H1 charts, the

MT4 Trading robot Trend followingGridIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of MACD EA IPAG
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

Richer Machine

by SeedMQL
1 stars

Richer Machine is a MetaTrader 4 expert advisor designed for automated breakout trading using Bollinger Bands and custom price levels. It initiates trades when price closes outside the bands, subsequently placing Buy Stop and Sell Stop orders at intervals defined by a Fibonacci-width parameter. The system manages risk

MT4 Trading robot BreakoutGrid High risk
Updated 7 years ago None stated GitHub repository of Richer Machine

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

Soldiers No SL

by p8queen
1 stars

This MetaTrader 4 Expert Advisor implements a price-action grid strategy that opens orders based on fixed distance intervals. The robot establishes a baseline level and triggers a buy or sell position whenever the price moves a specific number of points away from that level. It features no built-in stop loss or take pr

MT4 Trading robot GridHedging High risk
Updated 7 years ago None stated GitHub repository of Soldiers No SL

Invea Stoch

by sljxiaoxin
1 stars

Invea Stoch is an automated trading robot for MetaTrader 4 that utilizes the Stochastic oscillator to identify entries based on overbought and oversold levels. The EA initiates trades when the indicator exceeds 85 or falls below 15, applying price action filters based on the highs of recent candles. It manages risk wit

MT4 Trading robot Mean reversionGrid High risk
Updated 8 years ago None stated GitHub repository of Invea Stoch

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

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

Mugen Nampin

by KotaroHashimoto
1 stars

Mugen Nampin is a MetaTrader 4 expert advisor that executes a mean-reversion strategy using Bollinger Bands. It enters buy positions when price drops below the lower band and sell positions when price exceeds the upper band. The robot employs an averaging down approach, layering additional trades at fixed intervals whe

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of Mugen Nampin
1 stars

Integra 777 Buy Sell is a MetaTrader 4 expert advisor that utilizes a grid-based approach combined with the Commodity Channel Index (CCI) for trade entries and management. The robot opens positions and adds supplementary orders at dynamic distances, governed by a minimum step parameter. It features a unique trailing pr

MT4 Trading robot GridMartingaleIndicator crossover High risk
Updated 8 years ago None stated GitHub repository of Integra 777 Buy Sell

Susu Engulf

by Chongcharen
1 stars

Susu Engulf is a MetaTrader 4 expert advisor that automates trading based on engulfing candlestick patterns and technical indicators. It utilizes a combination of MACD and five distinct moving averages to determine trend direction and entry points. The EA manages risk through a maximum order limit and a money managemen

MT4 Trading robot Trend followingSMC / ICT / price actionGrid High risk
Updated 8 years ago None stated GitHub repository of Susu Engulf

Oldea EA Collection

by sljxiaoxin
1 stars

This repository provides a collection of MetaTrader 4 expert advisors, with a primary focus on the Dreamguy MaCrossMarti system. The EA initiates trades based on fast and slow moving average crossovers, utilizing a long-period moving average for trend filtering. It manages positions through a grid-based approach and ma

MT4 Collection Indicator crossoverMartingaleGrid High risk
Updated 9 years ago None stated GitHub repository of Oldea EA Collection
1 stars

This repository is a collection of MetaTrader 4 expert advisors focusing on breakout and technical indicator strategies. Notable components include breakout logic based on Monday high and low prices, exponential moving average crossovers, and high-water mark tracking. Risk management is handled through various lot sizi

MT4 Collection BreakoutHedgingIndicator crossover High risk

ZBlue

by zzzblue
1 stars

ZBlue is a MetaTrader 4 expert advisor designed for forex trading using a Martingale-style recovery strategy. It initiates a starting position and adds subsequent trades at increasing pip intervals if the market moves against the initial entry. The EA manages both buy and sell directions independently. It uses a tiered

MT4 Trading robot MartingaleGridHedging High risk
Updated 9 years ago None stated GitHub repository of ZBlue
1 stars

This repository contains several MetaTrader 4 and 5 expert advisors, primarily focusing on multi-symbol basket trading and automated position management. The main EA allows users to trade up to six currency pairs simultaneously with predefined directions. It features a mechanism to add positions based on fixed distance

MT4MT5 Collection Multi-strategyGridMartingale High risk
Updated 9 years ago None stated GitHub repository of Ves Multi Symbol Collection

Blessing Three

by duanwujie
1 stars

This MetaTrader 4 expert advisor is an automated grid trading system that utilizes a variety of indicators including Moving Averages, CCI, Bollinger Bands, and MACD for trade entries. It employs a martingale-style lot multiplier to manage position sizing across sequential grid levels. The software includes risk control

MT4 Trading robot GridMartingaleIndicator crossover High risk
Updated 9 years ago None stated GitHub repository of Blessing Three

B4

by shturm
1 stars

B4 is an automated trading robot for MetaTrader 4 that utilizes a grid-based strategy with martingale lot scaling. It employs multiple technical indicators, including Moving Averages, CCI, Bollinger Bands, Stochastic, and MACD, to determine market entry points. The EA features comprehensive risk management controls suc

MT4 Trading robot GridMartingaleIndicator crossover High risk
Updated 9 years ago None stated GitHub repository of B4

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