Vantage Gold Trend
- Experts
- Natthan Puengklan
- Versione: 1.0
- Attivazioni: 5
VANTAGE GOLD TREND V1 — Trend-Following Expert Advisor for XAUUSD
VANTAGE GOLD TREND V1 is a fully automated trend-following Expert Advisor designed specifically for Gold (XAUUSD) on the M15 timeframe. It combines dual SMA crossover analysis with MACD histogram confirmation and candlestick body validation to enter trades only when there is strong, confirmed trend momentum.
Strategy Overview
The EA identifies trend direction using a fast and slow Simple Moving Average. It waits for the gap between the two SMAs to reach a minimum threshold, confirming a well-established trend. Entries are further filtered by:
- MACD Histogram Confirmation — Ensures momentum aligns with the trend direction before entry.
- Candlestick Body Analysis — Validates that price action shows meaningful movement relative to the previous candle, filtering out weak or indecisive bars.
- Trend Momentum Check — Verifies that the current fast MA is at its most extreme point since the last SMA crossover, confirming the trend is accelerating rather than fading.
The EA places fixed Stop Loss orders on every trade and calculates Take Profit based on a configurable Reward:Risk ratio. No martingale. No grid. No hedging. Every position has a defined SL and TP from the moment it opens.
Backtest Highlights (XAUUSD, M15, Jan 2025 – Apr 2026, 99% History Quality)
| Metric | Value |
|---|---|
| Total Net Profit | $21,398 |
| Profit Factor | 2.55 |
| Recovery Factor | 6.70 |
| Sharpe Ratio | 5.44 |
| Max Equity Drawdown | 9.24% |
| Total Trades | 116 |
| Win Rate | 40.52% |
| Avg Profit / Avg Loss Ratio | ~3.7 : 1 |
The win rate is around 40%, which is typical for a trend-following strategy. Profitability comes from the high reward-to-risk ratio — winning trades are significantly larger than losing trades.
Input Parameters
| Parameter | Default | Description |
|---|---|---|
| Trade Direction | Both | Choose Buy Only, Sell Only, or Both |
| Timeframe | M15 | Analysis and trading timeframe |
| SL Distance (points) | 2000 | Stop Loss distance in points |
| RR Buy | 4.0 | Reward:Risk ratio for Buy trades |
| RR Sell | 3.0 | Reward:Risk ratio for Sell trades |
| Lot Size | 0.1 | Fixed lot size per trade |
| Magic Number | 171717 | Unique identifier for EA's trades |
| Max Positions | 3 | Max simultaneous positions (0 = unlimited) |
| Show Dashboard | false | Toggle on-chart dashboard display |
How to Use
-
Attach to Chart — Apply the EA to any XAUUSD chart in MetaTrader 5. The EA will use the timeframe specified in the input parameters (default: M15), regardless of the chart's visible timeframe.
-
Configure Parameters — Adjust SL distance and R:R ratios to match your risk appetite. The default settings are the ones used in backtesting.
-
Set Trade Direction — Use "Buy Only" during confirmed uptrends, "Sell Only" during confirmed downtrends, or "Both" to let the EA trade in both directions automatically.
-
Position Sizing — Set your lot size according to your account balance. Recommended: risk no more than 1–2% of your account per trade. For example, with a $10,000 account and 2000-point SL on Gold, 0.1 lot results in approximately $200 risk per trade (2%).
-
Max Positions — Limit the number of concurrent open positions. Default is 3. Set to 0 for unlimited.
-
Dashboard — Click the toggle button on the top-left of the chart to show/hide the real-time status dashboard.
-
VPS Recommended — For uninterrupted 24/5 operation, running the EA on a VPS is recommended.
Important Notes
- This EA is optimized for XAUUSD on the M15 timeframe. Performance on other symbols or timeframes may differ.
- Past backtest performance does not guarantee future results. Always test on a demo account first.
- Ensure your broker offers competitive spreads on Gold. High spreads may affect performance.
- The EA processes signals once per bar close, not on every tick, which ensures consistent behavior across brokers.
