GoldSilver Edge

  • Uzmanlar
  • Ellin Tsantidis
    Ellin Tsantidis
    With over 10 years of forex trading experience, I bring institutional-grade expertise to my MQL5 signals.
    My strategy, EuroScalpPro, specializes in high-frequency scalping on EUR/USD, targeting 5-10 pips per trade with a disciplined 1:2 risk-reward ratio.
  • Sürüm: 1.2
  • Etkinleştirmeler: 5

GoldSilver Edge is a rules-based trend-pullback Expert Advisor for Gold (XAUUSD) and Silver (XAGUSD) on MetaTrader 5. It trades with the higher-timeframe trend, waits for a pullback, and manages every position with volatility-based stops and strict risk controls.

No martingale. No grid. No averaging down. Every trade is opened with a stop loss and take profit.

How it works

  • Trend filter (H1): EMA 50 and EMA 200 define the direction. The EA only buys in an uptrend and only sells in a downtrend.
  • Pullback entry (M15): RSI dips below a threshold and recovers (buy), or rises above it and falls back (sell), with price confirming on the correct side of EMA 21.
  • Exits: Stop loss is set as a multiple of ATR. Take profit is set by risk-reward ratio (default 1:2). Optional breakeven and ATR trailing stop.
  • Signals are evaluated once per closed M15 bar, so results do not depend on tick noise.

Built-in protection

  • Position size calculated from account balance and stop distance (default 1% risk)
  • Daily equity loss limit that pauses trading until the next day
  • Maximum trades per day and a cooldown after each closed trade
  • Spread filter and trading-session filter
  • Free margin check before every order
  • Optional Friday close to avoid weekend gap risk

Recommended setup

  • Symbols: XAUUSD and XAGUSD (use your broker's symbol names), one chart per symbol
  • Timeframe: M15
  • Account: low-spread / ECN-style account; a VPS is recommended for 24/5 operation
  • Run on a demo account first and adjust to your broker's spread and server time

Recommended settings (the default inputs use the Gold values)

Parameter XAUUSD XAGUSD
InpRiskPercent 1.0 0.75
InpSL_ATR 1.5 1.8
InpRR 2.0 2.0
InpTrail_ATR 1.2 1.4
InpMaxSpreadPts 50 80
InpMagic 20260601 20260602

Spread values are in points and depend on your broker's digit format (multiply by 10 on 3-digit gold or 5-digit silver brokers). Use a different magic number for each symbol.

Input parameters

  • InpRiskPercent - risk per trade as % of balance
  • InpFixedLot - fixed lot size (0 = use risk %)
  • InpMaxDailyLossPct - stop trading for the day at this equity loss
  • InpMaxTradesPerDay - maximum new trades per day
  • InpTrendTF / InpEntryTF - trend and entry timeframes (H1 / M15)
  • InpTrendFast / InpTrendSlow - trend EMA periods (50 / 200)
  • InpEntryEMA - entry confirmation EMA period (21)
  • InpRSIPeriod, InpRSIBuyLevel, InpRSISellLevel - RSI settings for pullback detection
  • InpATRPeriod - ATR period used for stops and trailing
  • InpCooldownBars - bars to wait after a closed trade
  • InpSL_ATR - stop loss distance in ATR multiples
  • InpRR - take profit as a multiple of the stop distance
  • InpUseBreakeven, InpBE_ATR - move stop to breakeven after profit of this many ATR
  • InpUseTrail, InpTrail_ATR - ATR trailing stop and its distance
  • InpMaxSpreadPts - maximum allowed spread in points
  • InpUseSession, InpStartHour, InpEndHour - trading window in broker server time
  • InpFridayClose, InpFridayCloseHour - close positions on Friday evening
  • InpMagic, InpSlippage, InpComment - magic number, max slippage, order comment

Important: No Expert Advisor can guarantee profit. Test on a demo account before trading live, use sensible risk settings, and never risk money you cannot afford to lose. Past performance does not guarantee future results.

Filtrele:
Değerlendirme yok
Değerlendirmeye yanıt