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.

39 EAs match Clear filters

Icarus

by fraggli
7 stars

Icarus is an automated trading system for MetaTrader 4 that employs a grid strategy with Martingale lot scaling. It utilizes Bollinger Bands and the Stochastic Oscillator to identify entry points, offering a conjunctive mode for filtered execution. The EA manages risk through maximum position limits, equity warning thr

MT4 Trading robot GridMartingaleMean reversion High risk
Updated 4 years ago GPL-3.0 GitHub repository of Icarus

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

Oanda TDesk Drone

by LonnieCoffman
4 stars

Oanda TDesk Drone is a MetaTrader 4 expert advisor designed to execute trades based on signals from the TDesk dashboard via the Oanda FXtrade platform. It functions as a bridge, using an external Python script and file-based data exchange to facilitate order placement. The EA is specifically designed to support fractio

MT4 Trading robot Multi-strategyGridHedging High risk
Updated 7 years ago None stated GitHub repository of Oanda TDesk Drone

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

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 expert advisor facilitates arbitrage trading between futures and spot instruments, primarily targeting gold and stock indices. Available for MetaTrader 4 and 5, it monitors the price difference between two related symbols against a moving average to identify trade opportunities. The logic includes a noise-filterin

MT4MT5 Trading robot ArbitrageMean reversionGrid High risk
Updated 3 years ago None stated GitHub repository of Gold Futures Spot Arbitrage

Oil Hedge

by vvvf
3 stars

This MetaTrader 4 expert advisor implements a correlation-based hedging strategy between two instruments, typically UKOIL and USOIL. It monitors the price spread between the two assets, opening buy and sell positions simultaneously when the spread expands or narrows beyond defined thresholds. The EA manages exits based

MT4 Trading robot HedgingMean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of Oil Hedge

Buy Low Sell High EA

by yeainshukla
2 stars

This MetaTrader 4 expert advisor implements a cumulative profit strategy based on support and resistance levels. The system identifies potential trade entries by analyzing historical price extremes over a defined lookback period while excluding recent price action. It manages trade exits collectively, closing the entir

MT4 Trading robot Mean reversionHedging
Updated 1 year ago None stated GitHub repository of Buy Low Sell High EA

Ario Averaging

by ariogunawan
2 stars

This MetaTrader 4 expert advisor implements an averaging strategy that manages trades by opening additional layers at predefined intervals when the market moves against the initial position. It features modes for both averaging up and down, with the ability to alternate between buy and sell orders. The EA includes risk

MT4 Trading robot GridMartingaleHedging High risk
Updated 2 years ago None stated GitHub repository of Ario Averaging

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 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 MetaTrader 4 expert advisor implements a trend-following strategy using exponential moving average crossovers. It automates trade entries when momentum shifts and manages exits based on a user-defined reward-to-risk ratio. The system features a dynamic position sizing algorithm to adjust lot sizes relative to acco

MT4 Trading robot Indicator crossoverMartingaleHedging High risk

Suminsky EA

by zegitz
2 stars

Suminsky EA is an automated trading tool for the MetaTrader 4 platform that utilizes a level-based execution strategy. The robot places orders within a specified price range, divided into multiple lines or levels to manage entries. It features risk management settings including fixed lot sizing, a take profit target, a

MT4 Trading robot GridHedging High risk Archived
Updated 7 years ago None stated GitHub repository of Suminsky EA

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

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

Forex Expert Grid

by dz-rep
1 stars

This MetaTrader 4 expert advisor implements a grid-based trading approach by opening buy and sell positions based on price distance. The system evaluates current market orders and places new trades only when the price moves a specific distance, defined by the step parameters, from existing entries. Users can independen

MT4 Trading robot GridHedging High risk
Updated 9 months ago None stated GitHub repository of Forex Expert Grid

Hosopi3 Tanpoji

by harukihosono
1 stars

Hosopi3 Tanpoji is a single-position trading robot for MetaTrader 4 and MetaTrader 5, specifically developed to avoid martingale and averaging techniques. It triggers entries using various built-in technical indicators such as Moving Averages, RSI, Bollinger Bands, and Stochastics, or through external custom indicator

MT4MT5 Trading robot Indicator crossoverMean reversionMulti-strategy
Updated 10 months ago None stated GitHub repository of Hosopi3 Tanpoji

Gann Fan Bot

by AbasNiknam
1 stars

This MetaTrader 4 expert advisor automates trading based on Gann Fan theory by identifying trend angles from recent swing highs and lows. It enters the market using buy and sell stop orders placed at specific distances from detected Gann lines. The robot includes risk management features such as fixed stop loss, take p

MT4 Trading robot Trend followingBreakoutHedging
Updated 11 months ago None stated GitHub repository of Gann Fan Bot

Grid Martingale TA Signals

by SrisittikumChanintorn
1 stars

This MetaTrader 4 expert advisor executes a dual-direction grid trading strategy driven by technical analysis. It enters trades based on an Exponential Moving Average crossover logic using three distinct periods. The system employs a customizable martingale sequence where lot sizes increase after a user-defined number

MT4 Trading robot Indicator crossoverGridMartingale High risk
Updated 1 year ago None stated GitHub repository of Grid Martingale TA Signals

Hedge EA

by sahebkaran1
1 stars

This MetaTrader 4 expert advisor executes and manages trades using a specialized hedging strategy. It monitors account equity and floating losses, automatically opening hedge positions when a user-defined loss percentage is reached. The system includes robust risk management features such as daily and weekly loss limit

MT4 Trading robot Hedging
Updated 1 year ago MIT GitHub repository of Hedge EA
1 stars

This MetaTrader 4 expert advisor executes trades based on candle momentum and specific trigger factors. It manages positions using virtual trailing stop-loss and take-profit levels, alongside a global profit target that halts trading once a predefined financial goal is met. The system includes logic for multi-symbol tr

MT4 Trading robot Trend followingHedgingMulti-strategy

Zone Recovery EA

by inubayuaji
1 stars

Zone Recovery is a MetaTrader 4 expert advisor that employs a hedging strategy to manage trades within a specific price range. It uses a recovery algorithm to open opposite positions with increased lot sizes when the market moves against the initial entry. The EA calculates a lot multiplier based on the risk-reward rat

MT4 Trading robot HedgingMartingale High risk
Updated 2 years ago None stated GitHub repository of Zone Recovery EA

Tip Top AI

by sournk
1 stars

Tip Top AI is a price action robot for MetaTrader 4 and MetaTrader 5 that uses a proprietary candle tail length algorithm to identify market entries. The strategy calculates the average size of historical bars and monitors current candles for specific wick-to-body ratios. It enters trades when wicks exceed the body siz

MT4MT5 Trading robot SMC / ICT / price actionGridHedging High risk
Updated 2 years ago None stated GitHub repository of Tip Top AI

Mix

by Peter-Novak
1 stars

This MetaTrader 4 expert advisor executes two distinct intraday strategies focused on the GBPUSD pair. The first approach identifies price deviations from the daily open, while the second targets retracements from specific daily range extensions. The robot manages multiple position types, including primary and extra or

MT4 Trading robot Mean reversionMulti-strategyHedging
Updated 3 years ago None stated GitHub repository of Mix

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

Icarus EA

by Aomforex
1 stars

Icarus EA is a MetaTrader 4 robot that executes a grid trading strategy with lot size progression. It opens sequences of trades at fixed intervals and uses a multiplier to scale lot sizes, identifying it as a martingale-style system. Risk controls include an equity warning threshold, a maximum number of concurrent posi

MT4 Trading robot GridMartingaleHedging High risk
Updated 4 years ago None stated GitHub repository of Icarus EA

Arbitrage Expert

by wawaw237zz
1 stars

Arbitrage Expert is a MetaTrader 4 expert advisor that focuses on a zone recovery hedging strategy rather than traditional arbitrage. Based on the OGT Zone Recovery system, it manages trades by opening counter-positions within a defined price zone when an initial trade goes into drawdown. The system employs a lot multi

MT4 Trading robot HedgingMartingaleMean reversion High risk
Updated 4 years ago None stated GitHub repository of Arbitrage Expert

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

Yumokin CCI

by yumokin
1 stars

This automated trend-following expert advisor for MetaTrader 4 is designed specifically for the GBPJPY pair on the H1 timeframe. It identifies market entries using the Commodity Channel Index and Moving Average Convergence Divergence indicators. The system operates within specific GMT hours and manages a maximum of two

MT4 Trading robot Trend followingIndicator crossoverHedging
Updated 7 years ago None stated GitHub repository of Yumokin CCI

Take Profit Oil Arbitrage

by iceandfire1981
1 stars

This MetaTrader 4 expert advisor implements a pairs trading or statistical arbitrage strategy primarily designed for energy commodities like USOIL and UKOIL. It monitors the price differential between two correlated assets over a specific lookback period to identify mean-reversion opportunities. The robot executes simu

MT4 Trading robot ArbitrageMean reversionHedging
Updated 7 years ago None stated GitHub repository of Take Profit Oil Arbitrage

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

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

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

Awesome EA

by eaymon
1 stars

Awesome EA is an automated multi-pair trading robot for MetaTrader 4 built on the Steve Hopwood Forex framework. It implements a trend-following strategy that filters entries using daily Peaky and SuperSlope indicators, executing trades when signals align on shorter timeframes. The system manages risk through equity-ba

MT4 Trading robot Trend followingMulti-strategyHedging
Updated 9 years ago None stated GitHub repository of Awesome EA

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

This MetaTrader 4 expert advisor executes trades based on a combination of Exponential Moving Averages, MACD, and Heiken Ashi indicators. It features a zone recovery system designed to manage trades that move against the initial position by utilizing offsetting orders. Risk management is handled through configurable ta

MT4 Trading robot Trend followingIndicator crossoverHedging High risk
Updated 10 years ago None stated GitHub repository of Zone Recovery Advisor

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