{
  "id": "FBR-V280-GBPUSD-H1-OSMA12-26-SMA9-UP-EMA200-2024-v1",
  "release": "V280",
  "title": "OsMA Forex Strategy: Fresh Zero Crosses and an EMA200 Filter",
  "pair": "GBP/USD",
  "direction": "Long only",
  "timeframe": "H1",
  "pip": 0.0001,
  "price_integer_scale": 1000000,
  "frozen_utc": "2026-11-27T09:54:36.898063+00:00",
  "evidence_status": "Retrospective long-only GBP/USD test. The 2024 daily archives were used in earlier research; January GBP/USD was viewed in the OsMA guide. The trading protocol was durably saved before this strategy replay. No outcome-based tuning or sample substitution.",
  "source": {
    "provider": "Forexite",
    "series": "Trade/MetaStock minute OHLC",
    "archive_dates": [
      "2024-01-01",
      "2024-12-31"
    ],
    "expected_daily_archives": 366,
    "url_template": "https://www.forexite.com/free_forex_quotes/2024/{month:02d}/{day:02d}{month:02d}24.zip",
    "preexisting_copy": "https://forexbestrobots.com/assets/v269-rvi-ema200-strategy/data-and-method.zip",
    "clock": "Fixed GMT+1 source labels minus one hour = UTC",
    "minute_convention": "Treat each source timestamp as the minute interval end. This is an explicit reconstruction assumption.",
    "missing_archive": "Stop and disclose unavailable source coverage; do not silently substitute a day or source.",
    "original_archive_continuity": "Reuse the 366 original 2024 daily ZIPs retained and provider-hash-verified in V279; parse GBPUSD separately and verify every local archive hash. This is reused source history, not new or untouched data."
  },
  "history": {
    "warmup": "January 2024",
    "evaluation_start": "2024-02-01",
    "evaluation_end": "2024-12-31",
    "evaluation_dates": 335,
    "H1": "UTC (start,end] groups from observed minutes; Open first, High maximum, Low minimum, Close last. No synthetic minutes or hours. Complete hour requires all 60 exact minute-end stamps.",
    "EMA": "Close-based EMA12, EMA26 and EMA200. First N-1 recorded values unavailable; Nth seeded by the arithmetic mean of the first N recorded closes; subsequent E[t]=(2*Close[t]+(N-1)*E[t-1])/(N+1). Retain history across gaps; never reset at months/evaluation start.",
    "MACD": "EMA12 minus EMA26; unavailable until both exist (recorded index25).",
    "signal": "SMA9 of the last nine available MACD main values; no EMA signal. First available at recorded index33. No zero padding.",
    "OsMA": "MACD main minus that SMA9 signal. Positive OsMA means main above signal, not necessarily MACD main above zero.",
    "arithmetic": "Primary calculation uses 60-digit Decimal EMA/SMA with unrounded event comparisons. Separate verifier uses exact integer rational EMA recurrences, an exact finite-window SMA and independently parsed raw ZIPs. Any event-status disagreement blocks publication."
  },
  "candidate": {
    "signal_hours_UTC": [
      7,
      17
    ],
    "signal_end_inclusive": true,
    "fresh_up_cross": "O[t-1] <= 0 and O[t] > 0. Both OsMA readings must be available. Prior equality permits a cross; a current zero touch does not. A continuing positive reading is not a new cross.",
    "reservation": "For each UTC evaluation date, choose the earliest observed fresh upward cross whose H1 end is 07:00 through 17:00 inclusive BEFORE completeness, immediate-entry, stop-distance and trend-filter checks. The first observed candidate reserves the date even if rejected. No replacement by a later cross. Gaps may hide events; first means first in observed bars.",
    "no_event": "Retain all 335 UTC dates, including weekends and dates with no observed candidate. No observed event is not independently proven full market coverage."
  },
  "models": {
    "baseline": "First observed upward OsMA cross passing common data and risk checks; no EMA200 condition.",
    "EMA200": "Exactly the same reserved candidate and execution assumptions, additionally Close[t] > EMA200[t]. Equality rejects. No EMA slope, MACD-main sign, price-EMA12/26 ordering or further condition.",
    "rejection": "Rejected candidates have no filtered trade or filtered return. Any baseline reference path displayed after filter rejection is explicitly labeled."
  },
  "common_checks": {
    "hours": "Current t and previous t-1 H1 bars must be complete and exactly adjacent UTC hours. Earlier gaps and partial bars remain in the EMA/SMA history and are disclosed.",
    "entry": "The immediate next minute must exist, i.e. the record ending signal_end+60 seconds. Use its Open as a quote-based reference entry, not a verified historical fill.",
    "stop": "Signal Low minus one pip. No later swing or chart information.",
    "risk": "Entry minus Stop must be positive and from 5 through 50 pips inclusive. No rounding into the allowed interval.",
    "check_reporting": "Report all applicable common rejection reasons; independently report Close-above-EMA200. No replacement. Missing EMA200 rejects the filtered model as unavailable rather than inventing a zero, although January history is expected to initialize it."
  },
  "execution": {
    "target": "Entry + 2*(Entry-Stop)",
    "deadline": "Signal end + four clock hours; latest deadline 21:00 UTC. Process exactly 240 minute-end stamps from signal_end+60 through deadline.",
    "per_minute_order": [
      "If the required minute is missing, mark unknown immediately; later data cannot repair the missing path.",
      "If minute Open <= Stop, exit at that adverse Open.",
      "Else if minute Open >= Target, exit at Target; no favorable gap bonus.",
      "Else test Low <= Stop and High >= Target. If both occur, mark ambiguous: OHLC does not reveal order.",
      "If only Stop is touched, exit at Stop; if only Target is touched, exit at Target.",
      "If no level resolves on the deadline minute, exit at that minute Close. Level and gap checks take priority over the time exit."
    ],
    "position": "At most one candidate and one trade per UTC date/model; fixed size, no trailing, no scaling, no overnight extension. Ambiguous and unknown outcomes stay separate from resolved returns.",
    "timing_disclosure": "Minute timestamps and X markers locate intervals, not proven tick-level entry/exit times. No historical Bid/Ask fill or native MT4 parity is claimed."
  },
  "costs": {
    "allowance_pips": [
      0,
      1,
      2
    ],
    "primary_allowance_pips": 1,
    "definition": "One fixed round-trip combined spread/commission/slippage allowance deducted once from resolved gross pips. These are scenarios, not measured Bid/Ask costs. No financing model.",
    "risk_normalization": "Net R=(gross pips - allowance)/initial risk pips. R is price-distance risk, not an account percentage. Cost scenarios do not alter entry, stop, target, hit tests, calendar or outcome status."
  },
  "statistics": {
    "population": "Resolved trades only, with entered, ambiguous and unknown counts alongside every model. Empty samples have unavailable performance, not observed zero performance. Also disclose baseline/filtered direction as long-only.",
    "metrics": [
      "entries",
      "resolved",
      "ambiguous",
      "unknown",
      "positive/zero/negative net trades",
      "positive net outcomes percentage",
      "net pips",
      "net R",
      "maximum cumulative-R drawdown",
      "net-R profit factor"
    ],
    "profit_factor": "Sum of positive net R / absolute sum of negative net R. If denominator is zero, explicitly distinguish no losses with gains from empty/zero-only samples; never serialize nonfinite JSON.",
    "drawdown": "Maximum running-peak-to-current drop of cumulative net R, initialized at zero and ordered chronologically. Not account-equity drawdown.",
    "monthly": "Report each of February–December 2024 at the primary allowance for both models. Do not select good months.",
    "selection": "No parameter or pair ranking, no strategy retuning, no changing this protocol after seeing outcomes."
  },
  "examples": {
    "count": 3,
    "selection": [
      "First chronologically resolved baseline entry.",
      "First different chronologically resolved baseline entry admitted by the EMA filter.",
      "First different chronologically resolved baseline entry rejected by the EMA filter."
    ],
    "fallback": "If a category is absent, show it as unavailable; do not select by profit or invent an example.",
    "charts": "Actual GBP/USD H1 OHLC and EMA200 with OsMA SMA9 histogram, plus the baseline M1 execution path. Mark the signal interval end, E/X/S/T, USD per GBP, UTC and full ForexBestRobots logo. Later bars illustrate the subsequent historical path and were unavailable at the signal."
  },
  "verification": {
    "independent_implementation": "Same assistant, separate raw-byte parser, H1 aggregation, exact rational EMA12/26/200 and SMA9, first-cross calendar, Fraction-normalized minute replay and statistics. Compare all minutes, bar fields, indicators, crossing/quality/filter decisions, paths, costs, monthly and total metrics, and downloaded ledgers. No independent-human or native-terminal certification.",
    "edge_cases": [
      "EMA seeds and unavailable warmup",
      "SMA9 versus EMA9 is a different signal",
      "fresh crossing: previous equality allowed, current equality rejected, continuing positive rejected",
      "first-event reservation before rejection, no later replacement",
      "two complete adjacent hours only; older incomplete history disclosed",
      "missing immediate entry minute",
      "strict Close-above-EMA200 including equality",
      "inclusive 5/50 pip bounds without rounding",
      "adverse stop Open; target Open capped",
      "same-minute dual touch",
      "missing required minute before later touch",
      "deadline level priority and four clock hours",
      "one-time costs do not change path",
      "unavailable unresolved/empty performance; pip/R weighting"
    ]
  },
  "publication": {
    "languages": [
      "en",
      "es",
      "de",
      "fr",
      "it",
      "ja",
      "pt-br",
      "ar",
      "zh-hans",
      "id",
      "th",
      "vi"
    ],
    "learning_resources": "One V278 component, six published localized target H1 cards; no planned pages.",
    "cover": "1280x840 navy #0e2036, full vector site logo, established typography.",
    "content": "English first; then 12 languages and same-assistant editorial/language review, numerical checks, static and browser QA, publication, live verification. No human/native-speaker certification."
  },
  "scope": "Long-only GBP/USD H1. Fresh upward OsMA zero crossings; baseline versus Close-above-EMA200. No short trades or parameter ranking.",
  "disclosure": "Retrospective single-pair, long-only experiment. 2024 archives were used in earlier research and January GBP/USD in the OsMA guide. The protocol is frozen before this strategy replay; this is neither an untouched holdout nor live/native-MT4 validation. No outcome-based tuning is permitted."
}
