Trend Filter ATR EA

Trend Filter ATR EA (XAUUSD H1)

Trend Filter ATR is an advanced automated Expert Advisor designed specifically for XAUUSD (Gold) trading on the H1 timeframe. Built with multi-layered trend confirmation and dynamic volatility filters, this EA aims to capture high-probability market trends while keeping absolute drawdown under strict control.

Ideal for both retail traders and those preparing for prop firm challenges (such as FundedNext or Maven Trading) with strict daily loss limits.

Key Features & Trading Logic

  • Multi-Indicator Trend Filter: Utilizes a robust combination of EMA (Exponential Moving Average 20/50) and Heikin Ashi price smoothing to filter out market noise and trade strictly in the direction of the primary trend.

  • Dynamic ATR Stop Loss & Take Profit: Adapts automatically to current market volatility using Average True Range (ATR) multipliers ( InpATR_SL_Mult = 2.0 , InpATR_TP_Mult = 5.5 ), ensuring optimal risk-to-reward ratios.

  • Built-in Risk & Daily Loss Protection: Features adjustable risk percentage mode ( InpRiskPercent = 1.0% ) and strict daily loss limits ( InpMaxDailyLosses = 2 ) to protect your account equity.

  • Advanced Trailing & Break-Even System: Intelligent trailing stop mechanism ( InpUseTrailing = true ) to lock in profits securely during strong market expansions.

  • Market Volatility Filters: Built-in ATR multipliers and EMA slope checks to prevent trading during low-liquidity or sideways choppy conditions.

Recommended Settings & Specifications

  • Platform: MetaTrader 5 (MT5)

  • Asset / Symbol: XAUUSD (Gold)

  • Timeframe: H1 (1 Hour)

  • Minimum Deposit: $1,000 (Recommended)

  • Execution: Hedging / Netting compatible

Input Parameters Description

Parameter Group Parameter Name Default Value Description
Risk Management InpLotMode 1 Lot sizing mode (0 = Fixed, 1 = Risk %)
InpRiskPercent 1.0 Risk percentage per trade based on equity
InpFixedLotSize 0.02 Fixed lot size if lot mode is disabled
InpMaxDailyLosses 2 Maximum allowed consecutive daily losses
ATR SL / TP InpATR_Period 14 Period for ATR volatility calculation
InpATR_SL_Mult 2.0 ATR multiplier for Stop Loss distance
InpATR_TP_Mult 5.5 ATR multiplier for Take Profit distance
Trailing & BE InpUseTrailing true Enable/Disable automated trailing stop
Trend Filters InpEMA_Short 20 Fast EMA period for trend detection
InpEMA_Long 50 Slow EMA period for trend detection
InpMinEMASlopePips 2.0 Minimum slope strength required for entry
Identification InpMagicNumber 208516 Unique magic number for order tracking

Disclaimer

Past performance does not guarantee future results. Trading spot metals involves substantial risk of loss. Always test the EA on a demo account or strategy tester under realistic conditions before deploying it on live funded accounts.


Filtrer:
Aucun avis
Répondre à l'avis