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.

82 EAs match Clear filters

ADX Cross EA

by chaipat-ncm
143 stars

This MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction. It executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a

MT4 Trading robot Indicator crossoverMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of ADX Cross EA
26 stars

This MetaTrader 4 expert advisor operates two concurrent strategy groups based on technical indicators. It primarily utilizes Bollinger Bands and Envelopes to identify market entries for automated trading. The robot employs a position scaling approach, using lot multipliers and fixed-distance grid additions to manage t

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 8 years ago None stated GitHub repository of Bollinger Envelopes Grid

Mansour Bot

by MShokry
16 stars

This MetaTrader 4 expert advisor executes automated trades on the forex market by combining signals from various technical indicators. The logic incorporates Average Directional Index analysis across multiple timeframes, alongside Ichimoku and Stochastic oscillators. Users can configure lot sizing, take profit, and sto

MT4 Trading robot Indicator crossoverMulti-strategyMartingale High risk
Updated 7 years ago None stated GitHub repository of Mansour Bot

Mad Pound Profits

by Syakyr
16 stars

Mad Pound Profits is a MetaTrader 4 expert advisor that automates trading based on structural breakouts and price action. The system utilizes time-specific analysis windows throughout the day to identify entry opportunities. It incorporates technical elements such as Fibonacci levels, momentum indicators, and mean reve

MT4 Trading robot BreakoutSMC / ICT / price actionMartingale High risk Archived
Updated 7 years ago None stated GitHub repository of Mad Pound Profits

Session Sauce

by jblanked
13 stars

Session Sauce is an automated expert advisor for MetaTrader 4 designed to trade market session transitions and price extremes. It allows users to configure entries based on session opens, highs, and lows for the New York, London, and Asian sessions. The EA includes risk management features such as fixed stop losses, ta

MT4 Trading robot BreakoutMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Session Sauce
13 stars

This MetaTrader 4 expert advisor functions as a communication interface between the terminal and an external Python-based reinforcement learning model. It utilizes deep Q-learning to determine trading actions at every price tick, passing market data through local files to the external script. The system implements a ma

MT4 Trading robot AI / machine learningMartingale High risk

Support Resistance EA

by jblanked
11 stars

This MetaTrader 4 expert advisor executes trades based on a combination of Relative Strength Index and Moving Average indicators to identify key entry levels. It includes multiple order management features such as a trailing break-even stop and a four-stage partial profit-taking system. Risk management is handled throu

MT4 Trading robot Trend followingMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Support Resistance EA

Monkey Attack Gold Pivot EA

by Monkeyattack
10 stars

This MetaTrader 4 expert advisor focuses on Gold trading using institutional pivot point levels and fractal-based support and resistance zones. The robot filters entries through a combination of RSI, MACD, and moving average alignment, supplemented by a trade quality scoring system. It includes comprehensive risk contr

MT4 Trading robot Mean reversionIndicator crossoverMartingale High risk

The Falcon

by Lucas170
10 stars

The Falcon is a MetaTrader 4 expert advisor designed for automated trading using a combination of moving averages and Keltner Channels. It utilizes trend-following logic for entries and incorporates advanced position sizing features, including percentage-based risk, adaptive volatility sizing, and margin-per-lot constr

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 years ago None stated GitHub repository of The Falcon
10 stars

This MetaTrader 4 expert advisor automates trading on the foreign exchange market, with specific testing historicals for GBPUSD on the five-minute timeframe. It focuses on intraday logic, allowing users to define specific trading windows and maximum daily trade limits. Risk controls include dynamic lot sizing based on

MT4 Trading robot BreakoutTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of E and P For The Freedom

Harey

by visualxl
9 stars

Harey is a MetaTrader 4 expert advisor designed to trade mean-reversion setups using a combination of the Relative Strength Index (RSI) and Stochastic indicators. The system triggers trades when both indicators reach their respective overbought or oversold zones simultaneously. It manages risk through user-defined stop

MT4 Trading robot Mean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of Harey

Collinator

by jblanked
8 stars

Collinator is a MetaTrader 4 expert advisor specifically designed for trading US30 during the New York market open. It initiates trades based on the 8:30 AM candle trend or moving average crossovers. The robot features comprehensive exit management, including four stages of partial profit taking and a break-even stop l

MT4 Trading robot Trend followingMartingale High risk
Updated 3 years ago None stated GitHub repository of Collinator

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

EA HiLo

by yuriodilon
6 stars

EA HiLo is an automated trading robot for MetaTrader 4 that utilizes the HiLo Activator indicator for signal generation. It executes buy orders when the price closes above the indicator and sell orders when it closes below. The system includes a directional filter based on a moving average to confirm market trends befo

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 5 years ago None stated GitHub repository of EA HiLo

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

Belinda Sizing EA

by Lucas170
5 stars

The Belinda Sizing EA is a MetaTrader 4 expert advisor that executes a trend-following strategy based on Simple Moving Average crossovers. It uses a volatility filter comparing current Average True Range values against historical data to confirm market conditions before entry. Trades are managed with a hard stop loss a

MT4 Trading robot Indicator crossoverTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of Belinda Sizing EA

Belinda Sizing

by Lucas170
5 stars

This MetaTrader 4 expert advisor executes a trend-following strategy based on simple moving average crossovers. It enters trades when a short-term SMA crosses a long-term SMA, provided a volatility filter using the Average True Range is met. The system includes automated exit logic via opposite crossovers, a hard stop

MT4 Trading robot Indicator crossoverTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of Belinda Sizing

Belinda Sizing

by Lucas170
4 stars

Belinda Sizing is an automated trading robot for MetaTrader 4 that utilizes a dual moving average crossover strategy combined with a volatility filter. It enters trades when a short-period simple moving average crosses a long-period moving average, provided that current volatility measured via the Average True Range is

MT4 Trading robot Indicator crossoverTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of Belinda Sizing

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

HolyLamp

by dollarkillerx
3 stars

HolyLamp is a MetaTrader 4 automated trading system that utilizes mean-reversion signals across several technical indicators, including Bollinger Bands, RSI, Stochastics, and the Commodity Channel Index. It is primarily configured for EURUSD on the five-minute timeframe. The robot enters trades at indicator extremes an

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 4 years ago MIT GitHub repository of HolyLamp

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

Oasis Money Maker

by rasimsen
3 stars

This MetaTrader 4 expert advisor executes trades based on three selectable technical indicators: Moving Averages, the Alligator indicator, or a custom channel strategy referred to as Rasim Line. It identifies trends and price levels to enter positions automatically. The EA manages risk through user-defined stop loss an

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 8 years ago None stated GitHub repository of Oasis Money Maker

Mansa Mussa

by JohnBrandews
2 stars

This MetaTrader 4 expert advisor is an automated trading robot developed using the fxDreema visual building framework. It utilizes an adaptive Relative Strength Index for market analysis and trade execution. The system features risk management controls based on account percentages, including inputs for balance-based si

MT4 Trading robot Mean reversionMartingale High risk
Updated 1 year ago None stated GitHub repository of Mansa Mussa

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

Forex Setka Trader

by Aomforex
2 stars

Forex Setka Trader is an automated grid trading robot designed for the MetaTrader 4 platform. It operates primarily on the M1 timeframe, opening a series of trades at fixed intervals defined by a step parameter. The expert advisor employs martingale-style lot scaling through a multiplier factor to manage basket positio

MT4 Trading robot GridMartingale High risk
Updated 4 years ago None stated GitHub repository of Forex Setka Trader
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
2 stars

This expert advisor for MetaTrader 4 executes a trend-following strategy using technical indicators. It calculates entry signals by monitoring moving averages and utilizes price envelopes as a volatility filter. The system also tracks the Average True Range to evaluate momentum and market shifts. Risk management includ

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 6 years ago None stated GitHub repository of Forex Trend Trader

ADX Martingale EA

by MatthewWebster10
2 stars

This MetaTrader 4 expert advisor uses the Average Directional Index to identify and trade market trends. It implements a volatility-based risk management system using the Average True Range to calculate stop loss and take profit levels dynamically. The strategy includes a configurable martingale lot scaling mechanism a

MT4 Trading robot Trend followingMartingale High risk
Updated 6 years ago None stated GitHub repository of ADX Martingale EA

Supremacy BO Expert

by UncleSemyon
2 stars

This MetaTrader 4 expert advisor is designed for both Binary Options and standard Forex trading. It operates using a martingale lot scaling system that increases position sizes based on calculated steps and profit targets. The EA includes risk management features such as fixed lot sizing or balance-based percentage ris

MT4 Trading robot Martingale High risk
Updated 7 years ago None stated GitHub repository of Supremacy BO Expert

Jack EA4

by jack139
2 stars

This MetaTrader 4 expert advisor automates trading using a Moving Average crossover strategy, specifically configured for the GBPUSD pair on fifteen-minute charts. It enters positions based on dual indicator signals and manages them through a combination of money-based take profit targets and lot size scaling. The syst

MT4 Trading robot Indicator crossoverMartingaleGrid High risk
Updated 7 years ago Custom licence GitHub repository of Jack EA4

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

Baby MT4 EA

by dolie
2 stars

This MetaTrader 4 expert advisor utilizes the SuperTrend and Bollinger Bands indicators to identify market entries. It monitors for trend changes, breakouts, corrections, and pullbacks. The EA incorporates several risk management tools, including a configurable stop loss, dynamic stop loss logic, and a trailing stop. I

MT4 Trading robot Trend followingBreakoutScalping High risk
Updated 9 years ago None stated GitHub repository of Baby MT4 EA

Lars Advisor

by Enweave
2 stars

Lars Advisor is a MetaTrader 4 grid-based robot that enters trades using a fixed distance interval and manages them through a trailing stop mechanism. It features lot scaling where each grid step increases the trade volume by a specific delta, functioning as a lot-addition martingale. The EA operates on a timer-based u

MT4 Trading robot GridMartingale High risk
Updated 9 years ago None stated GitHub repository of Lars Advisor

Angry Bird

by bobdomo
2 stars

Angry Bird is a MetaTrader 4 expert advisor based on the Ilan 1.6 architecture, utilizing a mean-reversion strategy combined with aggressive risk management. The EA enters trades based on Relative Strength Index (RSI) levels to identify overextended price movements. It employs an exponential martingale lot scaling syst

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 10 years ago None stated GitHub repository of Angry Bird

Mveuuh Gold

by Nziikang
1 stars

Mveuuh Gold is an automated MetaTrader 4 expert advisor designed specifically for trading XAUUSD. It utilizes a multi-layered trend filtering system based on three Exponential Moving Averages and the Average Directional Index to determine entry direction. The EA employs a grid-based pyramid strategy, opening additional

MT4 Trading robot Trend followingGridMartingale High risk
Updated 2 days ago None stated GitHub repository of Mveuuh Gold
1 stars

This automated expert advisor for MetaTrader 4 and 5 trades forex using a multi-timeframe technical strategy. It identifies H1 trends with moving averages and Ichimoku clouds while timing M5 entries via MACD and RSI convergence. The system incorporates robust risk controls including equity-based lot sizing, daily loss

MT4MT5 Trading robot Trend followingIndicator crossoverMulti-strategy High risk
Updated 7 weeks ago None stated GitHub repository of EA PM Portfolio Management

Puer Tigris

by PuerTigris
1 stars

Puer Tigris is a MetaTrader 4 expert advisor that implements multiple entry strategies, primarily focusing on Bollinger Bands mean reversion. It features a martingale lot scaling system where position sizes are multiplied after a trade is closed, with a configurable limit on the number of recovery levels. The robot use

MT4 Trading robot MartingaleMean reversionIndicator crossover High risk
Updated 4 months ago None stated GitHub repository of Puer Tigris

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

Axuusd Gold Advisor

by damozycodes
1 stars

This expert advisor is designed specifically for trading gold on the MetaTrader 4 platform. It employs a hybrid strategy approach, allowing users to toggle between trend following using moving average crossovers, mean reversion via RSI and Stochastic divergence, and breakout patterns. Trade management includes automate

MT4 Trading robot Trend followingMean reversionBreakout High risk
Updated 8 months ago None stated GitHub repository of Axuusd Gold Advisor

GM Remake

by lawjar
1 stars

GM Remake is an automated trading robot for MetaTrader 4 that executes a multi-stage martingale strategy. It initiates trades based on price breakout logic and manages drawdowns by layering additional positions at user-defined distances. To refine entries, the EA utilizes dual exponential moving averages and MACD trend

MT4 Trading robot MartingaleBreakoutTrend following High risk
Updated 8 months ago Custom licence GitHub repository of GM Remake

Hosopi 2

by harukihosono
1 stars

Hosopi 2 is an automated trading robot for MetaTrader 4 and 5 that utilizes a mean-reversion strategy based on Bollinger Bands. The system enters counter-trend trades when price hits the bands and manages positions using a Nanpin martingale approach, layering orders at intervals to average down. Risk controls include t

MT4MT5 Trading robot Mean reversionMartingaleGrid High risk
Updated 10 months ago None stated GitHub repository of Hosopi 2

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

Adaptive Forex AI Trader

by chanalvarez
1 stars

Adaptive Forex AI Trader is a MetaTrader 4 expert advisor designed for automated trading across various currency pairs and gold. It incorporates machine learning, candlestick pattern recognition, and multi-timeframe analysis to generate trade signals. Risk is controlled through stop loss and take profit levels, a trail

MT4 Trading robot AI / machine learningMulti-strategyMartingale High risk
Updated 1 year ago None stated GitHub repository of Adaptive Forex AI Trader

Forex Cruise System

by mamadrahmani
1 stars

Forex Cruise System is a MetaTrader 4 expert advisor that executes a breakout strategy based on price movements during the US and European session openings. The robot identifies a price range within a specific morning time window and enters trades when price breaks beyond defined thresholds. It includes integrated risk

MT4 Trading robot BreakoutMartingale High risk
Updated 2 years ago Unlicense GitHub repository of Forex Cruise System

Forex MT4 Perfect

by mamadrahmani
1 stars

Forex MT4 Perfect is an automated trading expert advisor for MetaTrader 4 that utilizes a suite of technical indicators to execute and manage positions. The system integrates Cap Channel, Envelopes, and MACD indicators to identify market entries and exit signals. It features diverse position sizing methods, including f

MT4 Trading robot Indicator crossoverMartingale High risk
Updated 2 years ago Unlicense GitHub repository of Forex MT4 Perfect

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