{
  "source": "ICMarketsSC-Demo closed Bid OHLC, previously exported read-only",
  "time_basis": "Original MT5 labels, broker offset unverified. Nominal bar end is not a measured data receipt time.",
  "selection": {
    "version": 1,
    "scope": "Two additional 5.3 teaching episodes, selected using facts available at each assessment bar, never the subsequent outcome.",
    "selection_period_original_mt5": [
      "2026-01-01 00:00",
      "2026-09-30 23:59"
    ],
    "selection_order": "First chronological eligible assessment; no future-price outcome filter.",
    "time_basis": "Original MT5 labels, broker offset unverified. Nominal bar end is not a measured data receipt time.",
    "pivot_rule": "High strictly exceeds both left Highs and is >= both right Highs; Low strictly below both left Lows and <= both right Lows. Available only after the second right candle closes. Bars qualifying as both are excluded from the alternating structure because OHLC does not order their extremes. Consecutive same-type pivots retain the more extreme already-confirmed point; ties retain the earlier point.",
    "illustration_constraints": "All labelled anchors must be within 32 bars of the assessment, so the complete structure remains legible. Show 4 bars before the earliest anchor and at least 20 context bars where possible.",
    "subsequent_display": "Next 8 closed records, never used for case selection or the before-frame scale.",
    "cases": [
      {
        "id": "lab53-polarity",
        "dataset": "USDJPY-H4.csv",
        "zone": "Last pivot High confirmed before breakout, +/-2 USDJPY pips (pip=0.01), frozen at breakout.",
        "breakout": "Close above zone upper boundary, previous Close <= upper boundary; candidate pivot already confirmed before this bar.",
        "priority": "As in the article, any of the first three subsequent Closes <= upper boundary makes the breakout false, so it is not labelled a retest.",
        "retest": "First subsequent bar within 20 records whose High-Low intersects the frozen zone and whose Close is above its upper boundary. Retest classification is available no earlier than max(retest bar, breakout+3), after excluding the three-bar false-breakout class. Selection uses only data through that assessment bar."
      },
      {
        "id": "lab53-structure-warning",
        "dataset": "EURUSD-H4.csv",
        "context": "At previous bar close, the last four alternating confirmed pivots contain two strictly rising Highs and two strictly rising Lows.",
        "assessment": "First Close below the latest previously confirmed HL. This is a warning, not an automatic confirmed LL or downward trend. After-frame independently recomputes which pivots are known eight records later."
      }
    ]
  },
  "sources": [
    {
      "file": "USDJPY-H4.csv",
      "sha256": "3399fa480a6389247ad55074345a82e37f2cc425944d7dadbbefc4a8d4bf8d3c",
      "digits": 3
    },
    {
      "file": "EURUSD-H4.csv",
      "sha256": "34ae38bf65f6268b4a0b9ea3c44eccc6d031dafd687448fdfd10bd31a8e848b1",
      "digits": 5
    }
  ],
  "selected": [
    {
      "id": "lab53-polarity",
      "dataset": "USDJPY-H4.csv",
      "digits": 3,
      "assessment": 2784,
      "start": 2764,
      "end": 2792,
      "anchor": {
        "i": 2770,
        "kind": "H",
        "price": 156806,
        "known": 2772
      },
      "breakout": 2781,
      "retest": 2782,
      "lower": 156786,
      "upper": 156826
    },
    {
      "id": "lab53-structure-warning",
      "dataset": "EURUSD-H4.csv",
      "digits": 5,
      "assessment": 2832,
      "start": 2800,
      "end": 2840,
      "points": [
        {
          "i": 2804,
          "kind": "H",
          "price": 116617,
          "known": 2806
        },
        {
          "i": 2818,
          "kind": "L",
          "price": 115772,
          "known": 2820
        },
        {
          "i": 2827,
          "kind": "H",
          "price": 117690,
          "known": 2829
        },
        {
          "i": 2829,
          "kind": "L",
          "price": 117108,
          "known": 2831
        }
      ],
      "level": {
        "i": 2829,
        "kind": "L",
        "price": 117108,
        "known": 2831
      },
      "later_new_lows": [
        {
          "i": 2836,
          "kind": "L",
          "price": 116700,
          "known": 2838
        }
      ],
      "later_points": [
        {
          "i": 2804,
          "kind": "H",
          "price": 116617,
          "known": 2806
        },
        {
          "i": 2818,
          "kind": "L",
          "price": 115772,
          "known": 2820
        },
        {
          "i": 2827,
          "kind": "H",
          "price": 117690,
          "known": 2829
        },
        {
          "i": 2829,
          "kind": "L",
          "price": 117108,
          "known": 2831
        },
        {
          "i": 2833,
          "kind": "H",
          "price": 117430,
          "known": 2835
        },
        {
          "i": 2836,
          "kind": "L",
          "price": 116700,
          "known": 2838
        }
      ]
    }
  ],
  "trading_calls": 0
}
