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
544 EAs match Clear filters

FFC Data Feeder

by awran5
1 stars

FFC Data Feeder is a utility expert advisor for MetaTrader 4 designed to fetch and manage economic calendar information. It acts as a backend data provider for the FFC Canvas Economic Calendar indicator by downloading JSON data directly from servers using the native WebRequest function. The tool operates without extern

MT4 Utility
Updated 8 months ago MIT GitHub repository of FFC Data Feeder

MQL4 Utilities FX

by MichalHerda
1 stars

MQL4 Utilities FX is a collection of auxiliary Expert Advisors for MetaTrader 4 designed to streamline trade management and account protection. The repository includes tools for setting automatic stop loss and take profit levels, managing break-even points, and calculating average entry prices. A core component is a pe

MT4 Collection
Updated 8 months ago None stated GitHub repository of MQL4 Utilities FX

ÆEA

by NataliaTanyatia
1 stars

ÆEA is an automated trading robot for MetaTrader 4 that employs an ensemble of technical indicators to identify market imbalances. The strategy, described by the author as the Proportionality Principle, triggers trades when a specific ratio of bullish to bearish indicator signals is met. It calculates inputs from a wid

MT4 Trading robot Mean reversionIndicator crossover
Updated 9 months ago Apache-2.0 GitHub repository of Æ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
1 stars

This expert advisor for MetaTrader 4 automates trade execution based on user-defined price levels. It places pending sell orders at a specific entry price and monitors market movement to trigger positions. The logic includes an automated exit routine that closes trades when the price returns to the initial entry level.

MT4 Trading robot Mean reversion
Updated 10 months ago None stated GitHub repository of Mt4 Trading Bot Telegram

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

Set Fixed SL and TP EA

by EarnForex
1 stars

Set Fixed SL and TP EA is a management tool for MetaTrader 4 and 5 that automatically monitors open positions and pending orders to apply protective exit levels. The utility assigns stop-loss and take-profit values based on user-defined points, specific price levels, or a percentage of the stop-loss. It features granul

MT4MT5 Trade manager
Updated 11 months ago Apache-2.0 GitHub repository of Set Fixed SL and TP EA
1 stars

This collection for MetaTrader 4 provides a variety of expert advisor templates and functional trading robots. The core strategy logic often utilizes price action relative to moving averages to identify trends. Key features include a randomized entry timer designed to avoid high-volatility bar starts, integrated stop l

MT4 Collection Trend followingIndicator crossoverMulti-strategy High risk

CyberiaTrader

by SumeetD003
1 stars

This rule-based automated trading system for MetaTrader 4 utilizes several modular logic components to identify market entries and exits. It includes integrated modules for MACD, Moving Averages, and proprietary CyberiaLogic and MoneyTrain algorithms. The EA provides flexible risk controls including automated lot sizin

MT4 Trading robot Indicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of CyberiaTrader

MT4 MT5 Bridge

by okorie22
1 stars

This collection of tools for MetaTrader 4 and 5 provides a bridge between trading terminals and external communication channels. It includes an alert system that broadcasts trade events, terminal screenshots, and signals to Telegram groups or channels. Additionally, it features an execution module that reads trading si

MT4MT5 Copier & bridge
Updated 1 year ago None stated GitHub repository of MT4 MT5 Bridge
1 stars

This MetaTrader 4 expert advisor executes trades based on a specific price level and provides real-time monitoring via Telegram. The EA sets a trade at a user-defined entry price for a specific symbol, such as indices or forex pairs. It features automated entry when the price reaches the target level and closes the pos

MT4 Trading robot Mean reversion

Mql Coading EA Collection

by Sureshpatil4348
1 stars

This repository provides an extensive collection of MetaTrader 4 and MetaTrader 5 expert advisors, including the Cobra and Pivot Point systems. The included tools utilize strategies ranging from daily pivot level reversals to grid-based recovery and cost-averaging methods. Notable features include ATR-based stop losses

MT4MT5 Collection GridMean reversionMulti-strategy High risk
Updated 1 year ago None stated GitHub repository of Mql Coading EA Collection

Flask SQL MT4 Price Bridge

by autodidacttrade
1 stars

This MetaTrader 4 expert advisor functions as a data bridge to external web services. It automatically captures bid and ask prices for specific financial instruments and transmits them to a Python Flask server via HTTP POST requests. The system packages market data into JSON format on every tick and sends it to a confi

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of Flask SQL MT4 Price Bridge

Metatrader Copy Trader

by Monkeyattack
1 stars

This MetaTrader 4 expert advisor system facilitates local trade copying between different terminals using shared CSV files. It consists of a master EA to broadcast trades and a follower EA to execute them. The follower includes flexible risk management such as percentage-based lot sizing, daily loss limits, and a lot m

MT4 Copier & bridge

Cloud Copy MT4

by bizkut
1 stars

Cloud Copy MT4 is a trade copying utility for MetaTrader 4 that enables order synchronization between different terminal instances via a cloud-based server. The system uses a Sender and Receiver architecture, transmitting trade data such as ticket numbers, lot sizes, and price levels using JSON over socket connections.

MT4 Copier & bridge
Updated 1 year ago None stated GitHub repository of Cloud Copy MT4

This repository provides a diverse collection of expert advisors for the MetaTrader 4 platform. The primary RubberBands EA utilizes Bollinger Bands for mean-reversion, entering when price exceeds the bands and exiting at the center line. It features advanced lot management, including linear and dynamic lot scaling that

MT4 Collection Mean reversionGridMartingale High risk

Ghost SL TP

by EarnForex
1 stars

Ghost SL TP is a trade management tool for MetaTrader 4 and 5 designed to hide exit levels from brokers. The expert advisor monitors active positions and executes market orders to close trades when a user-defined virtual stop loss or take profit distance is reached. It features flexible filtering options, allowing user

MT4MT5 Trade manager
Updated 1 year ago Apache-2.0 GitHub repository of Ghost SL TP

Easy Backtest Pro

by jacekbialek1908
1 stars

Easy Backtest Pro is a manual trading simulator designed for the MetaTrader 4 Strategy Tester. It provides a graphical user interface that allows traders to practice execution and strategy refinement during visual mode simulation. The tool includes buttons for market and pending orders, comprehensive order management f

MT4 Utility

USDJPY Buy Down EA

by wista110
1 stars

This MetaTrader expert advisor implements a grid-based buying strategy specifically designed for USDJPY. It places buy orders at fixed pip intervals below a specified base price, accumulating positions as the market moves lower. The robot manages a basket of trades and exits all positions simultaneously once the combin

MT4MT5 Trading robot GridMean reversion High risk
Updated 1 year ago None stated GitHub repository of USDJPY Buy Down EA

Ogidani MQL Samples

by OgidaniLLC
1 stars

This repository provides a collection of educational Expert Advisor snippets for MetaTrader 4 and MetaTrader 5. The primary script demonstrates an account verification mechanism that checks the current login against a user-defined parameter, terminating execution if the numbers do not match. Additional files illustrate

MT4MT5 Collection
Updated 1 year ago None stated GitHub repository of Ogidani MQL Samples

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 expert advisor integrates MetaTrader 4 and 5 with external deep learning models using socket communication. It captures chart screenshots and price data to send to an external server, where models like Random Forest or Generative Adversarial Imitation Learning process the visual information. The EA then receives a

MT4MT5 Trading robot AI / machine learning

Barekat Expert

by kazem94
1 stars

Barekat Expert is a MetaTrader 4 robot that executes trades based on a combination of technical indicators. It utilizes two ZigZag indicators for price action analysis, a Simple Moving Average for trend filtering, and the Relative Strength Index and Stochastic oscillators for momentum confirmation. The system manages e

MT4 Trading robot Trend followingIndicator crossoverMulti-strategy
Updated 1 year ago None stated GitHub repository of Barekat Expert

MQL4 Projects Collection

by AmonCheruiyotHQ
1 stars

This repository provides a comprehensive collection of over 150 Expert Advisors and automated tools for the MetaTrader 4 platform. The included software covers a broad spectrum of trading methodologies, ranging from trend-based systems utilizing the ZigZag indicator to aggressive martingale and piramidation strategies.

MT4 Collection Trend followingMartingaleMulti-strategy High risk
1 stars

JT Prop Firm Trade Manager is a risk management utility for MetaTrader 4 designed to help traders adhere to strict account drawdown and timing rules. It monitors account equity to enforce maximum daily drawdown limits and per-trade loss caps in either currency or percentage terms. The tool includes features to restrict

MT4 Risk & protection

Aroon MA Cross

by IanKuzmik
1 stars

This MetaTrader 4 expert advisor is an educational tool designed as part of a YouTube tutorial series. It executes a trend-following strategy by combining moving average crossovers with the Aroon indicator for trend confirmation. The EA opens positions when price conditions align across both indicators and manages exit

MT4 Trading robot Indicator crossoverTrend following
Updated 1 year ago None stated GitHub repository of Aroon MA Cross
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
1 stars

This repository is a collection of several expert advisors for MetaTrader 4, featuring various technical indicator-based strategies. The primary logic involves momentum and volatility filters using Relative Strength Index (RSI), Bollinger Bands, and Average Directional Index (ADX) to identify trend strength. It include

MT4 Collection Trend followingMean reversion

Pinbar EA

by idodidodi
1 stars

This MetaTrader 4 expert advisor implements a price action strategy focused on identifying pin bar formations. It screens for candles where the tail is at least three times the length of the body and touches an 8-period simple moving average. The EA utilizes a trend filter by calculating the slope of the moving average

MT4 Trading robot SMC / ICT / price actionMean reversion
Updated 1 year ago MIT GitHub repository of Pinbar EA

Fibonacci EA

by shahadatnovel
1 stars

Fibonacci EA is a MetaTrader 4 expert advisor that executes trades based on technical indicators. Despite the name, the provided implementation focuses on a moving average crossover strategy involving a 30-period and 50-period simple moving average. The robot enters a sell position when the shorter-period average cross

MT4 Trading robot Indicator crossover
Updated 1 year ago None stated GitHub repository of Fibonacci 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

RSI EA MT4

by shahadatnovel
1 stars

This MetaTrader 4 expert advisor executes trades based on the Relative Strength Index (RSI) indicator. It monitors price momentum to identify potential entry points when the RSI value interacts with user-defined overbought and oversold levels. The EA includes basic risk management with hardcoded stop loss and take prof

MT4 Trading robot Mean reversion
Updated 1 year ago None stated GitHub repository of RSI EA MT4

Ubot

by techteam92
1 stars

Ubot is an automated trading robot for MetaTrader 4 that utilizes technical analysis to execute market orders. It incorporates specific strategy patterns such as Sharkfin and Squeeze logic, likely based on the included Traders Dynamic Index library. The EA features comprehensive trade management including trailing prof

MT4 Trading robot Trend followingBreakoutMean reversion
Updated 1 year ago Custom licence GitHub repository of Ubot

MA Crossover EA MT4

by immy2good
1 stars

This MetaTrader 4 expert advisor implements a moving average crossover strategy for automated trading. It identifies entry points when price or technical indicators intersect and can exit positions when an opposite signal occurs. The EA provides trade management features, including traditional and virtual stop loss and

MT4 Trading robot Indicator crossover

Khai Nui HFT

by pleump9
1 stars

Khai Nui HFT is a trend-based trading robot for MetaTrader 4 that enters positions using Moving Average analysis. Users can configure the expert advisor to follow the prevailing trend or execute counter-trend trades by adjusting the trend toggle. It manages risk through fixed stop loss points and a trailing stop mechan

MT4 Trading robot Trend followingMean reversion
Updated 2 years ago None stated GitHub repository of Khai Nui HFT

MQL4 Lot Size

by KwadwoAsiamah
1 stars

This utility for MetaTrader 4 calculates position sizes based on account balance and user-defined risk percentages. By providing entry and stop-loss prices via input parameters, the tool determines the specific lot size required to respect the trader's risk tolerance. It functions as a calculator that displays values o

MT4 Utility
Updated 2 years ago MIT GitHub repository of MQL4 Lot Size

MQL4 Stop Loss Manager

by olamilekan000
1 stars

This MetaTrader 4 collection provides trade management utilities focused on risk protection. The main expert advisor monitors open positions and automatically applies stop loss levels to orders that lack them, using hardcoded point values for specific assets like XAUUSD, BTCUSD, and US30. It includes a safety feature t

MT4 Trade manager
Updated 2 years ago None stated GitHub repository of MQL4 Stop Loss Manager

FYP Trading Dashboard

by Yap-Yoong-Siew
1 stars

This MetaTrader 4 collection includes an automated trading expert advisor, an account protection tool, and an equity data uploader. Developed as a university final year project, the main expert advisor uses the Relative Strength Index for entry and exit signals. It features extensive risk management parameters, includi

MT4 Collection Mean reversionNews
Updated 2 years ago None stated GitHub repository of FYP Trading Dashboard
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

Trade Copier Receiver

by the-SantosLab
1 stars

This MetaTrader 4 expert advisor functions as the receiving component of a trade copying system. It monitors a shared CSV file in the common terminal folder to replicate positions from a source account onto the local account. The EA provides multiple risk management options including lot size multipliers, fixed lot ove

MT4 Copier & bridge Martingale High risk
Updated 2 years ago None stated GitHub repository of Trade Copier Receiver

Profit Factor Calculator

by HamoonSoleimani
1 stars

This MetaTrader 4 tool calculates the profit factor specifically for open positions currently held in the terminal. It iterates through all active orders, categorizing them into long and short positions to determine their respective gross profits and gross losses. The utility then computes the profit factor ratio for e

MT4 Utility
Updated 2 years ago None stated GitHub repository of Profit Factor Calculator
1 stars

This utility for MetaTrader 4 connects trading accounts to a Home Assistant instance for remote monitoring. It functions by periodically pushing account statistics, including daily closed profit and loss, to a specified URL via webhooks. The expert advisor calculates net daily gains by iterating through account history

MT4 Utility
Updated 2 years ago None stated GitHub repository of MT4 Home Assistant Bridge

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

Rci Main Investment Tool

by HaruyoshiOno
1 stars

This expert advisor for MetaTrader 4 executes trades based on the Rank Correlation Index (RCI) indicator. It utilizes three distinct calculation periods—short, medium, and long—to identify market entries. The robot manages risk through configurable limit and stop loss offset parameters, allowing for specific exit point

MT4 Trading robot Mean reversionTrend following
Updated 2 years ago None stated GitHub repository of Rci Main Investment Tool

TradeExpert

by nguemechieu
1 stars

TradeExpert is a multi-functional expert advisor for MetaTrader 4 that combines technical indicator analysis with external data integration. It executes trades using market or limit orders across a wide range of forex pairs and cryptocurrencies. The system features a built-in news filter to manage volatility during eco

MT4 Trading robot NewsMulti-strategyAI / machine learning High risk
Updated 2 years ago MIT GitHub repository of TradeExpert

TradingView MQ4 Data Bridge

by happyworking715
1 stars

This MetaTrader 4 utility acts as a data exporter, bridging account and market information to external web environments. It retrieves real-time account statistics including balance, equity, and calculated peak drawdown, then transmits this data to a specified local server via WebRequest. The code is designed to work wi

MT4 Utility
Updated 2 years ago None stated GitHub repository of TradingView MQ4 Data Bridge
1 stars

This MetaTrader 4 expert advisor serves as a bridge connecting the trading platform to external Indian brokerage APIs such as Zerodha and Finvasia. It utilizes the ZeroMQ library to transmit trade signals from the chart to a local Python environment or executable application. The tool monitors chart events for the crea

MT4 Copier & bridge

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