# XAU_Gold_ATR_Regime_EA

A trend-following Expert Advisor for XAUUSD using ATR-based regime and entry/exit rules.

Canonical: https://prismaticalgos.com/compendium/algo/11668-xau-gold-atr-regime-ea
Record ID: 11668
Catalog rank: 2017 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://github.com/benjamindimalanta/MGNFY-GOLD
Evidence label (unverified): backtest_shown

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

No automated warnings recorded; this is not validation.

## Recorded profile

- symbols: XAUUSD
- timeframes: M15
- sessions: Not specified
- market_regime: trending

## Indicators

- ATR: {"period": 14}; applied to: close
- SuperTrend: {"lookback": 14, "multiplier": 2.5}; applied to: close
- MACD: Not specified; applied to: close
- EMA: {"period": 200}; applied to: close

## Recorded long-entry rules

- price closes below midline and ATR band
- price closes above midline and ATR band

## Recorded short-entry rules

- price closes above midline and ATR band
- price closes below midline and ATR band

## Recorded exit rules

- 1R/2R/3R partial take-profit system
- ATR trailing stop

## Recorded filters

- MACD filter
- H4 EMA200 trend filter
- session-hour filter
- spread cap
- margin buffer check

## Risk controls

- Stop loss: SL = entry - 1.5 * ATR (default) or a percent-of-price stop
- Take profit: TP1 = 1R, TP2 = 2R, TP3 = 3R
- Position sizing: 0.5% equity (default) or fixed lot size
