Xau Scalper Gold Trend Basket
- Experts
-
Blessing Samuel Olasunkanmi
Forex trader, MQL5 developer and founder of OlaDigital Nexus Framework, a registered Nigerian business focused on programming, trading and e-learning. - 버전: 1.10
- 업데이트됨: 17 11월 2026
- 활성화: 10
XAU Scalper is an Expert Advisor for XAUUSD (gold) on MetaTrader 5. It combines an automated basket scalper with an on-chart Signal Confirmer, so you can let the robot trade or follow the same signals manually.
KEY ADVANTAGES
- Built specifically for gold: ADX, spread, session, rollover and news filters work together before any trade is opened
- Two tools in one: an automated scalping bot and a Signal Confirmer panel with Entry, TP and SL for manual trading
- Agreement mode keeps the bot and the signals on the same side of the market
- Basket trading with one combined take profit, stop loss, break-even and trailing lock
- Risk-based lot size calculated from your balance and current volatility (ATR)
- Server-side stop loss on every order as a safety net
- Daily loss limit, cooldowns and a pause after consecutive losses
- Clear on-chart panels show balance, basket status, filters, last result and the reason the bot is waiting
- Works on hedging and netting accounts and restores its state after a terminal restart
HOW IT WORKS
Scalping bot: on its working timeframe (M5 by default) the bot looks for trend-continuation setups: fast EMA above or below the slow EMA, slow EMA sloping in the trend direction, price on the correct side of the trend EMA, a momentum candle and RSI in a healthy range. When ADX confirms a trending market and all filters pass, it opens a basket of trades with pending stop orders beyond the signal candle, or with market orders.
Signal Confirmer: on the chart timeframe, it detects SuperTrend flips confirmed by MACD. Each signal shows Entry, TP and SL on the chart, live progress to TP, TP HIT status and automatic removal when the SL is reached. Popup and phone push alerts are available.
RECOMMENDED SETUP
- Symbol: XAUUSD
- Chart timeframe: M1 or M5 (used by the Signal Confirmer)
- Bot timeframe: M5
- Account: hedging recommended, netting supported
- Start with the default risk of 0.5% per basket
- Enter your broker's commission in "Round-turn commission per 1.0 lot"
- Strategy Tester: use "Every tick based on real ticks" and set your broker's server GMT offset
INPUT PARAMETERS
General
- Magic number: unique ID for this EA's orders (default 260301)
- Order comment: comment added to every order
- Max slippage (points): maximum allowed slippage for market orders
Bot Strategy
- Bot timeframe: timeframe the bot analyses (default M5)
- Entry mode: pending stop orders (needs price confirmation) or market orders
- Pending order offset beyond candle (x ATR): distance of the stop order beyond the signal candle
- Delete unfilled pending orders after X bars: removes orders that are not triggered in time
- Fast EMA / Slow EMA / Trend EMA: periods of the trend moving averages (9 / 21 / 50)
- RSI period: RSI length (default 14)
- RSI min / max for buy, RSI max / min for sell: RSI range allowed for entries
- ATR period: volatility period used for TP, SL and lot size
- Allow buys / Allow sells: enable or disable each direction
- Agreement with Signal Confirmer: Off, SuperTrend direction only, or only while a signal is running
Trend Strength (ADX)
- Skip ranging markets: enable the ADX filter
- ADX period: ADX length on the bot timeframe
- Minimum ADX to trade: trades only when ADX is at or above this level (default 20)
- +DI / -DI must agree with trade direction: extra direction check
Basket and Lot Size
- Trades per basket: number of trades opened per signal (default 3)
- Lot mode: automatic (risk % of balance) or fixed lot
- Risk per basket (% of balance): risk for the whole basket (default 0.5)
- Lot per trade (fixed mode): lot used in fixed mode
- Use minimum lot on small balance: allows the broker's minimum lot on small accounts
- Max % risk allowed when forced to min lot: safety limit for the option above
Take Profit and Stop Loss
- Basket TP mode: ATR based, fixed money amount or percent of balance
- Basket TP distance (x ATR) / TP in money / TP % of balance: target for each mode
- Basket SL distance (x ATR): stop loss for the basket
- Server SL = basket SL distance x this: wider safety stop placed on the server
- Break-even at this fraction of TP: locks the basket near break-even (0 = off)
- Trailing starts at this fraction of TP / Lock this fraction of peak profit: trailing profit lock
- Time stop in minutes: closes a basket that does not develop (0 = off)
- Round-turn commission per 1.0 lot: your broker's commission for accurate profit calculation
Re-entry
- Pause after a winning basket (minutes): avoids chasing extended moves
Filters
- Max spread as % of the basket TP distance: skips trades when the spread is large compared with the target
- Hard max spread in points: absolute spread limit (0 = off)
- Gold only: max spread in price: maximum gold spread (default 0.60)
- Slow ATR / Skip if ATR > slow ATR x this: avoids sudden volatility spikes
Safety
- Stop for the day at this % loss: daily loss limit (default 5%)
- Stop for the day at this % profit: optional daily target (0 = off)
- Pause after a losing basket (minutes): short cooldown after a loss
- Long pause after X losses in a row / Long pause length: protection during difficult conditions
Trading Hours
- Session filter: London + New York (default), London only, New York only, custom hours or all hours
- Custom start / end hour: server hours for the custom session
- Block daily rollover: no new trades during the rollover hour, when spreads widen
- Server GMT offset used in the Strategy Tester: needed for correct sessions in backtests
- No new trades late Friday / Friday cut-off hour: avoids weekend gaps
News Filter (live trading)
- Avoid high-impact news: pauses trading around high-impact events
- Minutes before / after news: size of the news window
- Close open basket when news is near: optional protection before news
Signal Confirmer
- Show signal confirmer panel, arrows and alerts: enables the manual signal tool
- SuperTrend ATR period / multiplier: SuperTrend settings (10 / 3.0)
- Bars used for calculation: history length for the SuperTrend
- Bars allowed for MACD to confirm a flip: confirmation window
- Require MACD confirmation / Require price on correct side of EMA: signal filters
- EMA filter period: period of the optional EMA filter
- Signal reward:risk for TP: TP distance compared with the SL (default 1.5)
- Keep "TP HIT" on screen for X bars: display time of the result
- Popup alerts / Push notifications to phone: alert options
- Signal panel X / Y position: panel placement on the chart
Display
- Show bot info panel: shows or hides the bot panel
IMPORTANT
Test XAU Scalper on a demo account and in the Strategy Tester with your broker's data before trading live. Results depend on broker conditions such as spread, commission and execution speed. Trading gold involves a high level of risk, and past results do not guarantee future results.
For questions and support, please use the product comments or MQL5 private messages.

