Documentation

Strategy Guide

Complete reference for the Gold Signal Pro Expert Advisor — indicator logic, parameter settings, backtesting methodology, and step-by-step installation instructions.

Overview

Gold Signal Pro is a fully automated MetaTrader 4 Expert Advisor designed exclusively for XAUUSD (spot gold). It combines three independent technical conditions into a single confluence-based entry model, producing high-probability trade setups across three trading modes: Scalping (M1/M5), Day Trading (M15/M30/H1), and Swing Trading (H4/D1).

The EA does not use martingale, grid, or averaging strategies. Each trade is a single position with a fixed ATR-derived stop-loss and take-profit. Risk per trade is controlled by the RiskPercent parameter, and all mode-specific parameters are applied automatically when you select a trading mode.

ℹScalping mode requires all 3 confluence conditions. Day Trading and Swing modes require at least 2 of 3. The EA validates the chart timeframe on startup and will alert you if the wrong timeframe is used for the selected mode.

Key characteristics

PropertyValue
InstrumentXAUUSD only
Trading modesScalping (M1/M5) · Day Trading (M15/M30/H1) · Swing (H4/D1)
Strategy typeTrend-following confluence
Order typeSingle position per signal
SL / TP methodATR-based dynamic sizing (mode-adjusted)
SessionLondon / NY (configurable; disabled in Swing mode)
Backtested periodJan 2022 – Sep 2026
PlatformMetaTrader 4 (.ex4)

Built-in Trading Assistant

Gold Signal Pro v2.1 includes a fully integrated Trading Assistant panel drawn directly on the MT4 chart. No separate installation or web portal is required — the panel appears automatically when the EA is attached.

ℹThe Trading Assistant replaces the standalone web assistant page. All signal data, confluence scores, entry/SL/TP levels, and trade decisions are handled inside the EA.

Execution modes

ModeExecMode valueBehaviour
Semi-Automatic0 (default)EA generates signals and draws them on the chart. Trader clicks TAKE TRADE or SKIP on the panel. No order is placed without confirmation.
Fully Automatic1EA places orders immediately when confluence conditions are met. No manual confirmation required. Suitable for VPS / unattended operation.

Chart panel layout

The panel is drawn in the top-left corner of the chart (position configurable via PanelX / PanelY inputs). It contains five sections:

SectionContents
HeaderEA name, version, trading mode badge
Execution modeShows SEMI-AUTO or FULL AUTO; change via ExecMode input
ConfluenceLive readings for Trend (EMA 200), EMA Cross, RSI, Volume ratio, ATR — colour-coded bull/bear/neutral
SignalDirection (BUY/SELL), Entry price, Stop-loss, Take-profit, Lot size — updates on each new signal
Account stripLive account balance and equity

Chart lines

When a signal is generated, three horizontal lines are drawn on the chart:

LineColourStyle
EntryGoldSolid, 2px
Stop-lossRedDashed, 1px
Take-profitGreenDashed, 1px

Lines are removed automatically when the trader clicks SKIP, or when the trade is closed. In Full Auto mode, lines are drawn briefly and removed after order placement.

Semi-Auto workflow

1. EA evaluates confluence on each new bar close.
2. When conditions are met, the signal appears on the panel and lines are drawn on the chart.
3. Trader reviews the signal — entry, SL, TP, lot size, and all confluence readings.
4. Click TAKE TRADE to place the order at market, or SKIP to dismiss.
5. The pending signal is held until the trader decides — it is not auto-cancelled on the next bar.

⚠In Semi-Auto mode, ensure "Allow live trading" is enabled in the EA's Common tab. The TAKE TRADE button places a live market order immediately when clicked.

Trading Modes

Gold Signal Pro v2.0 introduces three distinct trading modes, each calibrated for a specific trading style and timeframe. Select the mode via the TradingMode input parameter when attaching the EA. The EA validates the chart timeframe on startup and will alert you if the wrong timeframe is used for the selected mode.

ℹEach mode automatically adjusts ATR multipliers, trailing stop distances, break-even levels, RSI period, volume threshold, and session filter — no manual parameter tuning is required when switching modes.

Mode 0 — Scalping (M1 / M5)

Designed for high-frequency, short-duration trades during peak liquidity windows. Requires all three confluence conditions (stricter than other modes). Uses a tighter ATR stop-loss multiplier (1.0×) and smaller take-profit target (1.5×) to capture quick intraday moves. Session filter is always active. Recommended risk: 0.5% per trade.

ParameterScalping valueNotes
TimeframesM1, M5EA validates on startup
ATR SL multiplier1.0×Tight stop to limit exposure
ATR TP multiplier1.5×Quick profit target
Trailing start30 ptsLock in profits early
Trailing step10 ptsFine-grained trailing
Break-even at20 ptsMove to BE quickly
RSI period7Faster RSI for short timeframes
Volume threshold1.5×Higher bar to filter noise
Session filterAlways onLondon/NY only
Min confluence3/3All conditions required
Recommended risk0.5%Lower risk due to higher frequency

Mode 1 — Day Trading (M15 / M30 / H1)

The default and most thoroughly backtested mode. Balanced parameters suitable for traders who monitor positions intraday and close before the end of the session. Requires at least 2 of 3 confluence conditions. Session filter is configurable. Recommended risk: 1.0% per trade.

ParameterDay Trading valueNotes
TimeframesM15, M30, H1EA validates on startup
ATR SL multiplier1.5×Standard stop distance
ATR TP multiplier3.0×1:2 risk/reward baseline
Trailing start100 ptsTrail after meaningful move
Trailing step20 ptsStandard trailing step
Break-even at80 ptsStandard BE level
RSI period14Standard RSI
Volume threshold1.2×Standard volume filter
Session filterConfigurableUses UseSessionFilter input
Min confluence2/3Two conditions required
Recommended risk1.0%Standard risk per trade

Mode 2 — Swing Trading (H4 / D1)

Designed for multi-day position trades. Uses wider ATR multipliers to accommodate larger price swings and avoid premature stop-outs. Session filter is disabled — swing trades are held across sessions. Volume threshold is relaxed as tick volume is naturally lower on higher timeframes. Recommended risk: 1.5% per trade.

ParameterSwing valueNotes
TimeframesH4, D1EA validates on startup
ATR SL multiplier2.0×Wide stop to avoid noise
ATR TP multiplier4.0×Large target for multi-day moves
Trailing start300 ptsOnly trail after significant move
Trailing step80 ptsWide trailing step
Break-even at200 ptsBE after meaningful profit
RSI period21Slower RSI for swing context
Volume threshold1.0×Relaxed — lower tick vol on H4/D1
Session filterOffSwing trades held across sessions
Min confluence2/3Two conditions required
Recommended risk1.5%Fewer trades, higher per-trade risk

Preset .set files

Three pre-configured .set files are included in the download package. Load the appropriate preset via the EA's Load button in the Inputs tab to apply all mode-specific parameters in one step.

FileModeChart
GoldSignalPro_Scalping.setScalpingM1 or M5
GoldSignalPro_DayTrading.setDay TradingM15, M30 or H1
GoldSignalPro_Swing.setSwing TradingH4 or D1

Indicator Logic

Each of the five confluence conditions is evaluated independently on every new M15 bar close. The EA does not repaint — all calculations are performed on confirmed closed bars.

1. EMA Cross (Trend Direction)

A 21-period EMA and 50-period EMA are applied to the M15 chart. A BUY condition is confirmed when EMA 21 is above EMA 50 and the gap between them is widening. A SELL condition is confirmed when EMA 21 is below EMA 50 and the gap is widening. A narrowing gap (potential cross) disqualifies the condition.

2. RSI Momentum (14-period)

RSI is evaluated on the M15 chart. For BUY signals, RSI must be between 40 and 65 — confirming positive momentum without being overbought. For SELL signals, RSI must be between 35 and 60. Extreme readings (above 70 or below 30) disqualify the condition to avoid chasing exhausted moves.

3. ATR Volatility Filter (14-period)

The 14-period ATR on M15 must exceed a minimum threshold (default: 1.5 points) to confirm sufficient volatility for a viable trade. In low-volatility environments (Asian session consolidation, pre-news compression), the ATR filter prevents entries with unfavourable risk/reward ratios.

4. Volume Filter

A custom volume indicator (.ex4) compares the current bar's tick volume against a 20-bar moving average. Volume must be at least 1.2× the average to confirm liquidity. This filter is the most frequently unconfirmed condition and is responsible for the majority of 4/5 confluence signals.

5. Session Filter

By default, the EA only trades during the London/New York overlap: 12:00–17:00 UTC. This window captures the highest liquidity period for XAUUSD and avoids the low-volume Asian session. The session window is fully configurable.

Entry & Exit Rules

Entry conditions

An order is placed at the open of the next M15 bar after all required confluence conditions are met on the current bar close. The EA does not use pending orders — all entries are market orders executed at the next bar open price.

ConditionBUYSELL
EMA CrossEMA 21 > EMA 50, gap wideningEMA 21 < EMA 50, gap widening
RSI40 – 6535 – 60
ATR> MinATR threshold> MinATR threshold
Volume> 1.2× 20-bar average> 1.2× 20-bar average
SessionWithin configured windowWithin configured window

Stop-loss calculation

Stop-loss is placed at ATR × SLMultiplier (default: 1.0) from the entry price, measured in the direction opposite to the trade. For a BUY at 2341.50 with ATR = 13.50 and SLMultiplier = 1.0, the stop-loss is placed at 2341.50 − 13.50 = 2328.00.

SL (BUY)  = EntryPrice - (ATR × SLMultiplier)
SL (SELL) = EntryPrice + (ATR × SLMultiplier)

TP (BUY)  = EntryPrice + (ATR × SLMultiplier × RRRatio)
TP (SELL) = EntryPrice - (ATR × SLMultiplier × RRRatio)

Take-profit calculation

Take-profit is derived from the stop-loss distance multiplied by the RRRatio parameter (default: 2.0). This produces a fixed 1:2 risk/reward on every trade. The RRRatio can be adjusted between 1.5 and 3.0 without affecting signal quality.

⚠Do not manually move the stop-loss after an order is placed. The EA monitors open positions and will not interfere with manual modifications, but doing so invalidates the backtested risk model.

Position sizing

Lot size is calculated automatically from the RiskPercent parameter. The EA computes the pip value of the stop-loss distance and sizes the position so that a full stop-loss hit equals exactly RiskPercent of the account balance.

LotSize = (AccountBalance × RiskPercent / 100) / (SL_pips × PipValue)

Settings Reference

All parameters are accessible in the EA's Inputs tab when attaching to a chart. Default values represent the optimised configuration from the 2022–2026 backtest.

Core parameters

ParameterDefaultRangeDescription
RiskPercent1.00.5 – 5.0Account risk per trade (%)
RRRatio2.01.5 – 3.0Take-profit multiplier vs stop-loss
SLMultiplier1.00.8 – 1.5ATR multiplier for stop-loss distance
MinConfluence43 – 5Minimum confluence score to enter
MaxSpread3010 – 60Maximum spread in points to allow entry
MagicNumber20240101Any intUnique identifier for EA orders

Indicator parameters

ParameterDefaultDescription
EMA_Fast21Fast EMA period
EMA_Slow50Slow EMA period
RSI_Period14RSI calculation period
RSI_BuyMin40RSI lower bound for BUY
RSI_BuyMax65RSI upper bound for BUY
RSI_SellMin35RSI lower bound for SELL
RSI_SellMax60RSI upper bound for SELL
ATR_Period14ATR calculation period
MinATR1.5Minimum ATR in points to allow entry
VolMA_Period20Volume moving average period
VolMultiplier1.2Volume confirmation multiplier

Session parameters

ParameterDefaultDescription
SessionStart12:00Session open (UTC)
SessionEnd17:00Session close (UTC)
UseNewsFilterfalsePause trading around high-impact news
NewsPauseMins30Minutes to pause before/after news event

Backtesting Results

All backtests were conducted in MetaTrader 4 Strategy Tester using 99% modelling quality tick data from Dukascopy. The test period covers January 2022 through September 2026 — a period that includes the 2022 USD strength cycle, the 2023–2024 gold bull run, and the 2025–2026 consolidation phase.

✓Past performance is not indicative of future results. These figures represent backtested outcomes under historical conditions and do not guarantee equivalent live performance.

Summary statistics (default settings, 1% risk)

MetricValue
Test periodJan 2022 – Sep 2026 (57 months)
Total signals1,840
Winning trades1,362 (74.2%)
Losing trades478 (25.8%)
Average R:R1 : 2.8
Max drawdown6.1% (equity)
Profit factor3.12
Sharpe ratio1.84
Average trade duration2h 45m
Initial deposit$10,000
Net profit$48,320 (483.2%)

Annual breakdown

YearSignalsWin RateNet ReturnMax DD
202241271.4%+68.2%8.3%
202339875.1%+94.7%5.1%
202442176.2%+112.4%4.8%
202538773.9%+87.6%6.1%
2026 (Jan–Sep)22274.3%+52.1%4.2%

Methodology notes

Spread was set to 20 points (0.20 USD) throughout the backtest — representative of typical ECN raw-spread conditions during the London/NY session. Slippage was modelled at 2 points. No commission was included in the backtest figures; deduct approximately 0.5–1.0% annually for commission costs depending on your broker.

Usage Instructions

Step 1 — Install the EA files

Copy GoldSignalPro.ex4 and the custom volume indicator VolumeFilter.ex4 into your MT4 data folder. Open MT4 → File → Open Data Folder → MQL4 → Experts (for the EA) and MQL4 → Indicators (for VolumeFilter.ex4). Restart MT4 after copying the files.

MT4 Data Folder/
  MQL4/
    Experts/
      GoldSignalPro.ex4       ← place here
    Indicators/
      VolumeFilter.ex4        ← place here

Step 2 — Configure the chart

Open a new XAUUSD chart and set the timeframe to match your chosen trading mode: M1 or M5 for Scalping, M15/M30/H1 for Day Trading, H4 or D1 for Swing Trading. Ensure the chart has at least 500 bars of history loaded (Tools → Options → Charts → Max bars in chart: 50000). Enable AutoTrading in the MT4 toolbar before attaching the EA.

Step 3 — Attach the EA and configure

Drag GoldSignalPro from the Navigator panel onto the chart. In the Inputs tab, click Load to import the matching .set file for your chosen mode. Then set: TradingMode (0 = Scalping, 1 = Day Trading, 2 = Swing), ExecMode (0 = Semi-Auto, 1 = Full Auto), and RiskPercent. Click OK. The Trading Assistant panel will appear on the chart immediately, and a smiley face icon in the top-right corner confirms the EA is active.

⚠Ensure "Allow live trading" and "Allow DLL imports" are both checked in the EA's Common tab. Without these, the EA will load but will not place orders.

Step 4 — Verify operation

Open the Experts tab in the MT4 terminal. On the next M15 bar close, you should see a log entry from GoldSignalPro confirming it evaluated the confluence conditions. If no log entries appear, check that AutoTrading is enabled and the EA is attached to the correct chart.

Step 5 — Monitor and review

The EA is fully automated — no manual intervention is required during trading hours. Review the Experts log daily to confirm normal operation. Check the Account History tab weekly to reconcile live results against the signal dashboard.

FAQ

Gold Signal Pro

Indicator, Expert Advisor, and Trade Manager for XAUUSD. MT4 and MT5.

Risk Disclaimer: Trading leveraged Gold (XAUUSD) CFDs and spot metals carries a high level of risk and may not be suitable for all investors. Past or simulated chart performance — including any weekly pip totals displayed on this site — does not guarantee future live results. Gold Signal Pro is an algorithmic tool and does not constitute financial advice. You should carefully consider your investment objectives, level of experience, and risk appetite before trading. Always test on a demo account before trading live capital. You may sustain a loss of some or all of your invested capital.

© 2026 Gold Signal Pro. All rights reserved.