Gold Trend Filter
- Experts
- Versione: 1.0
- Attivazioni: 20
Gold Trend Filter is an Expert Advisor for MetaTrader 5. It uses Donchian channel breakout logic and filters entries with a Kaufman Efficiency Ratio trend-regime condition. The EA stands aside when the configured trend filter does not confirm a directional market.
The default configuration was prepared for XAUUSD H4 research and forward-demo testing. The EA is not hard-locked to one symbol or one timeframe. Users should test the EA in the Strategy Tester and adjust settings for their broker, spread and account risk before enabling live trading.
Main features:
- Donchian channel breakout entry
- Trend-regime filter using Kaufman Efficiency Ratio
- ATR-based hard stop-loss
- Fixed reward-to-risk take profit
- Single position at a time
- Fixed-lot or risk-percent position sizing
- Daily loss lock
- Spread filter
- No martingale, no grid, no averaging
Recommended starting use:
- Symbol: XAUUSD or your broker's gold symbol
- Chart timeframe: H4
- Risk per trade: 0.5% or lower for testing
- Maximum positions: 1
- Use a demo account before live trading
Important risk notice:
This product does not guarantee profit. Backtests and forward tests do not guarantee future results. Trend-following systems can underperform during sideways or low-efficiency market regimes. Spread, execution speed, broker contract settings and market volatility can materially change results. Users should test the EA in the Strategy Tester and adjust settings for their broker and account risk before enabling live trading.
Important inputs:
- InpDonLen: Donchian channel length
- InpATRLength: ATR period
- InpSLmultATR: stop-loss ATR multiplier
- InpTP_RR: reward-to-risk target
- InpUseER: enable Efficiency Ratio filter
- InpER_N: Efficiency Ratio lookback
- InpER_Thr: Efficiency Ratio threshold
- InpRiskPercent: risk percentage when risk-based sizing is enabled
- InpMaxSpreadPoints: spread filter
