Docs menu

Robustness re-check Pro

The last step of a Strategy Miner run, which re-runs each candidate with changed prices, start, settings and spread. Covers the three criteria presets and the four tests, and which ones drop candidates.

This feature is part of Pro.

After the standard checks (see How candidates are filtered), the Miner re-runs each surviving candidate many times with small changes. Under Default, the result is shown on each candidate but never drops it. Under Strict, the tests drop candidates. The Robustness re-checks panel (Pro) chooses which.

Passing a re-check does not mean a strategy will make money. Results are an approximation of past data and do not guarantee the future.

Choose the criteria

  1. Open the Strategy Miner with a Pro account.
  2. Open step 4 (Fine-tune), choose the Robustness checks tab, then use the Robustness re-checks settings.
  3. Pick a preset in Criteria, then click Start mining.
The Robustness checks tab of step 4, Fine-tune,. The Criteria list shows Strict. Under it are the boxes Resampling confidence level, Resampling runs, Walk-forward unseen part and Walk-forward windows, all empty and showing "default", and the Walk-forward window sweep list set to default.
The Robustness checks tab. The boxes stay empty to use the preset's values.
PresetWhat it does
DefaultNothing in this step drops a candidate. Re-run with changes (MC) and Trade resampling (MC) are calculated and shown for reference. The re-run result still counts as one of the checks behind a candidate’s stars. The walk-forward tests are off.
StrictTrade resampling, walk-forward and the re-run all drop candidates, with stricter thresholds. The walk-forward window sweep runs only if you turn it on.
OffThe re-check is skipped.

Under the preset you can override single values. Leave a box empty to use the preset’s value.

SettingValues
Resampling confidence level (%)50 to 100
Resampling runs5 to 200
Walk-forward unseen part (%)5 to 50
Walk-forward windows3 to 30
Walk-forward window sweep (slow)default, On or Off

Under Strict, the checks run from the lightest to the heaviest, and stop at the first test a candidate fails.

Re-run with changes (MC)

Under Default this test is for reference. Under Strict it drops candidates. The Miner re-runs the full backtest 10 times. Each run changes five things at once.

  1. Start shift. The first 0 to 100 bars are cut off, so the run starts later.
  2. Price noise. Each bar’s prices move up with a 30% chance and down with a 30% chance, by up to 0.3 of the ATR(14) times a random number.
  3. Setting nudges. Each number in the strategy’s settings has a 10% chance of moving, by up to 20%.
  4. Spread. A random spread between 1 and 5 times the default spread for the symbol. It replaces the normal spread. On currency pairs, that is 1 to 5 pips.
  5. Slippage and minimum stop distance. Only when Realistic costs is on. Slippage goes up to 5 pips and the minimum stop distance up to 10 pips on currency pairs.

The candidate meets the test if the 80% confidence level of the runs meets both limits. The limits below are the Default ones. Strict uses stricter ones.

  • The net profit at that level (the 20th percentile) is at least 0.3 times the original net profit.
  • The maximum drawdown at that level (the 80th percentile) is at most 3 times the original drawdown.

It runs on the whole price history.

Why nothing is dropped by default

The Miner’s developers checked the tests on data that was hidden from both the search and the tests. They hid the last 12 months, took about 750 candidates found on the earlier years in each of three sets (7 symbols, 4 random seeds per set), and measured them again on the hidden year. The table gives the median profit factor (PF) on the hidden year.

SetMet the re-run limitsDid not meet them
10.831.07
20.971.06
30.901.12
  • In all three sets, the candidates that met the re-run limits did worse on the hidden year than the ones that did not. In two sets the gap was larger than chance would give in a permutation test.
  • A looser limit let more candidates through and did not change the picture.
  • Trade resampling, walk-forward and the walk-forward window sweep did not separate the two groups in a way that held up.
  • An earlier run of this check found the opposite direction for the re-run. It did not repeat.

So the Default only shows the re-run result, and you can read it next to the other numbers. The hidden period was about one year, and the candidates included similar ones. These numbers are a guide to why the default is set this way. They do not predict how any strategy will do.

The four tests

TestWhat it doesDefault
Trade resampling (MC)Reshuffles, thins out and reorders the list of trades many times, without re-running the backtest.Reference only
Walk-forward optimisationOn each earlier window, picks the best of nearby settings, then trades it on the next unseen window. The chained unseen windows must meet several conditions.Off
Re-run with changes (MC)The test above.Reference only
Walk-forward window sweepRepeats the walk-forward test for several unseen-window sizes and window counts.Off

A walk-forward test needs enough price history and trades. If it has too few, it is shown as “n/a” and is not judged.

Read the result

In a candidate card, the Robustness retest line has one chip for each test that ran. A green chip passed and a red chip failed. A grey chip is for reference only. Hover over a chip to see how a test did. For the re-run test, the text gives the worst-end net profit and drawdown next to the original values.

Three rows of a candidate card. Other symbols (PF) shows 4/7 with one chip per symbol. Robustness retest shows two chips, Trade resampling (MC) as reference and Re-run with changes (MC). Robustness shows four chips: Parameter shake, Monte Carlo, Spread x2 and Year by year.
The Robustness retest row of a candidate card. In Pro, click a strategy number in the Vault to open the card.

The Checks table shows how many candidates each test dropped. A test that is for reference drops none.

Related reference: Metrics explains the figures in the retest.