Introduction
Cuantastic Gold EA is an automated Expert Advisor developed specifically for gold trading (XAUUSD), compatible with MetaTrader 4 (v1.90) and MetaTrader 5 (v1.80). It features a trend-following strategy using technical filters and stringent trade management settings.
Strategy Architecture
The EA uses a triple-filter entry system, combining three indicators to confirm trade signals:
- Relative Strength Index (RSI): 20‑period RSI with typical overbought level around 75 and oversold around 43.
- Moving Averages (MA): A fast MA (125-period) and slow MA (187-period) to confirm trend direction via crossover alignment.
- Average Directional Index (ADX): 14-period ADX filter with a minimum threshold (commonly 20) to ensure sufficient trend momentum before execution.
All three conditions must be met before initiating a trade, filtering out choppy or sideways markets.
Risk Control System
Cuantastic Gold EA integrates several risk-limiting mechanisms:
- Fixed lot size (default: 0.01 lots); automatic lot sizing is available but disabled by default.
- Configurable stop loss and take profit, tailored for gold price volatility (e.g. stop ~8700 points, profit ~17400 points on 5-digit pricing).
- Single-trade logic, allowing only one open position at a time.
- Cooldown timer (typically 20 minutes) after a losing trade before new orders can be placed.
- Max consecutive loss limit, often set at 10 trades, which halts the EA from further trading until reset.
These controls avoid high-risk techniques such as martingale, grid, or hedging strategies.
Platform Versions and Compatibility
- MT4 version 1.90: compatible with builds from 1440 onward.
- MT5 version 1.80: requires MT5 Build 4873 or later.
Both versions are engineered solely for the XAUUSD instrument and depend on brokers offering low spreads and stable execution.
Preferred Timeframes and Trading Style
- Optimally used on H1 and H4 charts, with H4 suited for swing-style entries.
- Designed to perform only in strong trending environments, remaining idle during low-volatility or sideways phases.
Historical Performance Summary
Backtesting across an approximately 11‑month period on XAUUSD has demonstrated the following during tested periods:
- Win rate consistently around 87.5%.
- Drawdowns ranging between 40 % and 43 % depending on initial account balance.
- Profitability examples include:
- With a $1,000 starting deposit → net profit ≈ $25,438, max drawdown ≈ 40.5%
- With a $2,000 starting deposit → net profit ≈ $50,513, max drawdown ≈ 41.2%
- With a $5,000 starting deposit → net profit ≈ $130,539, max drawdown ≈ 41.7%
Performance figures are based on historical simulations and not a guarantee of future results.
Configuration Inputs
Typical default settings include:
| Parameter | Default Value | Purpose |
|---|---|---|
| Fixed lot size | 0.01 lots | Conservative trade sizing |
| Risk level (auto-lot) | 5 (scale 1–6) | Adjusts position size when enabled |
| Stop loss | ~8700 points | Limits downside per trade |
| Take profit | ~17400 points | Targets trend-based profit |
| RSI overbought / oversold | 75 / 43 | Momentum filter thresholds |
| MA periods (fast / slow) | 125 / 187 | Direction confirmation via crossover |
| ADX threshold | 20 | Ensures minimum trend strength |
| Maximum open trades | 1 | Limits exposure |
| Cooldown time after loss | ~20 minutes | Prevents immediate re-entry |
| Max consecutive losing trades | 10 | Pauses trading after losing drawdown |
Additional inputs include magic number and trade comment tags, useful for partitioning trades when using multiple EAs in a portfolio.
Installation Guide
- Copy the compiled EA file (.ex4 for MT4 or .ex5 for MT5) into the platform’s Experts folder.
- Load MT4 or MT5, open an XAUUSD chart on H1 or H4 timeframe.
- Attach the EA, enable automated trading, and configure inputs based on account size and risk preferences.
- Begin with testing on a demo or micro account before deploying on a standard live account.
Limitations and Risk Considerations
- Strategy relies on trending markets; performance may degrade in sideways price action.
- Historical backtest metrics may overestimate due to modeling limitations or data assumptions.
- Drawdowns exceeding 40% suggest substantial capital risk; appropriate allocation and risk tolerance are essential.
- Only optimized for XAUUSD; performance is not assessed on other instruments.
- Auto-lot sizing must be enabled manually if needed; default operates with fixed lot size.
All performance references are based on historical data and not a guarantee of future performance.
Summary
Cuantastic Gold EA is a trend-oriented Expert Advisor tailored for XAUUSD trading on MetaTrader platforms. Utilizing a triple-indicator confirmation approach alongside robust risk controls, it avoids martingale and grid strategies. Backtested results exhibit high win rates and significant growth potential, offset by notable drawdowns. Independent validation and cautious deployment are strongly advised before live use.



