This MetaTrader 5 expert advisor implements a linear gradient trading strategy, which typically involves layering orders or partial exits at fixed point intervals.
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.
Read from Gradiente_Linear.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
lote
double
1
Quantidade de Lote
gain
double
100
Gain
loss
double
250
Loss
enumTypeOperation
ENUM_TYPE_OPERATION
buy
Tipo de operação
totalExpectedPartials
int
3
Quantidade de Parciais Esperadas
partialPoints
double
50
Pontos Parciais
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone HidaiSilva/gradiente_linear_ex from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
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
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
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
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
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,
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