Gold Grid Stop DCA EA enters trades by placing pending stop orders aligned with EMA trend on M1. After entry, DCA adds up to 4 orders in the basket every 2 points with fixed lot size and max 0.05 lot. The basket uses shared stop loss 15 points away. It applies basket trailing when profit reaches 6 USD and hedging on 7-point opposite moves, exiting after 30 minutes or profit. Sideway ADX filter on M5 and reversal cut exits are included. Default settings disable break-even and trailing stops.
Read from 13_SuperScalping_DCA.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpTradeSymbol
string
XAUUSDm
InpMagicNumber
ulong
999889
InpLotSize
double
0.01
InpTotalLimitOrders
int
1
InpFirstOrderDistance
double
0.5
InpStepDistance
double
0.5
InpUseDCA
bool
true
InpDCALevels
int
4
InpDCAStep
double
2.0
InpDCALotMultiplier
double
1.0
InpMaxBasketLot
double
0.05
InpUseBasketTrail
bool
true
Show all 40 inputs
Name
Type
Default
Description
InpBasketTrailStartUSD
double
6.0
InpBasketTrailGivebackPct
double
35.0
InpUseBasketTakeProfit
bool
false
InpBasketProfitUSD
double
20.0
InpUseHedge
bool
true
InpHedgeTriggerMove
double
7.0
InpHedgeTimeframe
ENUM_TIMEFRAMES
PERIOD_M1
InpHedgeExitProfitUSD
double
10.0
InpHedgeMaxMinutes
int
30
InpUseSidewayFilter
bool
true
InpSidewayTimeframe
ENUM_TIMEFRAMES
PERIOD_M5
InpADXPeriod
int
14
InpMinADX
double
20.0
InpReversalMode
ENUM_REVERSAL_MODE
REVERSAL_CUT
InpReversalConfirmBars
int
2
InpInitialSLPrice
double
15.0
InpUseRollingSL
bool
false
InpSLTimeframe
ENUM_TIMEFRAMES
PERIOD_M1
InpSLBars
int
15
InpSLBuffer
double
0.20
InpRollingStep
double
0.30
InpUseBreakEven
bool
false
InpBreakEvenStart
double
4.00
InpBreakEvenOffset
double
3.00
InpUseTrailingSL
bool
false
InpTrailingStart
double
2.00
InpTrailingDistance
double
0.70
InpTrailingStep
double
0.20
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone LiinIT/Bot-EA13-Trading-XAUUSD-Scaping 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
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
This machine learning expert advisor for MetaTrader 5 utilizes ensemble and deep learning models to analyze market patterns. It offers a versatile multi-strategy approach, allowing users to toggle between trend-following, scalping, and grid-hedging behaviors. Risk controls are comprehensive, featuring fixed percentage
HFT Grid AI is a MetaTrader 5 Expert Advisor foundation built for high-frequency trading and grid-based strategies. It employs a broker-aware execution model that validates trade plans against local simulations before sending orders to the market. Key features include stochastic market structure analysis, session-based
The Gold Reaper is a multi-strategy expert advisor for MetaTrader 4 and 5. It trades gold pairs using breakout and reversal entries based on fractals and ATR. Trades enter when spread and frequency conditions are met and exit via trailing stops or time-based rules. The EA includes NFP filters to pause during economic e
Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT