REPRODUCE THE PUBLISHED TRADING-AUTOMATION EXAMPLES

Extract the entire ZIP into a new folder, preserving sources/.
Open a terminal in that folder and run:

node reproduce-real-examples.cjs

Requires a current Node.js LTS release and built-in modules only.
Writes generated checks, cases and CSVs into ./reproduced; it does not modify sources.
Expected: 50 assertions pass; H4 final OHLC 1.12911 / 1.13118 / 1.12653 / 1.12863; EURUSD candidate bar opens at 2026-10-14 04:00 and is eligible no earlier than 05:00; close 1.12064, pivot 1.12037, earlier rejected close 1.12034.
The JSON output can retain floating-point serialization noise; the published EURUSD readings use five decimal places. expected-results.json states that precision.

Original ICMarketsSC-Demo Bid data. Original MT5 hours, unverified broker offset: not asserted UTC or local time. No actual live received_at, revisions, order or execution price is reconstructed. Selection is retrospective for teaching, not a financial strategy test.

All source dependencies for the shared H1/H4 and three-symbol checker are in sources/. Provenance hashes reject altered CSVs. The two lessons use the same checker and corpus.
