Arbitrage Grid Bot monitors a configurable list of currency pairs and determines trade direction using a moving average trend filter. When price moves against an initial position, the bot opens additional levels using fixed, additive, or multiplicative lot scaling. The robot manages risk through an emergency account drawdown limit, optional individual stop losses, and a combined basket take profit target calculated per pair. It supports both market entries and pending limit orders for grid execution.
Read from Arbitrage_Grid_Bot.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpGridSpacingPips
int
12
Grid Spacing (pips between levels)
InpMaxGridLevels
int
5
Max Grid Levels per pair
InpBaseLotSize
double
0.01
Base Lot Size (Level 1)
InpLotScaleMode
int
1
Lot Scale: 0=Fixed, 1=Additive(1x,2x,3x), 2=Multiply(1x,2x,4x)
InpBasketTPDollars
double
5.0
Basket Take Profit ($) per pair
InpMaxDrawdownPct
double
30.0
Max Account Drawdown (%) - Emergency Close
InpIndividualSLPips
int
0
Per-Trade SL (pips, 0 = none)
InpIndividualTPPips
int
0
Per-Trade TP (pips, 0 = none)
InpPairList
string
EURUSD,AUDJPY,AUDCAD,GBPAUD,AUDNZD
Pairs to Trade
InpDirections
string
AUTO,AUTO,AUTO,AUTO,AUTO
Direction: AUTO, BUY, or SELL
InpTrendTF
ENUM_TIMEFRAMES
PERIOD_H1
Trend Detection Timeframe
InpTrendMAPeriod
int
50
Trend MA Period
Show all 17 inputs
Name
Type
Default
Description
InpTrendMAMethod
int
0
MA Method: 0=SMA, 1=EMA
InpMaxSpreadPips
int
5
Max spread (pips) to allow entry
InpUsePendingOrders
bool
true
Use Pending Limit Orders (true) or Market Orders (false)
InpMagicNumber
ulong
888888
Magic Number
InpTradeComment
string
ArbGrid
Trade Comment
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone AlessandroGCodeca/arbitrage-grid-bot from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u
Fibonacci ICT EA for MetaTrader 5 combines institutional price action concepts with Fibonacci retracement levels. It identifies higher timeframe trends and enters on pullbacks to specific golden zones using confirmations like Break of Structure and Fair Value Gaps. The system includes robust risk management such as per
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
Strawberry Strategy Tester is a MetaTrader 4 expert advisor designed for automated trading and strategy evaluation. It implements Bollinger Band-based entry logic and offers multiple lot sizing methods, including fixed lots, addition, and multiplication. The use of lot multiplication suggests the expert advisor utilize
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
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