{
  "id": 11787,
  "rank": 2164,
  "name": "EA.mq4",
  "aka": [],
  "family": "A",
  "subtype": "A1",
  "one_liner": "Enters trades when price exceeds previous bar, 21-period moving average, and 21-period moving average crossover.",
  "market_regime": "any",
  "timeframes": [
    "H1"
  ],
  "symbols": [
    "null"
  ],
  "sessions": [
    "null"
  ],
  "indicators": [
    {
      "name": "SMA",
      "params": {
        "period": 21
      },
      "applied_to": "close"
    }
  ],
  "entry_long": [
    "price > previous bar's close",
    "price > 21-period SMA",
    "21-period SMA > previous 21-period SMA"
  ],
  "entry_short": [
    "null"
  ],
  "exit_rules": [
    "null"
  ],
  "filters": [
    "random time execution (minutes 0-9)"
  ],
  "stop_loss": "null",
  "take_profit": "null",
  "position_size": "null",
  "evidence_type": "source_code",
  "completeness": 50.0,
  "signal_warnings": null,
  "claim_warnings": null,
  "opacity_warnings": null,
  "build_warnings": [
    "MT4_ONLY: the captured source is MQL4 / written for MetaTrader 4. It needs porting (order functions, indicator handles) before it runs on MT5."
  ],
  "canonical": "https://prismaticalgos.com/compendium/algo/11787-ea-mq4",
  "snapshot": "2026-10-31 15:46 UTC",
  "source_url": "https://github.com/equitymarkets/MQL4_automated_trading",
  "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."
}
