# Gold Strata M5

Identifies breakouts and retests in XAUUSD, with independent long and short strategies.

Canonical: https://prismaticalgos.com/compendium/algo/390-gold-strata-m5
Record ID: 390
Catalog rank: 1452 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Risk, Money Management & Portfolio Overlays (J)
Source: https://www.mql5.com/en/market/product/192671
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, GOLD
- timeframes: M5
- sessions: No time-of-day restriction during permitted trading days
- market_regime: trending

## Indicators

No indicator stack recorded.

## Recorded long-entry rules

- A completed M5 candle closes above the highest price of the previous 6 candles
- The breakout candle must meet the required minimum body-strength condition
- The breakout level is recorded, and the EA waits for a retest for up to 24 M5 candles
- Price must return near the breakout level while a completed candle continues to hold above that level
- D1, H1 and W1 trend conditions are aligned upward
- Long signals are permitted on Tuesday, Thursday and Friday

## Recorded short-entry rules

- The completed D1 close must be below EMA20, and the EMA20 slope must be negative
- Market conditions where D1 is stretched more than 2 ATR below EMA20 are excluded
- The completed H1 close must be below EMA50, EMA20 must be below EMA50, and the EMA20 slope must be negative
- On M5, price must first rebound by at least 0.5 ATR. A weak bearish candle must then close below the previous M5 candle’s low
- Short signals are permitted from Monday through Thursday

## Recorded exit rules

- Long positions become eligible for time-based closure after 720 M5 candles
- Short positions become eligible for time-based closure after 288 M5 candles

## Recorded filters

- EnableLong
- EnableShort
- RiskPerTradePct
- PortfolioRiskPct
- AllowMinLotIfSafe
- FixedLot
- FreeMarginReservePct
- MaxSpreadPrice
- MaxDeviationPrice
- MagicNumber
- ShowDashboard

## Risk controls

- Stop loss: 9 times the M5 average True Range
- Take profit: 5 times the initial Stop Loss distance for Long, 3 times the initial Stop Loss distance for Short
- Position sizing: Target initial Stop Loss risk per trade: 0.20%, Maximum combined initial Stop Loss risk of open positions: 10.0%
