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.

27 EAs match Clear filters

This repository is a collection of various MetaTrader 4 expert advisors, featuring the WallStreet Forex Robot along with other tools like SteadyWinner and IndoRun. The primary EA utilizes technical indicators such as Moving Averages, CCI, and Williams' Percent Range to execute trades on the M15 timeframe. It includes c

MT4 Collection Trend followingIndicator crossoverMartingale High risk

Profit Hunter

by phpkadir
5 stars

Profit Hunter is an expert advisor for MetaTrader 4 designed for forex and cryptocurrency trading. It utilizes a composite signal strategy combining Triple Moving Average, Adaptive RSI, CCI, iTrend, and Fisher indicators. The robot executes trades using a grid system where distances between orders are set manually or c

MT4 Trading robot GridMartingaleHedging High risk
Updated 4 years ago None stated GitHub repository of Profit Hunter

Git Gpa Collection

by shidatonglin
5 stars

GitGpa is an extensive repository of MetaTrader 4 expert advisors, primarily featuring implementations of the OzFX strategy alongside various technical indicator-based bots. The collection includes tools for trend chasing, breakout trading, and moving average crossovers. These experts incorporate multiple risk manageme

MT4 Collection Trend followingBreakoutIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of Git Gpa Collection
4 stars

This repository is a collection of MetaTrader 4 expert advisors and indicators focused on aggressive trading strategies. The primary expert advisor uses a grid-based approach with martingale lot scaling to manage positions. It features multiple entry logics, including Bollinger Bands, Exponential Moving Averages, and m

MT4 Collection MartingaleGridIndicator crossover High risk

Fxcodebase Archive

by gehtsoft-usa
3 stars

This repository is a comprehensive backup of trading resources from the defunct fxcodebase community, containing a diverse collection of expert advisors for MetaTrader 4 and 5. The archive serves as a repository for legacy source code, featuring strategies ranging from RSI crossovers to advanced hedging and martingale

MT4MT5 Collection Multi-strategyMartingaleHedging High risk
Updated 2 months ago GPL-3.0 GitHub repository of Fxcodebase Archive

AutoTrade EA

by liucheng-12-08
3 stars

AutoTrade EA is a scalping robot for MetaTrader 4 and 5 that utilizes a multi-indicator signal scoring system based on Exponential Moving Average crossovers and RSI levels. It employs an aggressive trade management strategy featuring a dynamic grid and a stepped martingale lot scaling system where position sizes increa

MT4MT5 Trading robot ScalpingIndicator crossoverMartingale High risk
Updated 7 months ago None stated GitHub repository of AutoTrade EA
3 stars

This MetaTrader 4 collection contains various expert advisors, including a primary strategy based on EMA 50/200 crossovers and RSI filtering. The main EA manages entries through trend confirmation and provides risk controls such as stop loss, take profit, and trailing stops. It includes features for breakeven activatio

MT4 Collection Indicator crossoverTrend followingGrid High risk
Updated 10 months ago Custom licence GitHub repository of Simple Forex Tools Collection

North East Way

by Yogurt-Peng
3 stars

This MetaTrader 4 robot implements a multi-currency mean-reversion strategy, targeting price returns to the average on correlated forex pairs. It manages trades using a grid system with a significant martingale multiplier to scale lot sizes. The expert advisor allows for simultaneous trading on multiple symbols to dive

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 1 year ago None stated GitHub repository of North East Way
3 stars

This repository contains a collection of MetaTrader 4 expert advisors, including robots based on RSI, Bollinger Bands, and moving averages. The primary featured expert advisor implements a dual-symbol statistical arbitrage strategy using indicators such as ZigZag and Moving Averages to identify entries. It employs a ma

MT4 Collection ArbitrageMartingaleIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of Clunique Experts Collection
3 stars

This repository contains an extensive collection of over 250 expert advisors and utility scripts for MetaTrader 4. The library features various automated robots, manual trade panels, and risk management tools. It includes specialized folders for hedging strategies, pending order assistants, and multi-indicator monitors

MT4 Collection HedgingMartingaleMulti-strategy High risk

MQ4 Master Collection

by hairibaba
3 stars

This repository provides a collection of MetaTrader 4 expert advisors and utility tools. It includes diverse trading strategies ranging from M1 scalping and Heiken Ashi trend following to swing-based approaches. The codebase features a robust trade management framework with classes for order execution, error handling,

MT4 Collection Trend followingScalpingIndicator crossover High risk Archived
Updated 7 years ago None stated GitHub repository of MQ4 Master Collection

GBPUSD AI Grid EA

by AlexCrombieF
2 stars

The GBPUSD AI Grid EA is an automated trading robot for MetaTrader 4. It executes a grid-based strategy that layers orders during market movements. Initial entries are filtered using the Commodity Channel Index indicator. The bot manages positions through a martingale lot multiplier, increasing volume for subsequent gr

MT4 Trading robot GridMartingaleHedging High risk
Updated 2 years ago None stated GitHub repository of GBPUSD AI Grid EA
2 stars

This MetaTrader 4 repository contains a collection of expert advisors and utilities, primarily focused on the AM grid robot and various scalping scripts. The main EA employs a grid-based strategy that layers orders at specific distances and includes settings for trend and counter-trend protection. It features a mechani

MT4 Collection GridScalpingTrend following High risk
Updated 2 years ago None stated GitHub repository of Lianxi EA Collection
2 stars

This expert advisor for MetaTrader 4 and 5 implements a hedging recovery strategy to handle losing positions. When an initial trade moves against the user, the robot enters a recovery zone, placing counter-orders with scaled lot sizes to achieve a collective exit at a profit or break-even point. The EA includes risk co

MT4MT5 Trading robot HedgingMartingale High risk
Updated 3 years ago GPL-3.0 GitHub repository of Forex Recovery Zone
2 stars

This repository contains the Forex Algos Collection, a suite of over forty MetaTrader 4 expert advisors centered around the Aeron Forex Auto Trader robot. This primary EA implements a grid-based entry system combined with martingale lot scaling, where position sizes increase significantly via a multiplier factor after

MT4 Collection GridMartingaleHedging High risk
Updated 6 years ago None stated GitHub repository of Forex Algos Collection

Price Less EA

by exalkas
2 stars

Price Less EA is an automated trading robot for the MetaTrader 4 platform that implements a grid-based recovery strategy. It combines moving average crossovers for entry timing with a multi-level position layering system. The robot initiates trades and scales lot sizes using step-based increments at fixed distances. It

MT4 Trading robot GridIndicator crossoverMartingale High risk
Updated 8 years ago None stated GitHub repository of Price Less EA

Zyb EA Collection

by clispaul3
1 stars

Zyb EA Collection offers various MetaTrader 4 and 5 expert advisors that implement breakout, scalping, and grid-based trading. The primary strategy uses martingale lot scaling with a multiplier, allowing users to configure tiered step distances and position counts. It features price-level restrictions to prevent buying

MT4MT5 Collection BreakoutMartingaleGrid High risk
Updated 3 months ago None stated GitHub repository of Zyb EA Collection

Mirza Algo EA Collection

by Mirza-Algo
1 stars

This repository provides a collection of MetaTrader 4 expert advisors, including Evoque Global, Alpha Winner, and FXBULL. These robots primarily implement grid strategies with martingale lot scaling to manage positions. Evoque Global specifically includes a news filter, customizable trading hours, and an equity-based s

MT4 Collection GridMartingaleNews High risk
Updated 3 months ago None stated GitHub repository of Mirza Algo EA Collection

Inside Bar Grid EA

by danielworthy
1 stars

This MetaTrader 4 robot implements a grid-based hedging strategy triggered by inside bar price formations. It places multiple pending orders on both sides of a breakout and uses martingale lot scaling to increase position sizes for subsequent entries. The expert advisor is designed for the H4 and Daily timeframes, util

MT4 Trading robot BreakoutGridMartingale High risk
Updated 6 months ago None stated GitHub repository of Inside Bar Grid EA

FX Trading EA Collection

by tambillbka
1 stars

This repository provides a collection of automated trading systems for MetaTrader 4 and 5. The expert advisors utilize various technical indicators, including ADX, DMI, RSI, and Heiken Ashi, to determine market entry points. Some strategies are based on price action from previous candle directions. Trade management fea

MT4MT5 Collection Trend followingScalpingMartingale High risk
Updated 1 year ago None stated GitHub repository of FX Trading EA Collection

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

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

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

Eternal Collection

by AdaJass
1 stars

This collection for MetaTrader 4 features several automated trading scripts, with the Eternal EA serving as the primary component. The system implements a hedging strategy by opening simultaneous buy and sell positions. It manages these trades using user-defined price gaps and closes positions once a specific number of

MT4 Collection HedgingArbitrageIndicator crossover High risk
Updated 9 years ago None stated GitHub repository of Eternal Collection

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

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