Trading robot · MT4

Super Grid

by allanon98

This MetaTrader 4 expert advisor implements a trend-following grid strategy based on multiple moving averages.

High risk

GitHub stars1
Forks0
Last update8 years ago6 Feb 2018
LicenceNone stated

Overview

Super Grid determines market direction using configurable average periods and places initial pending orders followed by additional positions at set point intervals. The robot manages long and short trades independently using fixed monetary profit targets rather than traditional stop losses. It includes features for lot scaling, a cover mode for trend reversals, and a chop mode for selective position closing. The repository contains multiple files without a README.

Details

Author

allanon98 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Grid, Hedging, Martingale

Markets

Any symbol

Timeframes

Any timeframe

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

Input parameters

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

NameTypeDefaultDescription
ppSignaturestringcambiamiSession initial signature
ppChangeSigboolfalseChange signature at trend change
ppCoverModeint0Place cover orders at trend change
ppAveragesstring21;43;130Averages to calculate trend direction
ppPeriodint15Period of the averages (1,5,15,30,60)
ppInitDiffint300Points up/down of the first pending orders
ppMaxPosint10Max allowed positions (per trend/signature)
ppStepint300Points before open a new position
ppStepCoverint600Points before open a new cover position
ppInitVolumedouble0.01Size of the first lot
ppIncreasedouble0.0Size of the increment lot
ppCloseProfitLongdouble5.0Close LONG when profit is at least (euro)
Show all 18 inputs
NameTypeDefaultDescription
ppCloseProfitShortdouble5.0Close SHORT when profit is at least (euro)
ppCloseCoverProfitbooltrueClose cover orders (mode=1) only if in profit
ppChopModeLongbooltrueClose only the newest LONG positions
ppChopModeShortbooltrueClose only the newest SHORT positions
ppStopEvenboolfalseClose ALL at profit and STOP
ppLabelColorcolorclrWhiteLabels color

How to install it

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

Krikor

by Comp-AS
1 stars

Krikor is a MetaTrader 4 robot that uses a combination of technical indicators and a grid-based recovery system to manage trades. It determines entries using a Relative Strength Index (RSI), Moving Averages, Average Directional Index (ADX), and a custom ZigZag indicator. The strategy employs martingale lot scaling, inc

MT4 Trading robot MartingaleGridTrend following High risk
Updated 8 years ago None stated GitHub repository of Krikor

STO Martin

by crq644
2 stars

STO Martin is a grid-based trading robot for MetaTrader 5 that uses technical indicators to manage entries and recoveries. It employs a Stochastic Oscillator for execution signals and a Moving Average to filter trades according to the prevailing trend. The EA features a martingale lot-scaling system that adds positions

MT5 Trading robot MartingaleGridTrend following High risk
Updated 3 years ago None stated GitHub repository of STO Martin

Xauusd Auto Trader

by ibadnarpatih-create
2 stars

This MetaTrader 5 expert advisor is designed for trading XAUUSD using a trend-following approach. It identifies entries through a triple Exponential Moving Average crossover system, requiring ADX momentum confirmation before opening positions. To manage losing trades, the EA employs a martingale strategy that layers or

MT5 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 weeks ago GPL-3.0 GitHub repository of Xauusd Auto Trader
1 stars

This Expert Advisor for MetaTrader 5 focuses on gold trading through a combination of mean-reversion signals and a grid management system. It uses multi-timeframe filters, including exponential moving averages and ADX on the H1 timeframe, to identify trend direction while executing entries on M15 based on RSI and Bolli

MT5 Trading robot Mean reversionGridMartingale High risk

Prem Gold Advisor

by Premkumar238
1 stars

Prem Gold Advisor is an automated MetaTrader 5 expert advisor specialized for XAUUSD (Gold) trading on the five-minute timeframe. It initiates trades using breakout levels placed at specific distances from the candle open. The strategy features a progressive scale-in mechanism, adding new orders as the price hits succe

MT5 Trading robot BreakoutTrend followingMartingale High risk
Updated 4 weeks ago None stated GitHub repository of Prem Gold Advisor

Grid Retest

by khamminasomchanmavong
1 stars

This MetaTrader 5 expert advisor implements a grid-based trading strategy combined with an EMA trend filter. It enters positions based on price relation to a 50-period Exponential Moving Average. If a trend reverses while a basket is active, the EA initiates a dual-mode recovery by opening a new basket in the opposing

MT5 Trading robot GridTrend followingHedging High risk
Updated 3 months ago None stated GitHub repository of Grid Retest

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