# XAU_DCA_EA

DCA strategy with dynamic bands and margin protection for XAUUSD on MT5

Canonical: https://prismaticalgos.com/compendium/algo/11599-xau-dca-ea
Record ID: 11599
Catalog rank: 1385 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Grid, Martingale & Averaging (C)
Source: https://github.com/tiennguyen3000/dca-cau-vang
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: VERY THIN SAMPLE: 24 trades. Performance figures over so few trades are indistinguishable from luck.; 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: H4
- sessions: any
- market_regime: volatile

## Indicators

No indicator stack recorded.

## Recorded long-entry rules

- price < Cycle Low

## Recorded short-entry rules

- Not specified.

## Recorded exit rules

- price > Cycle High
- average entry
- basket TP

## Recorded filters

- news filter
- max spread 2.0 pips

## Risk controls

- Stop loss: not explicitly stated
- Take profit: average entry + max(ATR × Basket_TP_ATR, max(InpMinTPDistance, spread × InpMinTP_SpreadMult)) or Profit + Swap + Commission ≥ Basket_TP_Percent% × DCA capital
- Position sizing: sizing rule based on DCA capital and lot size
