{
  "id": 1174,
  "rank": 10,
  "name": "Market Structure Algo",
  "aka": [
    "PRC_Market Structure Algo by OmegaTools"
  ],
  "family": "E",
  "subtype": "E3",
  "one_liner": "Detects market structure changes and provides entry and exit signals based on swing pivots and trend states.",
  "market_regime": "trending|volatile",
  "timeframes": [
    "any"
  ],
  "symbols": [
    "any"
  ],
  "sessions": [
    "any"
  ],
  "indicators": [
    {
      "name": "Pivot High Detection",
      "params": {
        "prdleftInt": 5
      },
      "applied_to": "high"
    },
    {
      "name": "Pivot Low Detection",
      "params": {
        "prdleftInt": 5
      },
      "applied_to": "low"
    },
    {
      "name": "External Pivot High Detection",
      "params": {
        "prdleftExt": 30
      },
      "applied_to": "high"
    },
    {
      "name": "External Pivot Low Detection",
      "params": {
        "prdleftExt": 30
      },
      "applied_to": "low"
    },
    {
      "name": "ATR-based Value Zone",
      "params": {
        "dist": 2.0
      },
      "applied_to": "close"
    }
  ],
  "entry_long": [
    "close > ph AND ms[1] < 0",
    "close > ph AND ms[1] > 0 AND NOT longsig1[1] AND NOT longsig[1]"
  ],
  "entry_short": [
    "close < pl AND ms[1] > 0",
    "close < pl AND ms[1] < 0 AND NOT shortsig1[1] AND NOT shortsig[1]"
  ],
  "exit_rules": [
    "high > ph AND close < ph",
    "low < pl AND close > pl"
  ],
  "filters": [
    "none"
  ],
  "stop_loss": "last pivot level (ph for shorts, pl for longs)",
  "take_profit": "not explicitly stated",
  "position_size": "not explicitly stated",
  "evidence_type": "source_code",
  "completeness": 80.0,
  "signal_warnings": null,
  "claim_warnings": null,
  "opacity_warnings": null,
  "build_warnings": null,
  "canonical": "https://prismaticalgos.com/compendium/algo/1174-market-structure-algo",
  "snapshot": "2026-10-31 15:46 UTC",
  "source_url": "https://www.prorealcode.com/prorealtime-indicators/market-structure-algo/",
  "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."
}
