Trading robot · MT4

Harey

by visualxl

Harey is a MetaTrader 4 expert advisor designed to trade mean-reversion setups using a combination of the Relative Strength Index (RSI) and Stochastic indicators.

High risk

GitHub stars9
Forks1
Last update5 years ago25 Nov 2020
LicenceNone stated

Overview

The system triggers trades when both indicators reach their respective overbought or oversold zones simultaneously. It manages risk through user-defined stop loss and take profit levels, along with a parameter to limit the maximum number of concurrent open trades. It also features a rest hour filter to avoid trading during specific periods. The robot supports fixed lot sizes or automated risk-based position sizing, though the README indicates the current logic requires further refinement.

Details

Author

visualxl on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Mean reversion, Martingale

Markets

Forex, Gold, Oil & commodities

Timeframes

M1-M5

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Topics

forexforex-tradingexpert-advisors

Input parameters

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

NameTypeDefaultDescription
MagicNumberint21112020Give unique numbers for each pair
AutoLotSizeMoneyManagementNoUse money management
Riskdouble1Risk per trade in Percentage
LotSizedouble0.1Lot size
StartRestHourint3Stop trading
EndRestHourint8Start trading
MaxOpenTradesint3Max open trades
StopLossdouble30
TakeProfitdouble30
RSI_Oversoldint40
RSI_Overboughtint60
Stoc_Overboughtint80
Show all 13 inputs
NameTypeDefaultDescription
Stoc_Oversoldint20

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone visualxl/Harey 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

Mad Pound Profits

by Syakyr
16 stars

Mad Pound Profits is a MetaTrader 4 expert advisor that automates trading based on structural breakouts and price action. The system utilizes time-specific analysis windows throughout the day to identify entry opportunities. It incorporates technical elements such as Fibonacci levels, momentum indicators, and mean reve

MT4 Trading robot BreakoutSMC / ICT / price actionMartingale High risk Archived
Updated 7 years ago None stated GitHub repository of Mad Pound Profits

Session Sauce

by jblanked
13 stars

Session Sauce is an automated expert advisor for MetaTrader 4 designed to trade market session transitions and price extremes. It allows users to configure entries based on session opens, highs, and lows for the New York, London, and Asian sessions. The EA includes risk management features such as fixed stop losses, ta

MT4 Trading robot BreakoutMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Session Sauce

Support Resistance EA

by jblanked
11 stars

This MetaTrader 4 expert advisor executes trades based on a combination of Relative Strength Index and Moving Average indicators to identify key entry levels. It includes multiple order management features such as a trailing break-even stop and a four-stage partial profit-taking system. Risk management is handled throu

MT4 Trading robot Trend followingMean reversionMartingale High risk
Updated 3 years ago None stated GitHub repository of Support Resistance EA

Monkey Attack Gold Pivot EA

by Monkeyattack
10 stars

This MetaTrader 4 expert advisor focuses on Gold trading using institutional pivot point levels and fractal-based support and resistance zones. The robot filters entries through a combination of RSI, MACD, and moving average alignment, supplemented by a trade quality scoring system. It includes comprehensive risk contr

MT4 Trading robot Mean reversionIndicator crossoverMartingale 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

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