Curve Fitting: How Indicator Settings Become a Trap
Posted: Sat Oct 03, 2026 7:48 pm
Curve Fitting: How Indicator Settings Become a Trap
You test an indicator with the usual settings, and it loses money. You change the period from 14 to 11, and suddenly the equity curve looks beautiful. This is not a discovery. It is curve fitting.
Curve fitting means tuning parameters until a strategy matches past data. With enough knobs, any strategy can look brilliant on history, because you are fitting noise, not signal. The settings that worked best on the past often fail on new data.
The warning signs are familiar. The strategy performs well only at very specific settings. A small change, like moving a period by one, ruins the results. The rules have many conditions that seem to fit particular past events. And the number of trades in the test is small.
A robust strategy works across a range of settings. If periods from 10 to 20 all give similar results, the idea probably captures something real. If only 13 works, it is likely luck.
Good habits include limiting the number of parameters, keeping the logic simple and explainable, and testing on data not used for the design.
Remember that more complexity does not equal more edge. Often it equals more overfitting.
Practical step: take any strategy you are testing, and run it with five neighboring parameter values. If results swing wildly, do not trust it.
You test an indicator with the usual settings, and it loses money. You change the period from 14 to 11, and suddenly the equity curve looks beautiful. This is not a discovery. It is curve fitting.
Curve fitting means tuning parameters until a strategy matches past data. With enough knobs, any strategy can look brilliant on history, because you are fitting noise, not signal. The settings that worked best on the past often fail on new data.
The warning signs are familiar. The strategy performs well only at very specific settings. A small change, like moving a period by one, ruins the results. The rules have many conditions that seem to fit particular past events. And the number of trades in the test is small.
A robust strategy works across a range of settings. If periods from 10 to 20 all give similar results, the idea probably captures something real. If only 13 works, it is likely luck.
Good habits include limiting the number of parameters, keeping the logic simple and explainable, and testing on data not used for the design.
Remember that more complexity does not equal more edge. Often it equals more overfitting.
Practical step: take any strategy you are testing, and run it with five neighboring parameter values. If results swing wildly, do not trust it.