Gold Scalpers Pro
- Experts
-
Ihsan Ullah
Custom MQL5 development for MetaTrader 5: Expert Advisors, indicators, optimisation and fixes. Available on Freelance.
What I build: - Versão: 4.66
- Atualizado: 22 outubro 2026
- Ativações: 20
Gold Scalpers Pro is an Expert Advisor for gold (XAUUSD) on the M5 chart. It trades one rule set that you can see on your own chart: the Slope Direction Line against the 50 EMA, confirmed by the ZeroLag MACD. Every trade is sent with a stop loss placed at real market structure. No martingale. No grid. No averaging into losers. One entry per signal, at a fixed lot you choose.
At a glance
- Market: XAUUSD, M5 timeframe, hedging account
- Entries: Slope line crossing the 50 EMA, or the Slope line turning, read on closed candles only
- Filters: 50 EMA side, MACD side, chop filter, confirmation candle, spread cap, news pause
- Exits: stop at the last swing beyond the 50 EMA, profit locked at +300 pips, fixed take profit
- Protection: 16% drawdown stop with a 10% early warning, 14 trades a day, loss-streak cooldown, optional prop-firm limits
- Sessions: Sydney, Tokyo, London and New York, each a switch; low-liquidity hours are skipped
- Dashboard: signal meter, today's profit and loss, open positions, win rate, manual Buy / Sell / Pause / Close-all buttons
Backtest notes
The following are Strategy Tester results, not real trading results. They were run on every real tick of XAUUSD M5 with 0.01 lot, a 1,000 USD deposit and the default settings. Over January to September 2026 the EA had losing months as well as winning ones, and the largest drawdown in that period was 25.6% of the deposit. Over the shorter period from 14 September to 14 October 2026 it placed 127 trades with a 5.37% maximum drawdown. A short test period shows a smaller drawdown than a long one, so choose your lot size from the long-period figure.
Please run the demo version in your own Strategy Tester, with your own broker's data, before you decide.
How it opens a trade
Two triggers can open a trade, and both are on by default. Whichever fires first takes the trade:
- The cross: the Slope Direction Line crosses the 50 EMA, upward for a buy and downward for a sell.
- The turn: the Slope line changes direction, green for a buy and magenta for a sell, on the correct side of the 50 EMA.
Each signal must then pass every enabled filter. Price must be on the trade's side of the 50 EMA. The ZeroLag MACD must be on the matching side of its zero line. A chop filter skips signals while price is hugging the EMA. A confirmation candle must close in the signal direction with a real body. Only closed candles are read, so a candle still forming can never open a trade or fire an alert. When a signal is skipped, the journal names the filter that stopped it.
How a trade is managed
- Stop loss: a cross entry's stop sits at the most recent swing low (buy) or swing high (sell) beyond the 50 EMA, plus a buffer of 20 pips. A turn entry's stop sits beyond the extreme of the last 3 candles. The stop is set when the order is sent, not afterwards.
- Profit lock: once a trade is 300 pips ahead, its stop moves to lock in those 300 pips.
- Take profit: 1,200 pips for cross entries, 300 pips for turn entries.
- Pyramiding: adding to a winning trade is available but ships off. It did not improve the eight-month backtest, so the default is one entry per signal.
Risk protection
- Drawdown stop: at 16% from the peak the EA closes its positions and pauses for the day. An alert at 10% tells you how close the stop is and how many trades are open. The next trading day clears the pause on its own.
- Deposits and withdrawals are not drawdown. Drawdown is measured on trading profit and loss only, so moving money in or out of the account never trips the stop.
- Daily limits: a 200 USD daily profit target, at most 14 new trades a day and at most 4 open positions. Every limit can be changed, and setting one to 0 switches it off.
- Loss-streak cooldown: after 3 losing trades in a row the EA waits 30 minutes before the next entry.
- Spread cap: no new entry while the spread is wider than 30 pips.
- Prop-Firm Mode: a percentage daily-loss limit and a percentage maximum drawdown, measured from balance baselines, with a hard stop on a breach. Off by default.
Sessions and news
Sydney, Tokyo, London and New York are each a switch, all on by default and timed in broker server time. The EA opens no new trades in the first 2 hours of Sydney or the last 2 hours of New York, when liquidity is low. Both cut-offs are inputs. A news filter reads the MetaTrader 5 economic calendar and pauses new entries 30 minutes either side of high-impact USD releases.
A Low drawdown preset trades New York only, 13:00 to 19:00 server time. In the same eight-month backtest its largest drawdown was 10.3%, against 25.6% for the default sessions. It trades less often and is meant for accounts with strict drawdown limits, such as prop-firm accounts.
On your chart
- Signal meter: a 0 to 100 reading of how close the next trade is. It cannot pass 60 while any entry rule fails, so a full bar means every gate is open.
- Dashboard: session, today's profit and loss, open positions (the EA's and the account's), trades today and win rate, with manual Buy, Sell, Pause and Close-all buttons. It sizes itself to your screen.
- Arrows: BUY and SELL labels on the bars the EA traded, redrawn for the last 200 bars when you attach it. Manual trades are not labelled.
- Alerts: terminal pop-ups and MetaTrader 5 mobile push. One signal alert fires when the Slope line crosses the 50 EMA on a closed candle. Trade alerts report every open and close and name the position's side. Risk alerts are always delivered.
- Pre-flight check: on attach the EA prints a pass, warn or fail report covering trading permissions, symbol, lot limits, history, spread and sessions, so a wrong setting shows up at once.
Recommended setup
- XAUUSD on M5, on a hedging account with low spreads
- 1,000 USD for each 0.01 lot
- A virtual private server, so the EA runs without interruption
- Attach it with the defaults, read the pre-flight report in the Experts journal, and run it on demo first
Main inputs
- StrategyPreset: Custom (your inputs), Colour scalping, EMA and MACD swing, or Low drawdown (New York only).
- EntryMode: the turn, the cross, or either.
- FixedLot, TakeProfitPips, SwingSLBufferPips, ColourTPPips, BreakEvenPips and BreakEvenLockPips.
- MaxDrawdownPct, DrawdownWarnPct, DailyProfitTarget, MaxTradesPerDay, MaxOpenPositions and MaxSpreadPips.
- PropFirmMode, with PropDailyLossPct and PropMaxDrawdownPct.
- SessSydney, SessTokyo, SessLondon, SessNewYork, SydneyOpenSkipHours and NYLateCutoffHours.
- NewsFilter, with the pause before and after each release.
- CrossAlert, AlertOnTradeOpen and PushAlert.
Risk warning. Trading gold on margin carries a high level of risk and is not suitable for every investor. An automated system can lose money. Backtest results, including the figures above, are not real trading results and do not indicate future results. Test on a demo account first and never trade money you cannot afford to lose.
