{
  "id": 703,
  "rank": 983,
  "name": "Sideways Martingale",
  "aka": [
    "SidewaysMartingale"
  ],
  "family": "C",
  "subtype": "C2",
  "one_liner": "Expert Advisor for trading sideways markets using a martingale recovery strategy and AI-based trend detection.",
  "market_regime": "ranging",
  "timeframes": [
    "M5"
  ],
  "symbols": [
    "EURUSD",
    "GBPUSD"
  ],
  "sessions": [
    "null"
  ],
  "indicators": [
    {
      "name": "EMA",
      "params": {
        "period": 200
      },
      "applied_to": "close"
    },
    {
      "name": "ATR",
      "params": {
        "period": null
      },
      "applied_to": "close"
    },
    {
      "name": "Envelopes",
      "params": {
        "period": null
      },
      "applied_to": "close"
    }
  ],
  "entry_long": [
    "Price touches or breaks the lower envelope",
    "AI confirms a sideways market"
  ],
  "entry_short": [
    "Price touches or breaks the upper envelope",
    "AI confirms a sideways market"
  ],
  "exit_rules": [
    "Total floating profit across all positions >= TakeProfitTargetUSD",
    "Equity drawdown exceeds a defined percentage"
  ],
  "filters": [
    "AI Safety Filter for Martingale"
  ],
  "stop_loss": "Margin-based emergency stop",
  "take_profit": "Basket TP (fast exit after mean reversion)",
  "position_size": "Lot size increases using a multiplier (LotMultiplier)",
  "evidence_type": "backtest_shown",
  "completeness": 50.0,
  "signal_warnings": null,
  "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."
  ],
  "opacity_warnings": [
    "PARTLY OPAQUE ENTRY: 2.0 of 4 entry conditions reference a value the source never published. The rest is specified."
  ],
  "build_warnings": null,
  "canonical": "https://prismaticalgos.com/compendium/algo/703-sideways-martingale",
  "snapshot": "2026-10-31 15:46 UTC",
  "source_url": "https://www.mql5.com/en/code/68537",
  "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."
}
