Collection · MT5

MultiLevel Grid EA Collection

by rnec

This repository features a collection of MetaTrader 5 expert advisors centered around the MultiLevel Grid strategy.

High risk

GitHub stars1
Forks0
Last update4 months ago10 May 2026
LicenceNone stated

Overview

The system manages trades through baskets, allowing users to close positions based on account currency profit, point thresholds, or individual targets. It supports manual execution via an interactive on-chart panel or automated entries using a Moving Average filter. Risk management tools include lot size multipliers for martingale-style scaling, grid level restrictions, break-even adjustments, and drawdown protection. The EAs also incorporate time-based filters to restrict trading to specific sessions and include a visual interface for real-time monitoring.

Details

Author

rnec on GitHub

Type

Collection

Platform

MetaTrader 5 (MQL5)

Strategy

Grid, Martingale, Indicator crossover

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
  • Trades without a fixed stop loss

Input parameters

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

NameTypeDefaultDescription
inpLoadPanelbooltrueLoad Panel?
Cor_do_TemplateENUM_TEMPLATEESCUROTemplate Style
waterMarkFontSizeint20Symbol Font Size
iWaterMarkColorcolorC'100,100,100'Water Mark Color
CandleClockColorcolorclrDarkVioletCandle Timer Color
inpLabelOffsetint0Distância do texto acima da linha (em points)
inpLabelFontSizeint8Tamanho da fonte das labels
inpShowPositionLabelsbooltrueMostrar labels das posições no gráfico
inpShowProfitLabelsbooltrueMostrar resultado financeiro no gráfico (NOVO)
inpProfitColorcolorclrLimeCor do lucro (NOVO)
inpLossColorcolorclrRedCor do prejuízo (NOVO)
closureModeClosureModeCLOSE_BY_POINTS
Show all 40 inputs
NameTypeDefaultDescription
entryModeEntryModeENTRY_BY_PANEL
inpLotSizedouble1.0
iMagicNumberlong12345
inpTp_Pointsint50← TP para modo CLOSE_BY_POINTS/PROFIT
inpTpInitial_Pointsint50← NOVO: TP da primeira ordem (modo INDIVIDUAL)
inpTpGrid_Pointsint50← NOVO: TP das ordens do grid (modo INDIVIDUAL)
inpGridSizeint50
inpMultiplierdouble1.0
inpBreakevenPtsint50
maxBasketsint50
maxGridLevelsint0
profitTotal_inCurrencydouble100Target profit in account currency for closing positions
inpMAPeriodint21Período da Média Móvel
inpMAMethodENUM_MA_METHODMODE_SMAMétodo da MA (SMA, EMA, SMMA, LWMA)
inpMAPriceENUM_APPLIED_PRICEPRICE_CLOSEPreço Aplicado
inpMAColorcolorclrDodgerBlueCor da Média Móvel
inpMAWidthint2Espessura da Linha
inpMAStyleENUM_LINE_STYLESTYLE_SOLIDEstilo da Linha
inpShowMAbooltrueMostrar MA no Gráfico
enableTimeFilterbooltrueAtivar filtro de horário
startTimestring09:00Horário inicial (HH:MM)
endTimestring17:30Horário final (HH:MM)
closePositionsOutsideTimebooltrueFechar posições fora do horário
inputMaxProfitdouble0Trava de Ganho (0 = desativada)
inputMaxLossdouble0Trava de Perda (0 = desativada)
inpEnableIndividualSLboolfalseAtivar trava de perda por posição
inpMaxLossPerPositiondouble50.0Perda máxima por posição (R$)
enableDrawdownProtectionboolfalseAtivar Trava de Drawdown

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone rnec/MT5_EAs from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 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

643 stars

This collection of MetaTrader 5 expert advisors implements various technical strategies using indicators such as Moving Averages, MACD, and the Andean Oscillator. It includes a specific tool for trading based on Commitment of Traders data combined with SuperTrend signals. Most robots in the repository incorporate a gri

MT5 Collection Indicator crossoverScalpingGrid High risk
67 stars

This repository contains a large collection of over 100 expert advisors for the MetaTrader 5 platform, many of which appear to be generated using the Mission Automate tool. The library covers a wide variety of trading methodologies including range breakouts, Ichimoku cloud strategies, Heiken Ashi engulfing patterns, an

MT5 Collection Trend followingBreakoutMartingale High risk
Updated 3 years ago None stated GitHub repository of Konz MQL5 EA Collection

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies based on price action and technical indicators. The primary EA utilizes a moving average crossover system with switchable modes for different market conditions. It features a martingale lot-scaling system for sideways market

MT4MT5 Collection Indicator crossoverMartingaleGrid High risk

This repository is a substantial collection of nearly five hundred Expert Advisors for the MetaTrader 5 platform. The library includes various automated strategies such as divergence detection using RSI and MACD, moving average crossovers, and zone recovery systems. It features a mix of trading robots, indicator-based

MT5 Collection Indicator crossoverMean reversionMartingale High risk
3 stars

This MetaTrader 5 repository provides a diverse collection of automated trading systems, including tools for supply and demand, news fetching, and price action strategies. The primary expert advisor utilizes moving average crossovers and momentum filters to identify market pullbacks. It incorporates trade management fe

MT5 Collection Indicator crossoverMartingaleTrend following High risk

This repository is a collection of various MetaTrader 5 expert advisors generated through the Mission Automate tool. It contains over 100 separate files covering a wide array of technical strategies, including range breakouts, trend-following systems, and indicator crossovers using Ichimoku, CCI, and Heiken Ashi. Sever

MT5 Collection BreakoutMartingaleTrend following High risk

More collections

Need a broker for MT5?

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

Compare brokers