# Gold Quant Engine Hardened

Trend-following Expert Advisor for Gold (XAUUSD) that trades one position at a time with a stop loss and trails the stop.

Canonical: https://prismaticalgos.com/compendium/algo/10136-gold-quant-engine-hardened
Record ID: 10136
Catalog rank: 1689 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://www.mql5.com/en/market/product/199946
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

Claim warnings: THIN SAMPLE: 75 trades - below the ~100 needed before a win rate or profit factor carries much information.

## Recorded profile

- symbols: XAUUSD
- timeframes: H4
- sessions: Optional session filter from 07:00 to 18:00 broker time
- market_regime: trending

## Indicators

- Donchian: {"period": 20}; applied to: high/low
- ATR: {"period": 14}; applied to: close

## Recorded long-entry rules

- Price breaks the highest high of the previous 20-bar Donchian period by more than the breakout padding

## Recorded short-entry rules

- Price breaks the lowest low of the previous 20-bar Donchian period by more than the breakout padding

## Recorded exit rules

- Trailing stop behind price at an ATR-based Chandelier distance, only moves in the trade's favor

## Recorded filters

- Session filter
- Spread filter

## Risk controls

- Stop loss: ATR x multiplier from the entry price
- Take profit: No fixed take profit, trailing stop only
- Position sizing: Fixed lot size (default 0.05 lots)
