# XAUUSD Donchian Trend EA

Generates signals on H4 for XAUUSD using Donchian Channel breakout with trailing stop and fixed SL.

Canonical: https://prismaticalgos.com/compendium/algo/11449-xauusd-donchian-trend-ea
Record ID: 11449
Catalog rank: 43 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://github.com/metasitwute021/wute
Evidence label (unverified): source_code

## 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

Claim warnings: UNSIZED CLAIM: performance figures are published with no trade count, so the sample behind them cannot be judged.; UNDATED CLAIM: performance figures are published with no test period, so they cannot be checked or reproduced.

## Recorded profile

- symbols: XAUUSD
- timeframes: H4, M30
- sessions: any
- market_regime: trending|volatile

## Indicators

- Donchian Channel: {"period": 20}; applied to: close
- SMA: {"period": 50}; applied to: close
- ADX: {"period": 14}; applied to: close

## Recorded long-entry rules

- Close above upper Donchian Channel band

## Recorded short-entry rules

- Close below lower Donchian Channel band

## Recorded exit rules

- No fixed TP, only SL via trailing

## Recorded filters

- Price on trend side of SMA(50); ADX(14) > 20
- News filter ±90 min of high-impact events
- Max Drawdown 20% → pauses EA in real time
- Daily Drawdown 1.5% → stops opening trades for the rest of the day

## Risk controls

- Stop loss: Risk 1% of balance vs. SL distance
- Take profit: Not explicitly stated
- Position sizing: Risk 1% of balance vs. SL distance, scaled 0.5x–2.0x based on last 10 trades
