# XAUUSD Guardian

Scalping EA for XAU/USD with M5 or M15 entry, risk management, and stop/profit placement.

Canonical: https://prismaticalgos.com/compendium/algo/11799-xauusd-guardian
Record ID: 11799
Catalog rank: 279 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Time, Session & Seasonality (F)
Source: https://github.com/twentyproject777-alt/XAUUSD-EA-NEW
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

No automated warnings recorded; this is not validation.

## Recorded profile

- symbols: XAUUSD
- timeframes: M5, M15
- sessions: 07:00-20:00 server time, Friday ends at 18:00
- market_regime: trending|volatile

## Indicators

- EMA: {"period": 50}; applied to: close
- EMA: {"period": 200}; applied to: close
- ADX: {"period": 14}; applied to: Not specified
- RSI: {"period": 14}; applied to: Not specified
- ATR: {"period": 14}; applied to: Not specified

## Recorded long-entry rules

- EMA20 crosses above EMA50 on entry timeframe
- Previous candle touches EMA20
- Confirmation candle closes in the direction of the trend and crosses the high/low of the previous candle
- RSI14 between 50 and 68

## Recorded short-entry rules

- EMA20 crosses below EMA50 on entry timeframe
- Previous candle touches EMA20
- Confirmation candle closes in the opposite direction of the trend and crosses the high/low of the previous candle
- RSI14 between 32 and 50

## Recorded exit rules

- Stop loss at least 1.5 ATR
- Take profit at 1.5 times the stop loss
- No trailing stop, grid, averaging, or additional positions

## Recorded filters

- no news filter
- max spread 0.50 XAUUSD
- max lot size based on risk budget

## Risk controls

- Stop loss: 1.5 ATR, adjusted for minimum stop/freeze, spread, and tick size
- Take profit: 1.5 times the stop loss
- Position sizing: 0.5% equity, up to 2% maximum, calculated using OrderCalcProfit() in account currency
