{
  "base_costs": {
    "fee_each_side": 0.001,
    "slippage_each_side": 0.0005
  },
  "benchmarks": "Cash0%; fully invested cash-funded buy-and-hold separately restarted for each period, same base costs, terminal sale. Exposure differs.",
  "control_signal": "Same eligibility and AO crossing; remove only C>SMA200. Both use the same200-bar warmup gate.",
  "cost_model": "Adverse slippage on each entry/exit reference and fees on traded notional. Full reruns for primary/no_filter all3 periods; zero_cost/higher_cost full period. Cash interest zero. Continuous cash ledger. Stop gap can exceed planned1% loss.",
  "direction": "long_only",
  "entry": "Enter only at next scheduled H4 observed open; cancel if missing or outside period. E=O*(1+s). The later close-time metadata of that entry bar never censors an otherwise available opening. Reject an entry if its fixed stop is not strictly below the raw available opening (require 0<SL<O); this check uses only known opening and signal values.",
  "equity": "At each observed H4 close, cash+q*C*(1-s)*(1-f); opening peak includes initial cash. Maximum drawdown sampled at H4 closes, not intrabar.",
  "example_selection": [
    "first completed early primary trade",
    "first completed later primary trade",
    "first later primary trade with opposite net P&L sign to first later primary trade"
  ],
  "exit": "At an observed bar open, stop-gap (O<=SL) first; queued AO exit next; a previously missed30-interval deadline next. Then intrabar stop if L<=SL; then surviving30th scheduled close/time or period-end close. A valid completed close with AO<=0 queues exit for next scheduled open. If queued exit open missing, execute at first observed open with stop-gap priority; flag delayed exit. Entry interval counts as1. A new close signal after an exit may queue the following open.",
  "freeze_revision": {
    "previous_sha256": "50748be73bb2b93ad22643b7de77fd6095c9cee08a8cfd22798d68b5bad0213f",
    "reason": "Pre-calculation editorial review clarified entry stop admissibility and noncanonical close proxies; no outcomes computed.",
    "revised_at_utc": "2026-11-14T07:00:25.792784+00:00"
  },
  "frozen_at_utc": "2026-11-14T07:00:03.331864+00:00",
  "higher_costs": {
    "fee_each_side": 0.002,
    "slippage_each_side": 0.001
  },
  "holding_limit_intervals": 30,
  "id": "mpf-bitcoin-h4-awesome-oscillator-sma200-20261114-v1",
  "indicators": {
    "ao": "SMA5((H+L)/2) minus SMA34((H+L)/2), full-precision arithmetic; histogram colour measures change, not zero-line side.",
    "atr14": "First canonical bar in a restarted segment has TR=H-L; seed ATR with first14 TR, then (13*previous+TR)/14. Subsequent TR=max(H-L,abs(H-Cprev),abs(L-Cprev)).",
    "reset": "A missing scheduled H4 observation or noncanonical source close-time row ends the segment. Noncanonical row is retained in raw evidence but has no indicators; restart on next canonical bar. Both filtered and no-SMA control require200 canonical contiguous observations before eligibility.",
    "sma200": "Arithmetic mean of last200 consecutive canonical H4 closes, including signal candle."
  },
  "initial_cash": 10000,
  "instrument": "Binance BTCUSDT spot",
  "leverage": false,
  "max_positions": 1,
  "missing_and_partial_path": "No interpolation. Existing positions keep their original stop across gaps/noncanonical intervals; actual available openings/ranges drive fills. Trades exposed to a missing/noncanonical H4 interval are flagged even if closed before metadata is known. Missing prices can conceal paths; exclusions at original quantities are diagnostics, never rebuilt account returns.",
  "net_r": "Net realized P&L divided by frozen entry q*Lunit. Profit factor gross positive net-trade P&L / absolute negative net-trade P&L, undefined without losses.",
  "periods": {
    "early": [
      "2020-01-01T00:00:00Z",
      "2023-01-01T00:00:00Z"
    ],
    "full": [
      "2020-01-01T00:00:00Z",
      "2026-01-01T00:00:00Z"
    ],
    "later": [
      "2023-01-01T00:00:00Z",
      "2026-01-01T00:00:00Z"
    ]
  },
  "position_size": "Lunit=E*(1+f)-SL*(1-s)*(1-f); q=min(0.01*cash/Lunit,cash/(E*(1+f))). Continuous fractional quantity; venue historical lot/notional rules not reconstructed. Flat account pre-entry equity equals cash.",
  "price_precision": "Single stop touch identifies the observed H4 interval, not a tick timestamp. Signal/time/period exits use stated completed-close or opening prices. Scheduled availability is open+4h even for noncanonical source closes. A noncanonical row close used by a scheduled time/period liquidation is an explicitly flagged stale/partial-close proxy, not a demonstrated executable fill.",
  "primary_signal": "At completed scheduled H4 close, when flat: eligible, AO_previous<=0<AO_current and C>SMA200. The equality tie is explicitly included; comparisons are not rounded.",
  "research_status": "Retrospective, already familiar historical data. Dates and this specification fixed before computing this AO strategy. No optimization or prospective unseen-test claim.",
  "risk_fraction": 0.01,
  "site_baseline": {
    "existing_strategy_count": 57,
    "version": 316
  },
  "sources": [
    "https://www.tradingview.com/support/solutions/43000501826-awesome-oscillator-ao/",
    "https://www.metatrader5.com/en/terminal/help/indicators/bw_indicators/awesome",
    "https://github.com/binance/binance-public-data"
  ],
  "status": "frozen_before_first_calculation_of_this_strategy",
  "stop": "Fixed SL=E-2*ATR14_signal; no trailing and no profit target. Reject nonpositive stop.",
  "timeframe_seconds": 14400,
  "warmup_start": "2019-06-01T00:00:00Z"
}
