Trading robot · MT5

Dynamic RSI Multi Entry

by kkidyba

This MetaTrader 5 expert advisor implements a mean-reversion strategy based on the Relative Strength Index.

High risk

GitHub stars1
Forks0
Last update4 months ago8 May 2026
LicenceNone stated

Overview

Dynamic RSI Multi Entry replaces traditional static oversold and overbought levels with dynamic extremes calculated from historical volatility. The bot utilizes a multi-entry grid approach, opening up to fifteen averaged positions to manage price movements. Risk controls include a global stop loss, break-even settings, and a trailing stop that dynamically reduces its distance. Volume sizing is calculated recursively relative to the account balance and potential margin requirements for future averaged orders.

Details

Author

kkidyba on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Mean reversion, Grid

Markets

Forex

Timeframes

M1-M5

Risk profile

  • Opens a grid of orders: exposure builds up in a trend

Input parameters

Read from MultiEntryRSI.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
RSI_Periodint14
RISK_Percentdouble10
Max_Positionsint15
RSI_Extremum_Calculateint365
Extremum_Array_Lengthint10
Loss_Percentdouble5
BE_Activationdouble5
TS_Activationdouble5
TS_Reducingdouble5
SL_Activationint2
RSI_Min_Valueint30
SL_Positionsint2

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone kkidyba/mt5-rsi-bot from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar expert advisors

GridMaster Pro

by sajidmahamud835
128 stars

An automated MetaTrader 5 expert advisor that executes a bi-directional grid trading strategy. It uses the Average True Range (ATR) indicator to dynamically calculate grid spacing, allowing the system to adapt to current market volatility. The robot supports neutral, bullish, and bearish modes. It includes risk managem

MT5 Trading robot GridMean reversion High risk
Updated 5 months ago MIT GitHub repository of GridMaster Pro

RSI Martingale EA

by peefpee
10 stars

This Expert Advisor for MetaTrader 5 implements a martingale trading strategy triggered by the Relative Strength Index (RSI). It opens an initial position when RSI reaches overbought or oversold thresholds. If price continues to move against the initial trade, the EA layers additional orders at set point intervals, mul

MT5 Trading robot MartingaleMean reversionGrid High risk
8 stars

High Frequency Grid EA is an automated trading robot for MetaTrader 5 that implements a mean-reversion strategy through a grid of pending orders. It places buy and sell stop orders at calculated distances, using dynamic spread monitoring to ensure execution only during favorable conditions. The EA includes a trailing s

MT5 Trading robot GridMean reversionScalping High risk
7 stars

This MetaTrader 5 expert advisor executes a mean reversion strategy based on price deviation from a Simple Moving Average. It enters short positions when prices rise above the average and long positions when prices fall below. The algorithm utilizes an aggressive grid-based recovery system where both the entry distance

MT5 Trading robot Mean reversionMartingaleGrid High risk
4 stars

This high-frequency scalping robot for MetaTrader 5 is specifically designed for the gold market. It determines entry points using a combination of EMA trend filters, ADX trend strength, and dynamic RSI levels. To recover from losing positions, the EA utilizes an aggressive martingale grid system with a customizable lo

MT5 Trading robot ScalpingMartingaleGrid High risk
3 stars

This expert advisor facilitates arbitrage trading between futures and spot instruments, primarily targeting gold and stock indices. Available for MetaTrader 4 and 5, it monitors the price difference between two related symbols against a moving average to identify trade opportunities. The logic includes a noise-filterin

MT4MT5 Trading robot ArbitrageMean reversionGrid High risk
Updated 3 years ago None stated GitHub repository of Gold Futures Spot Arbitrage

More trading robots

Need a broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers