TSI 25/13 zero-cross + EMA200 context — fixed reference test, USD/JPY 2024.
This is reproducible educational code by the same assistant, not a terminal
certificate, independent human review, live result or untouched validation set.
The frozen revision 1 protocol was saved before the first replay; SHA256 below.
Do not optimise rules or silently alter that protocol to improve the totals.

Use Python 3 standard library; no network or broker terminal is required.
Run from this extracted folder:
python3 authoring/calculate.py
python3 authoring/verify_independently.py
python3 authoring/check_boundaries.py

The first program independently aggregates retained M1 quotes to H1, computes
Decimal 55 recursive indicators and replays the rules. The second uses Decimal 80
weighted-prefix EMA calculations, date-grouped candidate selection, a separate
minute event resolver, and exact Fraction R metrics. Boundary fixtures are
synthetic internal checks only; they are never the published chart/test data.
Generated 3 public outputs are under update/assets/v295-tsi-zero-ema200-real-test/.
Compare them byte-for-byte with reference-public/.

Units and schema:
- Retained M1CSV: end_utc_epoch is an interval-end label. All OHLC *_1e6 columns
  are integer millionths of JPY per USD, divide by 1000000. One pip=0.01JPY/USD
  =10000micro; rounding increment0.001JPY/USD=1000micro.
- Trade CSV *_micro columns use the same integer millionths; risk_micro is a
  positive initial price distance. Rcolumns are dimensionless ratios with
  Decimal 55 output; net_pips_2 is after one fixed 2 pip round-trip deduction.
- entry_t is the modeled opening at the start of the exact next M1 interval;
  entry_minute_end is that record's end label. exit_start/exit_end identify the
  observed exit interval; exit_t is an exact modeled opening/closing time only
  when known. An intrabar stop/target has null/empty exit_t, not an invented
  second. exit_basis distinguishes observed_open,within_minute,last_observed_close.
- Market JSON OHLC, EMA200, ATR14 are in JPY/USD; TSI is dimensionless. Execution
  prices/risk ending _micro retain integer units. Direction +1 long, -1 short.
  Attempt IDs and trade IDs start at 0; both models can reference the same
  candidate and identical reference path. Rejections are not zero-return trades.

The fixed candidate window is 07:00-15:00 UTC Monday-Friday after 1000 retained H1
closes; first numeric crossing consumes its date before all rejection checks.
TSI 25/13 first-change seeds; EMA200 first-close seed; ATR14 Wilder with 14 TR seed.
Rounded-up 1.5 ATR stop distance 10-80 pips inclusive; fixed 2R target; 4 clock-hour cap.
0/2/4 pips are illustrative one-time friction deductions, not measured bid/ask,
swap or live fees. The reference fills do not change with the cost selector.

CRITICAL COVERAGE LIMIT: one held-path gap on 2024-12-05 is flagged in both
models. Open stop/target/clock priorities apply, otherwise valuation is forced
at the next observed open. The unknown intervening path is NOT reconstructed:
a real protective order might have triggered earlier. Report this valuation
and its contribution separately; do not call all trades execution-verified.
The first loss chart is a KNOWN OPENING CLOCK EXIT, not an unknown stop second.
Its full final minute OHLC contains prices after the modeled opening-time exit.
R totals are not an account percentage; sizing/compounding are not specified.
The single retained 2024 sample was already used in previous content.

Protocol SHA256: 1dc3bd434476d7fc35a34976200d83593df3a99940c1c3086af62485d7e59cb7
