Trading robot · MT4

GBPUSD AI Grid EA

by AlexCrombieF

The GBPUSD AI Grid EA is an automated trading robot for MetaTrader 4.

High risk

GitHub stars2
Forks0
Last update2 years ago13 Aug 2024
LicenceNone stated

Overview

GBPUSD AI Grid EA executes a grid-based strategy that layers orders during market movements. Initial entries are filtered using the Commodity Channel Index indicator. The bot manages positions through a martingale lot multiplier, increasing volume for subsequent grid levels. Risk controls include dynamic take-profit targets, breakeven exit rules, and a maximum count for open orders in each direction. The repository lacks a README, meaning users must rely on the source code and input parameters for configuration.

Details

Author

AlexCrombieF on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Grid, Martingale, Hedging

Markets

Forex

Timeframes

M15-H1

Risk profile

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

EA files

Input parameters

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

NameTypeDefaultDescription
TakeprofitsettingsstringTakeprofit settings -================
Maintakeprofitint10Take-profit value for orders/grid, pips.
UseaverageprofitbooltrueUse average take-profit
UsedynamictakeprofitbooltrueUse dynamic take-profit
StepdynamicTPint3Which crank starts dynamic take-profit
K_TPDecreasedouble1Take-profit multiplier
MinTakeProfitint1Minimum value of take-profit
BreakevenclosebooltruePut value of take-profit to breakeven
StepforBEint10Which crank starts to use breakeven rule
Stepsettingsstringstep settings -======================Grid
FirstStepdouble20The value of first step, pips
StepfromvolatilityboolfalseCalculation of the first step by volatility
Show all 40 inputs
NameTypeDefaultDescription
PeriodVolatility_1int20Amount of days for volatility calculation
K_Stepvoldouble0.5Multiplier for the first step
DynamicstepbooltrueUse dynamic grid step
Stepincreasestepint1Which crank starts dynamic step
K_Stepincreasedouble1Step multiplier
Maxcountstepsbuyint10Maximum amount of cranks in the buy basket
Maxcountstepsellint10Maximum amount of cranks in the sell basket
Tick_Memoryint100Maximum amount of ticks cached
Deviationdouble1.5
NeutralizerboolTrue
Pips_Thresholddouble100.0
Aux_Thresholddouble100.0
Volumesettingsstringorders volume -======================Settings of
Money_Managementbooltrue
Margin_Percentdouble2.0
Lot_Sizedouble0.01Lots amount for first order in grid
Multiplierdouble2Volume multiplier
Multipusestepint1Which crank starts apply volume multiplier
FirstOrderSettingsstringfor the first order -================Settings of entry conditions
CCIFiltrebooltrueUse CCI-indicator for entry
Period_CCIint50Period CCI on the current chart
ManuallySettingsstringmanual intervention -================Settings for
AllowbuybooltruePermission for buy orders
AllowsellbooltruePermission for sell orders
Stopmode_2ModeStopssVariant of orders stops
StopTradesLevelboolfalseStop trading after crossing of critical level
Stopmode_3ModeStopssVariant of order stops after crossing of critical levels
BuyStopLeveldouble0Critical levels for stop of buy orders

How to install it

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

Profit Hunter

by phpkadir
5 stars

Profit Hunter is an expert advisor for MetaTrader 4 designed for forex and cryptocurrency trading. It utilizes a composite signal strategy combining Triple Moving Average, Adaptive RSI, CCI, iTrend, and Fisher indicators. The robot executes trades using a grid system where distances between orders are set manually or c

MT4 Trading robot GridMartingaleHedging High risk
Updated 4 years ago None stated GitHub repository of Profit Hunter

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

AutoTrade EA

by liucheng-12-08
3 stars

AutoTrade EA is a scalping robot for MetaTrader 4 and 5 that utilizes a multi-indicator signal scoring system based on Exponential Moving Average crossovers and RSI levels. It employs an aggressive trade management strategy featuring a dynamic grid and a stepped martingale lot scaling system where position sizes increa

MT4MT5 Trading robot ScalpingIndicator crossoverMartingale High risk
Updated 7 months ago None stated GitHub repository of AutoTrade EA

Ario Averaging

by ariogunawan
2 stars

This MetaTrader 4 expert advisor implements an averaging strategy that manages trades by opening additional layers at predefined intervals when the market moves against the initial position. It features modes for both averaging up and down, with the ability to alternate between buy and sell orders. The EA includes risk

MT4 Trading robot GridMartingaleHedging High risk
Updated 2 years ago None stated GitHub repository of Ario Averaging

Price Less EA

by exalkas
2 stars

Price Less EA is an automated trading robot for the MetaTrader 4 platform that implements a grid-based recovery strategy. It combines moving average crossovers for entry timing with a multi-level position layering system. The robot initiates trades and scales lot sizes using step-based increments at fixed distances. It

MT4 Trading robot GridIndicator crossoverMartingale High risk
Updated 8 years ago None stated GitHub repository of Price Less EA

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