{
  "id": 646,
  "rank": 1192,
  "name": "Contrarian trade MA",
  "aka": [
    "Contrarian trade MA expert",
    "barabashkakvn Contrarian trade MA"
  ],
  "family": "A",
  "subtype": "A2",
  "one_liner": "Enters long if the close price is above the highest high or if the MA is above the open price, and enters short if the close price is below the lowest low or if the MA is below the open price.",
  "market_regime": "any",
  "timeframes": [
    "W1"
  ],
  "symbols": [
    "null"
  ],
  "sessions": [
    "null"
  ],
  "indicators": [
    {
      "name": "iMA",
      "params": {
        "period": null,
        "shift": 1
      },
      "applied_to": "close"
    }
  ],
  "entry_long": [
    "(max < rates[1].close) || (ma[1] > rates[0].open)"
  ],
  "entry_short": [
    "(min > rates[1].close) || (ma[1] < rates[0].open)"
  ],
  "exit_rules": [
    "null"
  ],
  "filters": [
    "null"
  ],
  "stop_loss": "null",
  "take_profit": "null",
  "position_size": "Lots",
  "evidence_type": "source_code",
  "completeness": 50.0,
  "signal_warnings": null,
  "claim_warnings": null,
  "opacity_warnings": null,
  "build_warnings": [
    "DAILY_LOW_COUNT: daily-or-slower timeframe on a single instrument. Expect well under 100 trades in five years, so a backtest will rarely reach statistical significance on its own."
  ],
  "canonical": "https://prismaticalgos.com/compendium/algo/646-contrarian-trade-ma",
  "snapshot": "2026-10-31 15:46 UTC",
  "source_url": "https://www.mql5.com/en/code/22914",
  "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."
}
