Trading robot · MT5

Gradiente Linear MT5

by HidaiSilva

This MetaTrader 5 expert advisor implements a linear gradient trading strategy, which typically involves layering orders or partial exits at fixed point intervals.

High risk

GitHub stars1
Forks1
Last update2 years ago6 Dec 2023
LicenceNone stated

Overview

Gradiente Linear MT5 utilizes Bollinger Bands as a primary technical indicator for entry signals and supports buy-only, sell-only, or bidirectional trading modes. The robot includes risk management parameters such as stop loss, take profit, and fixed lot sizing. Users can define the number of partial levels and the specific point distance between them. The provided documentation is minimal, as the repository serves as a code example.

Details

Author

HidaiSilva on GitHub

Type

Trading robot

Platform

MetaTrader 5 (MQL5)

Strategy

Grid, Mean reversion, Hedging

Markets

Any symbol

Timeframes

Any timeframe

Risk Profile

  • Opens a grid of orders: exposure builds up in a trend
  • Holds opposite positions at once

Input Parameters

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

NameTypeDefaultDescription
lotedouble1Quantidade de Lote
gaindouble100Gain
lossdouble250Loss
enumTypeOperationENUM_TYPE_OPERATIONbuyTipo de operação
totalExpectedPartialsint3Quantidade de Parciais Esperadas
partialPointsdouble50Pontos Parciais

How to Install It

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

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
3 stars

This expert advisor facilitates arbitrage trading between futures and spot instruments, primarily targeting gold and stock indices. Available for MetaTrader 4 and 5, it monitors the price difference between two related symbols against a moving average to identify trade opportunities. The logic includes a noise-filterin

MT4MT5 Trading robot ArbitrageMean reversionGrid High risk
Updated 3 years ago None stated GitHub repository of Gold Futures Spot Arbitrage

AW Full Recovery EA

by wongthep
2 stars

This MetaTrader 5 expert advisor functions as a grid-based recovery system that can operate independently or manage trades from external EAs via magic number filtering. It initiates entries using Bollinger Bands and RSI indicators, then manages drawdown through a recovery grid matrix. The system employs dynamic ATR-bas

MT5 Trading robot GridMartingaleHedging High risk
Updated 3 months ago None stated GitHub repository of AW Full Recovery EA

Advanced Grid Trading

by jepli-1225
2 stars

Advanced Grid Trading is a MetaTrader 5 expert advisor that manages a complex grid strategy across four configurable layers. It places stop and limit orders at fixed intervals, employing either fixed or geometric lot scaling for increased grid depth. Trade management includes a shared profit pool used to close losing p

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 6 months ago None stated GitHub repository of Advanced Grid Trading
2 stars

This MetaTrader 5 expert advisor implements a multi-layered grid strategy that manages up to three independent grids simultaneously on a single instrument. It uses the Relative Strength Index (RSI) across different timeframes to determine the initial trade direction for each grid. The EA employs martingale lot scaling,

MT5 Trading robot GridMartingaleMean reversion High risk
Updated 2 years ago None stated GitHub repository of Springfield 3 Grids

Adaptive Quant Grid

by x001tk-Igor
1 stars

Adaptive Quant Grid is an automated trading system for MetaTrader 5 that utilizes a dynamic grid strategy. It adjusts grid spacing based on market volatility using the Average True Range indicator and includes a regime filter powered by ADX and EMA to distinguish between trending and ranging markets. The EA supports sy

MT5 Trading robot GridMean reversionHedging High risk

More trading robots

Need a Broker for MT5?

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

Compare brokers