The advanced IBS/ROC strategy buys Microsoft when it closes near the day's low and meets a price-change filter. Once invested, the rule can sell on a signal near the top of the daily range or after 20 sessions. The backtest fills orders at the open. Price signals use the close from two sessions earlier. Original notebook
Five exits at the time limit
The Docker replay recorded 30 exits. The price signal triggered 25 and the time limit triggered 5. Two trades show what can happen over the same number of sessions.
| Entry | Time-limit exit | Net return |
|---|---|---|
| October 4, 2021 | November 1, 2021 | +15.07% |
| September 15, 2022 | October 13, 2022 | −12.15% |
The rule limits how long the position can remain open. The result of each trade depends on the entry price, exit price and costs.
The historical result
From April 2019 to December 2024, the strategy gained 55.93% net versus 73.06% for URTH, a global equity fund. Both series were measured open to open and prices exclude dividends. The notebook charges 0.10% per order, and the replay keeps the same settings throughout the sample.
What the engine measured
Cumulative return
Worst drawdown from a peak
Ratios, with their 95% interval
- Strategy
- Reference: URTH
- Resampling range or 95% interval
Source: technical report of the test, linked below. Prices exclude dividends; the resampling uses the same historical series.
The technical report adds the margin of error to these figures. The Sharpe of the strategy was 0.49, with a 95% interval of −0.18 to 1.19. Against URTH, the average annual difference was −2.58%, with a t-statistic of −0.32: it cannot be told apart from zero.
When the same returns were resampled in blocks, the cumulative return fell between −2.54% and 151.28% in the central 90%, and the worst drawdown between 11.31% and 31.90%. What that resampling measures is explained in Block bootstrap and permutation Monte Carlo.
Test reports

How to read this document is explained in the guide to the technical report.
How to read both documents is in the guide to the technical report.
See Strateva's services if you want to review your own entry and exit rules.