Grid Hedge Combine opens initial trades and layers subsequent orders at predefined pip intervals when the price moves against the position. The EA features lot size scaling, allowing for aggressive or constant increases to manage the cost basis. It includes profit calculation methods that account for swaps and commissions. Risk controls involve spread filters, trade limits per price level, and an optional stop loss for hedge positions.
Read from Grid_Hedge_Combine.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
enable_grid
bool
true
Enable Grid ?
grid_step
int
10
Grid Step in pip
grid_tp_step
double
10
Grid TP Step in pip
grid_multiplier
double
10
Grid Lot Size Increase %
grid_lot_mtd
lot_inc_mtd
aggressive
Grid Lot Size Increase Method
enable_modify_tp
bool
true
Enable Close Remaining Positions ?
ret_percent
int
40
Retrace Percent for all TPs
max_entry_ecc
int
2
Maximum Entry Price Freedom in points
enable_hedge
bool
true
Enable Hedge ?
hedge_step
int
10
Hedge Step in pip
hedge_multiplier
double
20
Hedge Lot Size Increase %
hedge_profit
double
5
Hedge Profit in $
Show all 23 inputs
Name
Type
Default
Description
profit_mtd
profit_mtds
swap
Profit Calculation Method
repeat_hedges
bool
true
Open Repetitive Hedges on the Same Level
hedge_open_pos
bool
true
Open an Initial Trade on Start ?
enable_hedge_sl
bool
true
Enable SL in Hedge ?
Magic
int
101
max_trades
int
10
Maximum Open Trades on a Price Level
lot_size
double
0.01
Initial Lot Size
max_spread
int
25
Maximum Spread of Symbol
box_clr
color
clrDarkSlateGray
Box Color
text_clr
color
clrWhite
Text Color
box_time
int
10
Box Visible Time (per candle)
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Far-1d/grid-hedge-combination-EA 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.
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
Mr X Grid Hedge is a MetaTrader 5 expert advisor specifically designed for XAUUSD trading. It utilizes a grid strategy with entry signals confirmed by a combination of EMA crossovers, RSI bounds, and ATR volatility filters. The system manages risk through automated hedging triggered by drawdown or specific grid depth.
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
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
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
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