# Gold_Donchian40_SMA200

Close above/below the 40-bar high/low, SL 2 ATR, Chandelier 3 ATR

Canonical: https://prismaticalgos.com/compendium/algo/11067-gold-donchian40-sma200
Record ID: 11067
Catalog rank: 1880 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://github.com/kle1ngeistlich-sys/TV-strategys-to-mql5-EA
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: H4
- sessions: Not specified
- market_regime: trending

## Indicators

- SMA: {"period": 200}; applied to: close
- Donchian: {"period": 40}; applied to: close

## Recorded long-entry rules

- Close above the 40-bar high

## Recorded short-entry rules

- Close below the 40-bar low

## Recorded exit rules

- Chandelier 3 ATR

## Recorded filters

- Trend filter: long only when the close is above yesterday's daily SMA200, short only below it. An unfiltered opposite signal still closes the position.

## Risk controls

- Stop loss: 2 ATR
- Take profit: null
- Position sizing: InpRiskPercent (default 1 %)
