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.

840 EAs match Clear filters

Belinda EA

by Lucas170
7 stars

Belinda EA is an automated trading robot for MetaTrader 4 that implements a trend-following strategy based on moving average crossovers. It enters long or short positions when a short-term simple moving average crosses a long-term moving average, provided a volatility filter is met. This filter compares the current Ave

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Belinda EA

Desiree EA

by Lucas170
7 stars

Desiree is an automated trading robot for MetaTrader 4 that utilizes Donchian Channel breakouts for trade execution. The system enters positions based on a specific lookback period and exits using a separate exit period. A notable logic constraint prevents the EA from entering a new trade if the preceding trade resulte

MT4 Trading robot BreakoutTrend following
Updated 9 years ago None stated GitHub repository of Desiree EA
7 stars

This MetaTrader 4 expert advisor implements a flexible strategy based on the directional consensus of multiple technical indicators. It allows users to combine Moving Averages, Stochastic Oscillators, THV3 T3, Babon Slope, and AMA Optimized modules. A trade is initiated only when all selected indicators align in the sa

MT4 Trading robot Trend followingMulti-strategyIndicator crossover
6 stars

This Expert Advisor for MetaTrader 5 automates a pure price-action strategy primarily designed for gold on the five-minute timeframe. It identifies market trends using swing point structures like higher highs and lower lows without lagging indicators. The EA creates supply and demand zones from engulfing candle pattern

MT5 Trading robot Trend followingSMC / ICT / price actionScalping

Snipe FX Pro

by NadirAliOfficial
6 stars

Snipe FX Pro is a MetaTrader 5 expert advisor designed for high-frequency tick scalping, primarily pre-configured for XAUUSD. It utilizes a virtual stealth execution system to manage entries and exits without placing hard stops on the broker's server until necessary. The EA enters trades based on price breakouts or pul

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 7 weeks ago None stated GitHub repository of Snipe FX Pro

Price Action Engulfing Zone

by NadirAliOfficial
6 stars

This expert advisor for MetaTrader 5 implements a pure price action strategy focused on Gold (XAUUSD) on the five-minute timeframe. It identifies market trends through swing-point structure analysis and marks supply and demand zones based on engulfing candlestick patterns. Trades are triggered only when price retests a

MT5 Trading robot SMC / ICT / price actionTrend following
6 stars

This MetaTrader 5 expert advisor executes a breakout strategy based on specific three-day candlestick patterns. It identifies sequences of 'Up' or 'Down' days to trigger pending orders above or below the previous day's range. The EA manages entries using Buy Stop and Sell Stop orders with a configurable liquidity dista

MT5 Trading robot BreakoutTrend following
Updated 3 months ago None stated GitHub repository of Candle Pattern Breakout

HLT Auto Trader

by GeorgVahi
6 stars

HLT is an automated trading robot for MetaTrader 5 that focuses on market structure and swing analysis across multiple timeframes from M1 to H4. The expert advisor synchronizes with New York time and identifies setups based on price swings and daily trading plans. It includes a fixed risk money management module and sp

MT5 Trading robot SMC / ICT / price actionNews
Updated 3 months ago None stated GitHub repository of HLT Auto Trader

Xauusd God MT5 EA

by techly39
6 stars

This expert advisor is designed for automated gold trading on the MetaTrader 5 platform, specifically targeting the 5-minute timeframe. It employs a scalping strategy with integrated filters for spread and volatility to qualify entries. The system includes various risk controls such as drawdown gates, weekly trading li

MT5 Trading robot Scalping
Updated 9 months ago None stated GitHub repository of Xauusd God MT5 EA

Enamel

by DocProvolone
6 stars

Enamel is a trend-pullback expert advisor for MetaTrader 5 specifically configured for USD currency pairs. The robot identifies entries using a combination of exponential moving averages, RSI, MACD, and ADX indicators, requiring confirmation from candle body size relative to volatility. It includes a higher timeframe t

MT5 Trading robot Trend followingMean reversionIndicator crossover
Updated 12 months ago Apache-2.0 GitHub repository of Enamel

ICT Silverbullet EA

by techdeepsm
6 stars

This MetaTrader 5 expert advisor implements Smart Money Concepts and the ICT Silver Bullet strategy, specifically optimized for XAUUSD. It executes trades on the M15 timeframe after confirming trend alignment on H4, H1, and M30 charts using exponential moving averages. The robot evaluates trade setups based on fair val

MT5 Trading robot SMC / ICT / price actionTrend following
Updated 1 year ago None stated GitHub repository of ICT Silverbullet EA

Complex Market Predictor

by scuffff2828
6 stars

This MetaTrader 5 expert advisor uses complex mathematical modeling to predict future price movements through a combination of sinusoidal analysis, Fast Fourier Transform, and Monte Carlo simulations. It evaluates cyclical trends, fractal structures, and non-linear volatility via sigmoidal functions to generate buy and

MT5 Trading robot AI / machine learning

Strategy SuperTrend

by EA31337
6 stars

This MetaTrader 5 expert advisor implements a trend-following strategy based on the SuperTrend indicator. Built using the EA31337 framework, it supports multi-timeframe analysis through a configurable bitmask parameter. The EA enters trades based on indicator signal reversals and manages operations across various chart

MT5 Trading robot Trend following
Updated 2 years ago None stated GitHub repository of Strategy SuperTrend
6 stars

This MetaTrader 5 expert advisor provides a versatile framework for trading based on Heiken Ashi price action. It allows users to toggle between numerous built-in strategies, including trend following, moving average crossovers, Fibonacci levels, and various oscillators like RSI and MACD. The system includes an option

MT5 Trading robot Trend followingIndicator crossoverMean reversion
Updated 2 years ago None stated GitHub repository of Heiken Ashi Complete Strats

GBP USD Mean Reversion Bot

by iamshakibulislam
6 stars

This expert advisor for MetaTrader 4 implements a mean reversion strategy primarily targeted at the GBPUSD pair. It automates trade execution by identifying price patterns and entering positions with predefined risk parameters. The bot manages exits through a hard stop loss, a target take profit based on a user-defined

MT4 Trading robot Mean reversion

Trading Expert Advisor

by hernandesmacedo
6 stars

This MetaTrader 5 expert advisor automates trading decisions by combining moving average crossovers with volume and momentum filters. It enters buy positions when a fast moving average crosses above a slow one, provided volume is increasing and the Relative Strength Index indicates the market is not overbought. For ris

MT5 Trading robot Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of Trading Expert Advisor

Orchard MA Cross Delay

by OrchardForexTutorials
6 stars

This expert advisor for MetaTrader 4 and 5 serves as a tutorial for implementing cooling-off periods between trade executions. It triggers entries based on a standard moving average crossover using configurable fast and slow periods. Users can restrict trade frequency by setting a minimum number of bars or minutes that

MT4MT5 Trading robot Indicator crossover

The Strat MT4 EA

by schatekar
6 stars

The Strat MT4 EA is an experimental automated trading system designed for MetaTrader 4 based on The Strat price action framework. It utilizes candle classifications, specifically types 1, 2, and 3, to identify potential market reversals and continuations. The robot features flexible money management, allowing users to

MT4 Trading robot SMC / ICT / price action
Updated 5 years ago None stated GitHub repository of The Strat MT4 EA

Robot Trader IA Actor Critic

by MilianoJunior
6 stars

This MetaTrader 5 expert advisor facilitates automated trading by connecting to an external Python-based reinforcement learning model. It uses socket communication to send price data to a neural network trained with the actor-critic method via TensorFlow and tf-agents. The robot is primarily designed for day trading in

MT5 Trading robot AI / machine learning

OwaisQuadri MT4 Code

by OwaisQuadri
6 stars

This MetaTrader 4 expert advisor executes trades based on momentum oscillators, trend filters, and price action patterns. It utilizes a Stochastic oscillator alongside multiple Exponential Moving Averages to identify entry points in alignment with the prevailing trend. The logic incorporates candlestick analysis, speci

MT4 Trading robot Indicator crossoverTrend followingMean reversion
Updated 6 years ago None stated GitHub repository of OwaisQuadri MT4 Code

Auto Trade EA

by leonharvey
6 stars

This automated expert advisor for MetaTrader 4 executes trades based on moving average crossovers and trend-following logic. It incorporates the Chandelier Exit method, utilizing the Average True Range and price extremes to determine market direction. Risk management is handled through user-defined stop loss and take p

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago AGPL-3.0 GitHub repository of Auto Trade EA

Sample Bad Robot

by erlonfs
6 stars

This MetaTrader 5 expert advisor functions as a foundational template for automated trading, primarily implementing a moving average crossover strategy. The software includes comprehensive trade management features such as fixed stop loss and take profit targets defined in ticks, a trailing stop mechanism, and break-ev

MT5 Trading robot Indicator crossover
6 stars

The Line of Division is a MetaTrader 5 expert advisor that identifies trading opportunities based on price frequency and level touches. The strategy monitors how many times a specific price is traded across various candles, entering buy or sell positions once a touch threshold is reached and the price deviates from tha

MT5 Trading robot Breakout

Falcon S

by vzhomeexperiments
6 stars

Falcon S is a rule-based expert advisor for MetaTrader 4 designed to execute trades based on external sentiment analysis data. It functions as a production bridge for decisions generated in external environments like R, reading trade triggers from CSV files. The robot operates primarily on the H1 timeframe with schedul

MT4 Trading robot NewsAI / machine learning
Updated 7 years ago MIT GitHub repository of Falcon S

Price Action Expert

by nasimalsajjad
6 stars

Price Action Expert is a MetaTrader 4 robot that automates trade execution by combining Fibonacci levels with candlestick pattern analysis. The EA identifies the prevailing market trend through Fibonacci ratios and seeks entry signals using pin bars, engulfing patterns, and morning star formations. It features automate

MT4 Trading robot Trend followingSMC / ICT / price action
Updated 8 years ago None stated GitHub repository of Price Action Expert

IPatrick Ichimoku

by thachp
6 stars

This MetaTrader 5 expert advisor automates trading based on the Japanese Ichimoku Kinko Kyo system. It identifies market trends and generates buy or sell orders using the Tenkan-sen, Kijun-sen, and Senkou Span components. The robot includes built-in risk controls such as fixed stop loss and take profit levels, and it a

MT5 Trading robot Trend followingIndicator crossover
Updated 11 years ago None stated GitHub repository of IPatrick Ichimoku
5 stars

This MetaTrader 5 expert advisor executes trades based on opening range breakout logic. The system identifies a price range over a specific duration and enters positions when the market breaks through these levels. It supports multiple entry methods including market orders on candle close, resting stop orders, or limit

MT5 Trading robot Breakout

XAUUSD Trend Follow

by maker-tung
5 stars

This MetaTrader 5 expert advisor implements a long-only trend-following strategy designed specifically for gold (XAUUSD) on the hourly timeframe. The system filters entries using a 200-period exponential moving average and an optional ADX momentum filter to avoid low-volatility periods. Trade signals originate from MAC

MT5 Trading robot Trend followingIndicator crossover
Updated 4 months ago Custom licence GitHub repository of XAUUSD Trend Follow

High Frequency Scalper

by Pusparaj99op
5 stars

This MetaTrader 5 expert advisor is designed for scalping gold on the M1 timeframe. It features a versatile strategy engine capable of toggling between breakout and mean-reversion modes based on market conditions. The system manages trades using ATR-based trailing stops, break-even adjustments, and time-based exits. Ri

MT5 Trading robot ScalpingBreakoutMean reversion

Gold Scalper MT5

by autoea-online
5 stars

Gold Scalper is an educational MetaTrader 5 expert advisor designed for scalping XAUUSD on the one-minute timeframe. It is presented as a masterclass tutorial to demonstrate modular coding practices. The system utilizes a 200-period Exponential Moving Average for trend filtering and the Relative Strength Index for entr

MT5 Trading robot ScalpingTrend followingIndicator crossover
Updated 6 months ago MIT GitHub repository of Gold Scalper MT5

CRT TBS Gold Scalper

by Pusparaj99op
5 stars

This MetaTrader 5 expert advisor is designed for gold trading using Candle Range Theory and Time-Based Strategy principles. It identifies market structure through the Accumulation, Manipulation, and Distribution cycle while detecting Fair Value Gaps and Order Blocks. The robot executes trades exclusively during specifi

MT5 Trading robot SMC / ICT / price actionScalpingTrend following

ICT System EA

by 26730023-PhamPhuNguyenHung
5 stars

This MetaTrader 5 expert advisor automates trading strategies based on Inner Circle Trader (ICT) and Smart Money Concepts (SMC). It utilizes a confluence engine to evaluate market structure, PDA zones, fair value gaps, order blocks, and SMT divergence against correlated symbols like the DXY. Designed specifically for p

MT5 Trading robot SMC / ICT / price actionTrend followingMean reversion
Updated 6 months ago None stated GitHub repository of ICT System EA

DBasket EA

by dinethlive
5 stars

DBasket EA is a statistical arbitrage expert advisor for MetaTrader 5 that trades three-pair correlation baskets. It identifies price divergences between related currency pairs using Z-score analysis and enters hedged three-leg positions expecting mean reversion. The system incorporates advanced statistical modules inc

MT5 Trading robot Mean reversionHedging
Updated 8 months ago None stated GitHub repository of DBasket EA
5 stars

Universal Market Hunter is an automated trading robot for MetaTrader 5 that targets Forex, gold, and cryptocurrency markets. It allows users to switch between two main strategies: a Bollinger Band volatility breakout and an engulfing price action pattern using volume confirmation. The system manages risk through ATR-ca

MT5 Trading robot BreakoutScalpingTrend following
Updated 1 year ago Apache-2.0 GitHub repository of Universal Market Hunter
5 stars

AR Tenkansen Breakout EA is a MetaTrader 5 expert advisor that trades breakouts of the Ichimoku Kinko Hyo indicator's Tenkan-sen line. It uses an internal multiplier to adjust standard Ichimoku periods for different market conditions. The robot manages entries and exits based on price interaction with the Tenkan-sen an

MT5 Trading robot Breakout
Updated 1 year ago None stated GitHub repository of AR Tenkansen Breakout EA
5 stars

This expert advisor for MetaTrader 5 uses the Moving Average Convergence Divergence (MACD) indicator to execute trades based on signal line crossovers. Operating on the fifteen-minute timeframe, the robot enters buy positions when the MACD main line is above the signal line and sell positions when it is below. It incor

MT5 Trading robot Indicator crossover
Updated 2 years ago None stated GitHub repository of MACD Expert Advisor MQL5

MA Cross with Formula Trailing Stop

by OrchardForexTutorials
5 stars

This expert advisor for MetaTrader 4 and MetaTrader 5 implements a trend-following strategy based on moving average crossovers. It triggers trades when a fast moving average crosses a slow moving average, utilizing new bar detection to filter out market noise. The system manages open positions using fixed stop loss and

MT4MT5 Trading robot Indicator crossover

Nnfx Autotrader

by henriquepfeifer
5 stars

This Expert Advisor for MetaTrader 4 implements the No Nonsense Forex (NNFX) methodology on the daily timeframe. It manages 27 forex pairs by scanning for signals shortly before the daily candle close to optimize spread costs. The EA handles trade entries, partial scaling out, and trailing stops based on Average True R

MT4 Trading robot Trend following
Updated 4 years ago MIT GitHub repository of Nnfx Autotrader

Orchard Bollinger Band Reentry

by OrchardForexTutorials
5 stars

This MetaTrader 4 expert advisor implements a mean-reversion strategy using Bollinger Bands. It monitors for price action that closes outside the bands and subsequently returns within them. The robot places pending buy stop or sell stop orders at the high or low of the signal candle to capture the retracement. It featu

MT4 Trading robot Mean reversion

This MetaTrader 5 expert advisor is an example implementation designed to trade moving average crossovers on non-standard timeframes, specifically seconds-based charts. It executes trades based on price crossing a moving average or two moving averages crossing each other. The EA includes risk management features such a

MT5 Trading robot Indicator crossoverTrend following
5 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on three exponential moving averages and the Stochastic oscillator. It identifies trade opportunities when two shorter-period EMAs sequentially cross a longer-period EMA. Positions are managed with fixed stop loss and take profit levels, with

MT4 Trading robot Indicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Triple EMA Stochastic EA

NS Financas 4 EMA

by guilhermeneves
5 stars

NS Financas 4 EMA is a MetaTrader 5 expert advisor that automates trading using a four-period exponential moving average system. The robot enters trades based on the alignment of three short-term EMAs while using a 200-period EMA as a directional trend filter to ensure positions align with the long-term market bias. It

MT5 Trading robot Indicator crossoverTrend following

Clarissa EA

by Lucas170
5 stars

Clarissa is a MetaTrader 4 expert advisor that automates a momentum-based strategy utilizing price action and volatility indicators. It identifies entry opportunities by comparing Monday's price change to the 14-period Average True Range (ATR) on a daily timeframe. For trade management, the EA features volatility-based

MT4 Trading robot Breakout
Updated 6 years ago None stated GitHub repository of Clarissa EA

Robot Desiree

by Lucas170
5 stars

Robot Desiree is a trend-following expert advisor for MetaTrader 4 that utilizes Donchian Channels for trade entries and exits. The system identifies breakouts based on configurable lookback periods and manages positions using either fixed pip-based levels or volatility-adjusted stops and targets calculated from the Av

MT4 Trading robot BreakoutTrend following
Updated 7 years ago None stated GitHub repository of Robot Desiree

Falcon EA Template

by Lucas170
5 stars

This MetaTrader 4 expert advisor provides a framework for trading dual moving average crossovers. It offers automated trade execution with a strong focus on risk management, including lot sizing calculated from a user-defined percentage of account equity. The system manages exits through either fixed pip values or vola

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Falcon EA Template

Jonny EA Simple

by JonnyKelso
5 stars

Jonny EA Simple is an automated trading robot for MetaTrader 4 that executes trades based on an algorithmic indicator using configurable look-back periods. It manages risk by calculating position sizes as a percentage of the current account balance, ensuring lot sizing remains proportional to equity. For trade exits, t

MT4 Trading robot Trend following
Updated 9 years ago GPL-2.0 GitHub repository of Jonny EA Simple
5 stars

This MetaTrader 5 expert advisor executes trades based on the MACD indicator and the crossing of two exponential moving averages. It uses a long period of twenty and a short period of six moving averages to identify trends. The robot manages active positions using a specific trailing stop mechanism that permits a perce

MT5 Trading robot Indicator crossoverTrend following
Updated 12 years ago None stated GitHub repository of MACD and Crossing EMA Robot
4 stars

Gold SnR Momentum Scalper Pro is an automated scalping robot for MetaTrader 5, specifically optimized for XAUUSD on the M1 timeframe. It identifies entry points by combining support and resistance zones with RSI and moving average momentum. The system incorporates tick-level analysis to measure buying and selling press

MT5 Trading robot ScalpingBreakoutMean reversion
Updated 3 months ago Custom licence GitHub repository of Gold SnR Momentum Scalper Pro

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