Trading robot · MT4

RSI Grid

by jensengelke

This MetaTrader 4 expert advisor executes a mean-reversion strategy driven by the Relative Strength Index.

High risk

GitHub stars1
Forks0
Last update6 years ago5 Oct 2019
LicenceNone stated

Overview

RSI Grid 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 distances. Risk is managed via a maximum position limit and an emergency exit function triggered by a specific balance-to-equity ratio. The source code includes an option for lot auto-scaling as the account grows, although the repository lacks a descriptive README.

Details

Author

jensengelke on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Mean reversion, Grid, Martingale

Markets

Any symbol

Timeframes

M1-M5, M15-H1

Risk profile

  • Uses martingale lot scaling: losses can grow fast
  • Opens a grid of orders: exposure builds up in a trend
  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
label0string+--- admin ---+
myMagicint1
tracelevelint2
backtestbooltruedisplay balance and equity in chart
chartLabelstringRSI grid
label1string+--- entry signal ---+
rsiPeriodint6
rsiDistancedouble15.0RSI threshold in % from upper and lower end
label2string+--- money management ---+
lotsdouble0.01
maxPositionsint6max number of positions
tpPointsdouble400
Show all 18 inputs
NameTypeDefaultDescription
martingaleFactordouble2.5
martingaleMinDistancedouble100
increaseSizeEverydouble1500.0auto-scale (initial account size or 0.0 to disable)
emergencyExitRatiodouble0.6emergency exit: balance/equity ratio (0.0 to disable)
pyramidebooltruenew position size in profit
abortInEmergencybooltrue

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone jensengelke/MT4-prod from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 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

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

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

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

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

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

MFI Expert

by Hamzeh24w
1 stars

This MetaTrader 4 expert advisor implements a trading strategy centered on the Money Flow Index (MFI) indicator. It opens buy positions when the MFI crosses below a user-defined threshold and sell positions when it crosses above a threshold. To manage losing trades, the EA employs a martingale-style lot scaling mechani

MT4 Trading robot Mean reversionMartingaleGrid High risk
Updated 5 years ago None stated GitHub repository of MFI Expert

More trading robots

Need a broker for MT4?

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

Compare brokers