# XAUUSD Trend-Following Bot

EMA crossover confirmed by ADX trend filter, with ATR-based stop-loss/take-profit and fixed-fractional position sizing.

Canonical: https://prismaticalgos.com/compendium/algo/11274-xauusd-trend-following-bot
Record ID: 11274
Catalog rank: 2449 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://github.com/Rithick574/XAUUSD-bot-forex
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

- EMA: {"period": 9}; applied to: close
- EMA: {"period": 21}; applied to: close
- ADX: {"period": 14}; applied to: close
- ATR: {"period": 14}; applied to: close

## Recorded long-entry rules

- EMA_fast > EMA_slow AND ADX > ADX_MIN

## Recorded short-entry rules

- EMA_fast < EMA_slow AND ADX > ADX_MIN

## Recorded exit rules

- opposite EMA crossover

## Recorded filters

- ML filter

## Risk controls

- Stop loss: ATR * ATR_SL_MULT
- Take profit: ATR * ATR_TP_MULT
- Position sizing: fixed fractional risk
