{
  "id": 4471,
  "rank": 62,
  "name": "Gold Breakout EA for XAUUSD H4",
  "aka": [
    "Breakout Exit Lab indicator",
    "Turtle-style Donchian breakouts on gold"
  ],
  "family": "A",
  "subtype": "A2",
  "one_liner": "Buys when an H4 bar closes above the 20-bar high in an uptrend, with a 2 ATR stop and a 2R target.",
  "market_regime": "trending",
  "timeframes": [
    "H4"
  ],
  "symbols": [
    "XAUUSD"
  ],
  "sessions": [
    "null"
  ],
  "indicators": [
    {
      "name": "200 EMA",
      "params": {
        "period": 200
      },
      "applied_to": "close"
    }
  ],
  "entry_long": [
    "Close of the H4 bar above the highest high of the previous 20 bars, and the bar before it did not close above it"
  ],
  "entry_short": [
    "null"
  ],
  "exit_rules": [
    "2 x ATR(20) below the fill price as stop, 2R above the fill price as target"
  ],
  "filters": [
    "200 EMA filter",
    "spread more than 10% of the stop cancels the position",
    "last 15 minutes before the trading session closes cancels the position"
  ],
  "stop_loss": "2 x ATR(20) below the fill price",
  "take_profit": "2R above the fill price",
  "position_size": "OrderCalcProfit() from the stop distance",
  "evidence_type": "backtest_shown",
  "completeness": 85.0,
  "signal_warnings": null,
  "claim_warnings": null,
  "opacity_warnings": null,
  "build_warnings": null,
  "canonical": "https://prismaticalgos.com/compendium/algo/4471-gold-breakout-ea-for-xauusd-h4",
  "snapshot": "2026-10-31 15:46 UTC",
  "source_url": "https://www.mql5.com/en/code/77691",
  "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."
}
