# XAUUSD Scalping EA

A fully functional and advanced Expert Advisor for scalping XAUUSD on MetaTrader 5.

Canonical: https://prismaticalgos.com/compendium/algo/445-xauusd-scalping-ea
Record ID: 445
Catalog rank: 184 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://github.com/oriokie/xauusd-scalping-ea
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: M15
- sessions: London Session (08:00-17:00 GMT), New York Session (13:00-22:00 GMT)
- market_regime: trending|ranging|volatile

## Indicators

- MACD: {"fast": 12, "period": 12, "signal": 9, "slow": 26}; applied to: close
- Bollinger Bands: {"deviation": 2.0, "period": 20}; applied to: close
- ATR: {"period": 14}; applied to: close

## Recorded long-entry rules

- MACD line crosses above signal line
- Price is near or below lower Bollinger Band
- ATR confirms sufficient market movement

## Recorded short-entry rules

- MACD line crosses below signal line
- Price is near or above upper Bollinger Band
- ATR confirms sufficient market movement

## Recorded exit rules

- Fixed Take Profit based on ATR multiplier
- Fixed Stop Loss based on ATR multiplier
- Trailing Stop locks in profits as trade moves favorably
- Mean Reversion exits when price returns to Bollinger Bands middle line
- Minimum Profit Rule only considers exits when minimum profit is achieved

## Recorded filters

- News Filter
- Max Spread 50 pips

## Risk controls

- Stop loss: Stop Loss as multiple of ATR
- Take profit: Take Profit as multiple of ATR
- Position sizing: Percentage-Based Position Sizing
