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.

13 EAs match Clear filters
Platform
Type
Trading robot 12Trade managerRisk & protectionNews tradingCopier & bridgeFramework & templateCollection 1Utility
Refine
Hide grid and martingale Open-source licence 3 Updated in 6 months Updated in a year 3

Grid EA

by sonidelav
52 stars

This expert advisor for MetaTrader 4 implements a grid-based scalping strategy. It places multiple trade orders at fixed intervals, defined by a configurable pip gap. The system manages a specific number of grid lines on both sides of the starting price, aiming to capture small price movements. It utilizes fixed lot si

MT4 Trading robot GridScalping High risk
Updated 8 years ago GPL-3.0 GitHub repository of Grid EA
10 stars

This MetaTrader 5 expert advisor automates trading based on Smart Money Concepts and Order Block identification. It analyzes price action across multiple timeframes, utilizing higher timeframe data for trend context and lower timeframes for entries. The system includes trade management tools such as break-even triggers

MT5 Trading robot SMC / ICT / price actionGrid High risk

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

Bot Trend

by uselinuxdev
3 stars

Bot Trend is a trend-following expert advisor for MetaTrader 5. It utilizes proprietary Francisca entry logic and manages trades through multiple concurrent execution threads. The system incorporates custom Zero Gravity step logic for position management and includes specific operational modes for Fridays and holidays.

MT5 Trading robot Trend followingGridMartingale High risk
Updated 8 months ago None stated GitHub repository of Bot Trend

STO Martin

by crq644
2 stars

STO Martin is a grid-based trading robot for MetaTrader 5 that uses technical indicators to manage entries and recoveries. It employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions

MT5 Trading robot MartingaleGridTrend following High risk
Updated 3 years ago None stated GitHub repository of STO Martin

SMC Copet Trader

by ahmadkikok
1 stars

SMC Copet Trader is an expert advisor for MetaTrader 5 that implements a strategy based on Smart Money Concepts and ICT principles. It analyzes market structure and order blocks across multiple timeframes to identify trade entries. The robot manages risk through a modular protection system, including a grid recovery me

MT5 Trading robot SMC / ICT / price actionGridNews High risk
Updated 6 months ago None stated GitHub repository of SMC Copet Trader

Dane Auto Bot

by natadikoko9-ux
1 stars

Dane Auto Bot is a MetaTrader 5 expert advisor that combines trend-following filters with a grid-based execution system. The robot uses multiple Exponential Moving Averages to identify the primary market trend and the Relative Strength Index to find specific entry points. When conditions are met, it places a series of

MT5 Trading robot GridIndicator crossoverTrend following High risk
Updated 6 months ago None stated GitHub repository of Dane Auto Bot

Ajip 3 EA

by pijarajip7
1 stars

Ajip 3 EA is a MetaTrader 5 robot designed to trade trends identified by a 200-period Simple Moving Average. It monitors price action across two timeframes, typically using M15 for trend identification and M1 for execution. The strategy involves opening multiple layers of positions based on candle breaks, categorized i

MT5 Trading robot Trend followingBreakoutGrid High risk
Updated 1 year ago None stated GitHub repository of Ajip 3 EA
1 stars

This collection for MetaTrader 5 provides several automated trading robots, primarily focusing on the Trailing Break Even Parcial expert advisor. This specific strategy utilizes a combination of three Moving Averages and Ichimoku Kinko Hyo parameters to execute trades. The software includes robust trade management modu

MT5 Collection Trend followingIndicator crossoverMulti-strategy High risk

Se-0303

by se333
1 stars

Se-0303 is an automated trading robot for MetaTrader 4 and 5 that employs a grid-based approach with Martingale lot scaling. It determines entries through trend analysis and M1 fractals, using coefficients to calculate order distances and take profit targets relative to price height. The EA includes specific risk contr

MT4MT5 Trading robot GridMartingaleTrend following High risk
Updated 6 years ago None stated GitHub repository of Se-0303

TimeBit

by minhtranlife
1 stars

This MetaTrader 5 expert advisor utilizes ZigZag indicators and Fibonacci retracements to identify and trade ABCD patterns. Operating primarily on the M1 and M5 timeframes, the robot calculates entry points based on specific price ranges and Fibonacci levels such as 23.6 and 38.2. The system employs an aggressive marti

MT5 Trading robot MartingaleMean reversionGrid High risk
Updated 6 years ago None stated GitHub repository of TimeBit

RSI Grid

by jensengelke
1 stars

This MetaTrader 4 expert advisor executes a mean-reversion strategy driven by the Relative Strength Index. It enters trades when the RSI indicates overextended price levels and manages them using a grid-based approach. The EA scales lot sizes using a martingale factor and allows for position layering at specified dista

MT4 Trading robot Mean reversionGridMartingale High risk
Updated 6 years ago None stated GitHub repository of RSI Grid

Invea Stoch

by sljxiaoxin
1 stars

Invea Stoch is an automated trading robot for MetaTrader 4 that utilizes the Stochastic oscillator to identify entries based on overbought and oversold levels. The EA initiates trades when the indicator exceeds 85 or falls below 15, applying price action filters based on the highs of recent candles. It manages risk wit

MT4 Trading robot Mean reversionGrid High risk
Updated 8 years ago None stated GitHub repository of Invea Stoch

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