# XAUUSD Hedge Grid EA

Automated grid-based trading with Bollinger Bands and RSI confirmation and multiple risk management controls.

Canonical: https://prismaticalgos.com/compendium/algo/7347-xauusd-hedge-grid-ea
Record ID: 7347
Catalog rank: 60 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Grid, Martingale & Averaging (C)
Source: https://www.mql5.com/en/market/product/195464
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

Claim warnings: RECOVERY SIZING: position size increases after losses (martingale/grid/averaging). Equity curves look smooth until the run that does not recover - judge it on worst-case exposure, not win rate.

## Recorded profile

- symbols: XAUUSD
- timeframes: M5
- sessions: Not specified
- market_regime: any

## Indicators

- Bollinger Bands: {"applied_to": "close", "deviation": 2.0, "period": 20}; applied to: close
- RSI: {"period": 14}; applied to: close

## Recorded long-entry rules

- BUY confirmation when RSI reaches the configured BUY threshold
- Bollinger Bands breakout or cross

## Recorded short-entry rules

- SELL confirmation when RSI reaches the configured SELL threshold
- Bollinger Bands breakout or cross

## Recorded exit rules

- RSI-based exits with configurable levels
- Profit-only exits
- Partial or full position closing

## Recorded filters

- minimum balance/equity check
- margin availability check
- symbol volume-limit checking
- pending-order safety cap
- lot normalization
- stop-loss and take-profit distance validation
- freeze-level protection
- broker trading-condition checks

## Risk controls

- Stop loss: configured as a monetary value or ATR-based
- Take profit: configured as a monetary value or ATR-based
- Position sizing: fixed or balance-scaled lot modes
