Trading robot · MT4

Arbitrage Expert

by wawaw237zz

Arbitrage Expert is a MetaTrader 4 expert advisor that focuses on a zone recovery hedging strategy rather than traditional arbitrage.

High risk

GitHub stars1
Forks0
Last update4 years ago24 Sep 2021
LicenceNone stated

Overview

Based on the OGT Zone Recovery system, it manages trades by opening counter-positions within a defined price zone when an initial trade goes into drawdown. The system employs a lot multiplier to facilitate basket exits at a combined take profit level. Trading can be initiated manually or automatically using a multi-timeframe RSI strategy. Risk controls include an optional maximum loss in deposit currency, a trade timer, and dynamic zone adjustments.

Details

Author

wawaw237zz on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Hedging, Martingale, Mean reversion

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast
  • Holds opposite positions at once
  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
RecoverySettingsstringZONE RECOVERY SETTINGS
RecoveryZoneSizeint200Recovery Zone Size (points)
TakeProfitint200Take Profit (points)
MaxTradesint0Max Trades (0 for unlimited)
SetMaxLossboolfalseMax Loss after Max Trades reached?
MaxLossdouble0Max Loss after Max Trades (0 for unlimted) in deposit currency.
UseRecoveryTakeProfitbooltrueUse a Recovery Take Profit
RecoveryTakeProfitint50Recovery Take Profit (points).
PendingPricedouble0Price for pending orders
ATRHeaderstringATR Dynamic Zone Sizing
UseATRboolfalseUse ATR?
ATRPeriodint14ATR Period
Show all 40 inputs
NameTypeDefaultDescription
ATRZoneFractiondouble0.2Fraction of ATR to use as Recovery Zone
ATRTPFractiondouble0.3Fraction or ATR to use for TP sizes
ATRRecoveryZonedouble0.15Fraction of ATR to use for recovery TP.
MoneyManagementstringMONEY MANAGEMENT SETTINGS
RiskPercentdouble0Account % Initial Lot Size (set to 0 if not used)
InitialLotSizedouble0.1Initial Lot Size (if % not used)
LotMultiplierdouble2Multiplier for Lots
LotAdditionsdouble0
CustomLotSizingstringCUSTOM LOT SIZES
CustomLotSize1double0
CustomLotSize2double0
CustomLotSize3double0
CustomLotSize4double0
CustomLotSize5double0
CustomLotSize6double0
CustomLotSize7double0
CustomLotSize8double0
CustomLotSize9double0
CustomLotSize10double0
TimerSettingsstringTIMER SETTINGS
UseTimerboolfalseUse a Trade Timer?
StartHourint0Start Hour
StartMinuteint0Start Minute
EndHourint0End Hour
EndMinuteint0End Minute
UseLocalTimeboolfalseUse local time?
TradeSettingsstringEA SETTINGS
EA_ModeEA_SettingManual

How to install it

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

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

Oil Hedge

by vvvf
3 stars

This MetaTrader 4 expert advisor implements a correlation-based hedging strategy between two instruments, typically UKOIL and USOIL. It monitors the price spread between the two assets, opening buy and sell positions simultaneously when the spread expands or narrows beyond defined thresholds. The EA manages exits based

MT4 Trading robot HedgingMean reversionMartingale High risk
Updated 5 years ago None stated GitHub repository of Oil Hedge

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

Blessing Three

by duanwujie
1 stars

This MetaTrader 4 expert advisor is an automated grid trading system that utilizes a variety of indicators including Moving Averages, CCI, Bollinger Bands, and MACD for trade entries. It employs a martingale-style lot multiplier to manage position sizing across sequential grid levels. The software includes risk control

MT4 Trading robot GridMartingaleIndicator crossover High risk
Updated 9 years ago None stated GitHub repository of Blessing Three

AW Full Recovery EA

by wongthep
2 stars

This MetaTrader 5 expert advisor functions as a grid-based recovery system that can operate independently or manage trades from external EAs via magic number filtering. It initiates entries using Bollinger Bands and RSI indicators, then manages drawdown through a recovery grid matrix. The system employs dynamic ATR-bas

MT5 Trading robot GridMartingaleHedging High risk
Updated 3 months ago None stated GitHub repository of AW Full Recovery EA

Advanced Grid Trading

by jepli-1225
2 stars

Advanced Grid Trading is a MetaTrader 5 expert advisor that manages a complex grid strategy across four configurable layers. It places stop and limit orders at fixed intervals, employing either fixed or geometric lot scaling for increased grid depth. Trade management includes a shared profit pool used to close losing p

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 6 months ago None stated GitHub repository of Advanced Grid Trading

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