Scripts: OHLC Reality Check - at what stop distance does your backtest start lying?

OHLC Reality Check - at what stop distance does your backtest start lying?:

Opens a virtual bracketed trade on every M1 bar, walks it forward on the real tick history, and reports for a sweep of stop distances how often 1-minute OHLC modelling would score the trade the wrong way round.

OHLC Reality Check - at what stop distance does your backtest start lying?

Author: Petr Kostal

legal
Needed tool — that 62.6% contested figure on XAUUSD should be mandatory reading before anyone publishes an M1-OHLC backtest. Have you considered packaging the sweep as a pre-publish QA gate authors could attach to CodeBase submissions? I'd run this on every symbol I ship.