Trading robot · MT4

Grid EA

by sonidelav

This expert advisor for MetaTrader 4 implements a grid-based scalping strategy.

High risk

GitHub stars52
Forks21
Last update8 years ago17 Sep 2018
LicenceGPL-3.0

Overview

Grid EA places multiple trade orders at fixed intervals, defined by a configurable pip gap. The system manages a specific number of grid lines on both sides of the starting price, aiming to capture small price movements. It utilizes fixed lot sizing for each position and operates using a high-frequency millisecond timer. The documentation is minimal, and the main input parameters do not include explicit stop loss or take profit settings.

Details

Author

sonidelav on GitHub

Type

Trading robot

Strategy

Grid, Scalping

Markets

Any symbol

Timeframes

M1-M5, M15-H1

Risk Profile

  • Opens a grid of orders: exposure builds up in a trend
  • Trades without a fixed stop loss

EA Files

Topics

expert-advisorsgridmql4mt4mt4-ea

Input Parameters

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

NameTypeDefaultDescription
GridGapint50Grid Gap (Pips)
LotSizedouble0.01Trade Lot Volume
TotalGridLinesint7Total Grid Lines Each Side

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone sonidelav/GridEA 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, and any .mqh files into the Include folder the code expects.
  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

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 8 months ago None stated GitHub repository of AutoTrade EA

The Gold Reaper

by naming1086
1 stars

The Gold Reaper is a multi-strategy expert advisor for MetaTrader 4 and 5. It trades gold pairs using breakout and reversal entries based on fractals and ATR. Trades enter when spread and frequency conditions are met and exit via trailing stops or time-based rules. The EA includes NFP filters to pause during economic e

MT4MT5 Trading robot BreakoutTrend followingScalping High risk
Updated 6 weeks ago None stated GitHub repository of The Gold Reaper
8 stars

High Frequency Grid EA is an automated trading robot for MetaTrader 5 that implements a mean-reversion strategy through a grid of pending orders. It places buy and sell stop orders at calculated distances, using dynamic spread monitoring to ensure execution only during favorable conditions. The EA includes a trailing s

MT5 Trading robot GridMean reversionScalping High risk
6 stars

This high-frequency scalping robot for MetaTrader 5 is specifically designed for the gold market. It determines entry points using a combination of EMA trend filters, ADX trend strength, and dynamic RSI levels. To recover from losing positions, the EA utilizes an aggressive martingale grid system with a customizable lo

MT5 Trading robot ScalpingMartingaleGrid High risk

Gold Scalper Bot

by bigthreeatone
3 stars

This MetaTrader 5 expert advisor is designed for aggressive trading on XAUUSD, focusing on the 5-minute and 15-minute timeframes. It utilizes Fibonacci retracements and swing high/low breakouts to identify entries across three selectable modes: scalp, swing, and trend following. The system manages up to three positions

MT5 Trading robot ScalpingBreakoutTrend following High risk
Updated 4 months ago None stated GitHub repository of Gold Scalper Bot

SnD SnR Scalping

by Adirach08
2 stars

This MetaTrader 5 expert advisor executes trades based on supply and demand zones combined with support and resistance levels. It performs multi-timeframe analysis across H1 and M5 charts to identify entry points. The robot utilizes price action patterns like double tops and head-and-shoulders for confirmation. Risk is

MT5 Trading robot SMC / ICT / price actionScalpingGrid High risk
Updated 1 year ago None stated GitHub repository of SnD SnR Scalping

More grid EAs

Related on ForexR

Need a Broker for MT4?

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

Compare MT4 brokers