SMA9 Adaptive XAU
- Experts
- Version: 1.0
SMA9 Adaptive XAU is an Expert Advisor designed for XAUUSD trading on the M15 timeframe.
The EA uses a short-term SMA9 direction signal together with optional SMA50 and SMA200 trend alignment. An ATR filter can be used to avoid periods with lower market volatility.
The stop-loss distance is calculated from the previous completed candle range. The adaptive mode selects between two risk/reward structures:
- Wider previous candle range: 1:2 reward-to-risk
- Smaller previous candle range: 1:1 reward-to-risk
The EA can also use:
- SMA50/SMA200 trend filter
- ATR volatility filter
- Monday and Friday filters
- One trade per day
- Configurable trading session
- Maximum holding time
- Fixed lot sizing
- Risk-percent position sizing
- Configurable spread/execution deviation
- Optional closing on an opposite SMA9 signal
The EA operates on completed candles and opens a new position when the trading conditions are satisfied.
Default settings are designed for XAUUSD M15, but the parameters can be adjusted by the user for other instruments and timeframes.
The backtest results shown were generated using Exness historical market data and trading conditions. Actual results may vary depending on the broker, symbol specifications, spreads, execution conditions and market data.
Risk management and position size should be selected according to the trading account and broker conditions. Trading results can vary depending on symbol specifications, spreads, execution conditions and market data.
Backtest results are historical research results and do not guarantee future performance.
