# Why Multiplying Steps Reveals Hidden Cost Slug: why-multiplying-steps-reveals-hidden-cost. Canonical: https://tradingtune.com/blog/why-multiplying-steps-reveals-hidden-cost ## Summary Shows how small changes in several ranges can expand the number of tests quickly. ## Key facts - Sweeping several parameters at once multiplies the number of test combinations instead of adding to it. - Reusing the same historical data across many combinations is the real seed of overfitting. - A walk-forward split keeps selection and judgment apart, so a value is never picked using the same bars it is judged on. - A pattern that shows up in only a couple of walk-forward windows is a hypothesis waiting for more cycles, not evidence of robustness. ## Outline - Why more ranges means more tests than you expect (#why-more-ranges-means-more-tests-than-you-expect) - Method and setup: the sweep, parameters, and walk-forward split (#method-and-setup-the-sweep-parameters-and-walk-forward-split) - What changes as you move across each range (#what-changes-as-you-move-across-each-range) - The illustrative sweep, in table form (#the-illustrative-sweep-in-table-form) - An edge case: when in-sample stability was a trap (#an-edge-case-when-in-sample-stability-was-a-trap) - Applying this to your own sweep (#applying-this-to-your-own-sweep) - The habit that matters most (#the-habit-that-matters-most) - Sources (#sources) ## Code snippets - Anchor: #pine-snippet-1