Parameter sweeps: multiple testing, plateaus and isolated peaks

What you will learn

  • Explain why the best result of many tests overstates the true edge.
  • Run a parameter sweep that includes your own settings and their neighbors.
  • Apply the plateau rule to tell a plateau from an isolated peak.
  • Read a sweep heat map without using up the test years.

Check your understanding

Answer each question to see the explanation. Answers are not saved.

  1. In a one-parameter sweep the best length, 100 days, scores +0.18. Its neighbours, 75 and 125 days, score +0.02 and −0.04. How does the plateau rule read it?

    1. A Plateau
    2. B Isolated peak
    3. C No setting beat the benchmark
    Show the answer

    Answer: B. The neighbours’ median is −0.01, well below half of +0.18, and only one of two is positive. That is an isolated peak.

  2. A best cell scores +0.20 and has four valid neighbours: +0.14, +0.16, +0.11 and −0.02. How does the plateau rule read it?

    1. A Isolated peak, because one neighbour is negative
    2. B Too few neighbouring settings
    3. C Plateau
    Show the answer

    Answer: C. The median of the neighbours is +0.125, above half of +0.20, and three of four (more than two thirds) are positive.

  3. Why is the sweep heat map coloured with rule-years results only?

    1. A Because the test years cover too few years to give each cell a colour
    2. B So the test years are not used to pick a cell and stay a fair test
    3. C Rule-years results are always more accurate
    Show the answer

    Answer: B. If the grid showed test-years results, choosing the best cell in the test years would turn them into data used to set the rule. The test years are tested for your own settings only, once.

  4. Thirty settings of a rule with no real edge are tested over 15 years. What should you expect of the best one?

    1. A Its result is close to zero, like the others
    2. B It is the true optimum and should be traded
    3. C It can look respectable purely by chance
    4. D It is always negative
    Show the answer

    Answer: C. Picking the best of many selects the one luck helped most. In the lesson’s simulation the best of 30 noise strategies reached a Sharpe ratio of 0.54.

  5. Your own settings sit on an isolated peak, while a plateau appears elsewhere on the grid. What is the sound reaction?

    1. A Doubt your result; any switch to the plateau is a new, tuned study
    2. B Trade your own settings at once, since they scored best in the rule years
    3. C Widen the grid until your settings sit on a plateau
    Show the answer

    Answer: A. An isolated peak is likely luck. Moving to the plateau after seeing the sweep is legitimate only if you treat it as a tuned study and trust its test-years result less.

Try it in Clear Tape

Put the lesson next to real rules: three stock-picking strategies apply fixed rules each month or quarter, with their backtests after costs and a live record from November 2, 2026.

Continue in Clear Tape

With a free account, your progress and quiz scores are saved, and you can practice with the question bank, keep a wrong-answer book and study real chart examples.