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.

New EAs by RSS
173 EAs match Clear filters

Raja Cula Emas EA

by rajaculaemas
1 stars

This MetaTrader 4 expert advisor is designed for XAUUSD trading using a combination of technical indicators and price action. It enters trades based on several toggleable strategies, including Moving Average crossovers, MACD, Support/Resistance levels, and Bullish/Bearish Engulfing patterns. The EA manages risk through

MT4 Trading robot Indicator crossoverTrend followingMulti-strategy
Updated 1 year ago None stated GitHub repository of Raja Cula Emas EA

Three SMA EA

by shahadatnovel
1 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on the alignment of Simple Moving Averages. It utilizes a fast period of 30 and a medium period of 50 to determine entry signals, with logic for a third slow moving average present but partially commented out. The robot executes trades with fi

MT4 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Three SMA EA

H4 XAUUSD Candlestick EA

by SimonMonnier
1 stars

This MetaTrader 4 expert advisor is designed specifically for trading Gold (XAUUSD) on the H4 timeframe. It employs a combination of technical indicators, including the Relative Strength Index (RSI), Stochastic Oscillator, and Ichimoku Kinko Hyo. The strategy monitors overbought and oversold levels while using the Ichi

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 1 year ago None stated GitHub repository of H4 XAUUSD Candlestick EA

Average Scalper

by fauzaanu
1 stars

Average Scalper is a MetaTrader 4 expert advisor designed for trend-following strategies based on moving average levels and volatility ranges. It uses a 50-period Exponential Moving Average to determine market direction, initiating buy orders when the price is above the line and sell orders when below. Risk management

MT4 Trading robot ScalpingTrend followingIndicator crossover
Updated 1 year ago None stated GitHub repository of Average Scalper
1 stars

This repository provides a collection of over fifty MetaTrader 4 expert advisors designed for testing algorithmic strategy combinations. Each robot follows a modular structure consisting of a baseline indicator, confirmation signals, and volatility filters. Common configurations include the Kijun-sen, RSI, and Waddah A

MT4 Collection Trend followingIndicator crossoverMulti-strategy High risk
1 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on a dual Exponential Moving Average crossover. It is designed for higher timeframes such as H1, H4, and Daily charts. The robot manages trade entries via the crossover and exits positions using a combination of a fixed take profit and a trail

MT4 Trading robot Trend followingIndicator crossover
Updated 2 years ago None stated GitHub repository of Trend Follow MA Crossover
1 stars

This repository contains a collection of MetaTrader 4 expert advisors based on classic technical analysis and price action patterns. The robots utilize various strategies such as engulfing candles, pinbars, Heikin Ashi trends, and moving average crossovers. Risk management settings across the files include stop loss, t

MT4 Collection Trend followingIndicator crossoverMulti-strategy High risk
1 stars

This repository contains a collection of MetaTrader 4 automated trading tools, including a trade copier and several strategy-based expert advisors. The primary logic utilizes dual moving average crossovers combined with momentum filters and divergence checks to identify entries. It features comprehensive risk managemen

MT4 Collection Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of MQL4 AlgoTrade Collection

Triple Cross EA

by Jmubarak
1 stars

This MetaTrader 4 expert advisor implements a trend-following strategy based on the alignment or crossover of three distinct moving averages. Users can configure the period, method, and price source for fast, medium, and slow averages. The robot manages risk using dynamic stop loss and take profit levels calculated fro

MT4 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of Triple Cross EA
1 stars

This MetaTrader 4 expert advisor implements a classic dual moving average crossover strategy. It enters long positions when a fast simple moving average crosses above a slow moving average and short positions when it crosses below. The robot includes risk management features such as automated lot sizing based on accoun

MT4 Trading robot Indicator crossoverTrend following

Simple Trend Reversal EA

by levimatther
1 stars

This MetaTrader 4 expert advisor automates a trend reversal strategy based on price action patterns and technical indicators like ZigZag, MBFX, and Moving Averages. It features a dashboard to monitor multiple pairs, identifying setups such as pin bars and trendline breaks near support and resistance levels. Trade manag

MT4 Trading robot Trend followingMean reversionSMC / ICT / price action
Updated 3 years ago None stated GitHub repository of Simple Trend Reversal EA

EABOTS Collection

by AlexDotel
1 stars

This repository contains a collection of MetaTrader 4 expert advisors and utilities focusing on technical indicator strategies. The core EA, MACROSS, initiates positions based on simple moving average crossovers and filters entries using the Relative Strength Index. It incorporates risk controls through ATR-based stop

MT4 Collection Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of EABOTS Collection

Vega Bot

by VegaAISolutions
1 stars

Vega Bot is a MetaTrader 4 expert advisor that executes trades using a price action strategy combined with technical filters like RSI, MACD, and Ichimoku Kumo Cloud. Developed for the EURUSD five-minute timeframe, the system uses ATR for volatility measurement and calculates lot sizes based on a risk percentage. The co

MT4 Trading robot Indicator crossoverTrend followingAI / machine learning
Updated 3 years ago GPL-3.0 GitHub repository of Vega Bot

Cross Madante

by nosscafe66
1 stars

This MetaTrader 4 expert advisor implements a multi-indicator trading system primarily based on moving averages and Ichimoku Kinko Hyo components. It monitors price action relative to multiple timeframes, including D1, H4, and H1 high and low levels. The system features automated order execution with built-in trailing

MT4 Trading robot Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of Cross Madante

Quantatech Securities FX

by QuantatechSecurities
1 stars

Quantatech Securities FX provides two distinct expert advisors for MetaTrader 4, focusing on trend-following and momentum strategies. The primary MACD robot identifies entries using signal line crossovers filtered by an exponential moving average. It manages risk through fixed lot sizing with account margin checks, a s

MT4 Collection Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of Quantatech Securities FX

Siren EA

by tyohare
1 stars

Siren is a MetaTrader 4 expert advisor that automates trading based on technical indicators and multi-timeframe price levels. It utilizes the ZigZag indicator alongside multiple Exponential Moving Averages, including the 10, 20, 100, and 200 periods, to identify market trends. The EA monitors price action relative to p

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago CC0-1.0 GitHub repository of Siren EA

Rsi Ma EA

by alessioena
1 stars

This MetaTrader 4 expert advisor implements a strategy combining trend-following moving averages with the Relative Strength Index for entry timing. The robot initiates buy orders when a fast moving average sits above a slow moving average, provided the RSI reflects an oversold state and price action confirms the moment

MT4 Trading robot Trend followingMean reversionIndicator crossover
Updated 4 years ago None stated GitHub repository of Rsi Ma EA

Malcom EA

by silkflo
1 stars

This MetaTrader 4 expert advisor executes trades based on moving average trends and price action triggers. It identifies entries by counting consecutive candles on specific sides of the MA20 and validates the broader trend using an additional MA period. The system incorporates pattern recognition to detect market types

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of Malcom EA

Expert Advisors Collection

by johnsmith-mql
1 stars

This repository provides a collection of standard template expert advisors for both MetaTrader 4 and MetaTrader 5. It includes the classic MACD Sample and Moving Average robots, which demonstrate indicator-based trading logic. The MACD Sample enters positions based on MACD signal levels filtered by a moving average tre

MT4MT5 Collection Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of Expert Advisors Collection

3EMA ZigZag Bot

by Puchite
1 stars

This MetaTrader 4 expert advisor is a trend-following robot developed as an academic project for an object-oriented programming course. The system combines Exponential Moving Averages and ZigZag indicators to determine trade entries and manage positions. It features basic risk controls including a user-defined maximum

MT4 Trading robot Trend followingIndicator crossover
Updated 4 years ago None stated GitHub repository of 3EMA ZigZag Bot

This repository is a collection of MetaTrader 4 expert advisors that focus on technical indicator signals. The primary EA combines four Moving Averages with Bollinger Bands to detect trend alignment and volatility conditions. It features dual-level stop loss and take profit settings, along with filters for Bollinger Ba

MT4 Collection Trend followingIndicator crossoverMean reversion
1 stars

This repository contains a collection of Expert Advisors for MetaTrader 4, featuring the Combined Ergodic SSL Channel EA and a MACD-based strategy. The primary EA uses trend-following indicators for entries and provides various order management options, including trailing stops, break-even settings, and position accumu

MT4 Collection Trend followingIndicator crossover

EMA H4 Crossover

by TatsuyaYam
1 stars

EMA H4 Crossover is an automated trading robot for MetaTrader 4 designed to execute trades based on moving average crossovers. The strategy utilizes two Exponential Moving Averages with configurable periods, specifically targeting the H4 timeframe for trend identification. It initiates long entries on golden crosses an

MT4 Trading robot Indicator crossoverTrend following
Updated 4 years ago None stated GitHub repository of EMA H4 Crossover

Investment EA Collection

by MohammadMahdiOmid
1 stars

This repository provides a collection of MetaTrader 4 expert advisors designed for forex and digital markets. The primary expert advisor implements a breakout strategy by placing buy and sell stop orders at a specific distance from the previous day's high and low prices. It includes automated trade management features

MT4 Collection BreakoutIndicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Investment EA Collection

HLHB Trend Catcher

by Martian4x
1 stars

This MetaTrader 4 expert advisor is designed to capture price trends by combining moving average crossovers with momentum oscillators. It monitors fast and slow moving averages for entry signals while utilizing a long-term trend moving average as a directional filter. The Relative Strength Index is incorporated to vali

MT4 Trading robot Trend followingIndicator crossover
Updated 5 years ago None stated GitHub repository of HLHB Trend Catcher

This repository provides a collection of MetaTrader 4 expert advisors centered on trend-following and hedging mechanics. The primary Trend EA identifies market entries using moving average crossovers, stochastic oscillators, and MACD indicators. Risk is managed through percentage-based equity lot sizing and pair-specif

MT4 Collection Trend followingIndicator crossoverHedging

Analise Do Grafico IQ

by carlosnowatzki
1 stars

Analise Do Grafico IQ is a MetaTrader 4 expert advisor that automates trading based on technical indicator signals. The robot utilizes the Moving Average Convergence Divergence (MACD) indicator to identify momentum shifts and an Exponential Moving Average (EMA) to filter for the prevailing trend. It opens buy and sell

MT4 Trading robot Indicator crossoverTrend following
Updated 5 years ago None stated GitHub repository of Analise Do Grafico IQ

Forex Brother Algo 1

by hkmarquix
1 stars

This MetaTrader 4 expert advisor implements a multi-strategy framework for automated trading across various symbols. It incorporates several technical entry signals, including Ichimoku, Bollinger Bands, and ADX-filtered logic. The EA provides multiple trade management options, explicitly including martingale lot scalin

MT4 Trading robot Multi-strategyMartingaleIndicator crossover High risk
Updated 5 years ago None stated GitHub repository of Forex Brother Algo 1

Area Fifty One

by Valerzen88
1 stars

This MetaTrader 4 expert advisor utilizes a modular approach to automated trading, offering multiple selectable strategies including trend-following, RSI mean-reversion, and moving average crossovers. It calculates entries using indicators like ADX, Stochastic, and Hull Moving Averages. Risk management is handled throu

MT4 Collection Trend followingIndicator crossoverMean reversion
Updated 5 years ago None stated GitHub repository of Area Fifty One
1 stars

This MetaTrader 4 repository contains a collection of automated trading scripts designed for the foreign exchange market. The primary robots include Mover, which utilizes moving average crossovers to identify trends, and Cristos, which focuses on market openings and news events. The collection also features a semi-auto

MT4 Collection Indicator crossoverTrend followingNews
Updated 5 years ago None stated GitHub repository of Small Scripts EA Collection

Cross MA

by Mahdi24w
1 stars

This MetaTrader 4 expert advisor executes a classic moving average crossover strategy. It monitors two Simple Moving Averages with customizable periods to identify trend shifts. When the fast average crosses above the slow average, the robot initiates a buy order; a crossover below triggers a sell order. The system res

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Cross MA

Algo 01

by expdal3
1 stars

Algo 01 is a MetaTrader 4 expert advisor that executes trades based on moving average crossover signals. It references an external custom indicator path for signal generation and allows users to define fast and slow moving average periods for its logic. The robot includes risk management features such as percentage-bas

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of Algo 01

Ultima

by thevictorwhyte
1 stars

Ultima is a trend-following expert advisor for MetaTrader 4 that utilizes moving average crossovers and the Average Directional Index to identify market momentum. Generated via a template builder, it monitors the relationship between multiple exponential moving averages and a long-term simple moving average. The EA inc

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

PTL EA

by ptluan2011
1 stars

PTL EA is a MetaTrader 4 expert advisor that monitors financial markets for technical trade setups using price action and trend analysis. It evaluates market conditions across various instruments, including forex pairs, gold, and global indices, by identifying candlestick patterns and key support and resistance zones.

MT4 Trading robot Trend followingSMC / ICT / price actionIndicator crossover
Updated 6 years ago None stated GitHub repository of PTL EA

MT4 Trading Collection

by paulnheera
1 stars

This collection of MetaTrader 4 scripts and experts features an automated trading robot based on the MACD indicator. It identifies entry points using MACD signal line crossovers filtered by an Exponential Moving Average to determine trend direction. The system includes built-in risk controls such as fixed lot sizing, t

MT4 Collection Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of MT4 Trading Collection

Forex Scalping Strategy

by taivoit1993
1 stars

This MetaTrader 4 expert advisor implements a trend-following scalping strategy using a combination of moving averages and the Stochastic oscillator. It identifies the primary trend using a 200-period Simple Moving Average and a 21-period Exponential Moving Average. Trades are entered during pullbacks when the Stochast

MT4 Trading robot Trend followingScalpingIndicator crossover
Updated 6 years ago None stated GitHub repository of Forex Scalping Strategy

Aych MT Learn

by AYCHMT
1 stars

Aych MT Learn is a repository for MetaTrader 4 that provides a baseline expert advisor for educational purposes. The robot implements a classic strategy based on Moving Average Convergence Divergence (MACD) crossovers filtered by an Exponential Moving Average trend component. It includes standard trade management featu

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of Aych MT Learn

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

200 EMA

by twimprine
1 stars

This MetaTrader 4 expert advisor executes trades based on Exponential Moving Average conditions across multiple timeframes. Originally designed as a crossover strategy, it incorporates a dynamic stop loss mechanism that adjusts based on price distance from the entry point. The robot features built-in risk controls, inc

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of 200 EMA

Firmoholanda Forex

by firmoholanda
1 stars

This repository contains a collection of MetaTrader 4 and MetaTrader 5 expert advisors focused on multi-indicator signal processing. The logic evaluates market conditions by aggregating data from Moving Averages, ADX, Accelerator Oscillator, Volume, and Momentum indicators across several timeframes such as M5, M15, and

MT4MT5 Collection Trend followingMulti-strategyIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of Firmoholanda Forex
1 stars

This MetaTrader 4 repository contains a collection of expert advisors, including implementations of the standard MACD Sample and Moving Average strategies. The primary MACD robot enters trades based on MACD signal line crossovers filtered by an exponential moving average trend component. Risk management is handled thro

MT4 Collection Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of MQL4 Trader Collection

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

MACD EA IPAG

by adiarthagriadhi
1 stars

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

MT4 Trading robot Trend followingGridIndicator crossover High risk
Updated 7 years ago None stated GitHub repository of MACD EA IPAG

MACD MA Cross

by b79528
1 stars

MACD MA Cross is a MetaTrader 4 expert advisor that automates entries based on the alignment of MACD signals and Moving Average crossovers. The strategy triggers trades when indicators confirm a trend, using Linear Weighted Moving Averages (LWMA) for direction. The EA features an unconventional exit strategy where posi

MT4 Trading robot Indicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of MACD MA Cross

Fuzzy Trade EA Collection

by TsutomuSakata01
1 stars

This collection for MetaTrader 4 and 5 includes various expert advisors exploring fuzzy logic and standard technical indicators. The primary logic demonstrated in the source files utilizes Simple Moving Averages to identify trend direction and price positioning. It features standard risk controls including fixed lot si

MT4MT5 Collection Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Fuzzy Trade EA Collection

Proper Bot

by kmugglet
1 stars

Proper Bot is a MetaTrader 4 expert advisor that utilizes a triple moving average crossover for trend detection combined with a manual grid management system. It filters entries based on volume and specific price levels. When a trade moves against the initial position, the EA opens additional orders at predefined point

MT4 Collection Indicator crossoverGridMartingale High risk
Updated 7 years ago None stated GitHub repository of Proper Bot

Ichimoku Scalper

by AbirAbbas
1 stars

This MetaTrader 4 collection features automated trading scripts primarily based on the Ichimoku Kinko Hyo indicator. The expert advisors execute trades by analyzing the relationship between Tenkan-sen and Kijun-sen lines relative to the Senkou Span cloud. Risk is managed via fixed lot sizing and a maximum concurrent tr

MT4 Collection ScalpingIndicator crossoverTrend following
Updated 7 years ago None stated GitHub repository of Ichimoku Scalper

Span Model Day Trader

by KC-Kamioka
1 stars

Span Model Day Trader is a MetaTrader 4 expert advisor that monitors market signals based on the Span Model and Super Bollinger technical indicators. The code specifically focuses on the USDJPY currency pair, evaluating the relationship between blue and red spans derived from the Ichimoku Kinko Hyo indicator. It tracks

MT4 Trading robot Trend followingIndicator crossover
Updated 7 years ago None stated GitHub repository of Span Model Day Trader

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