Quote from Code7:
I could as well say that changing the lookback period of a moving average to improve backtest results is not curve fitting. "(c(1) + c(2) + c(3) + c(4)) / number of summands" is one particular model you select and cannot be changed afterwards. This absurdity can be expanded to all popular indicators that involve any kind of smoothing and even further.
It is not absurdity, it is rather a gross misunderstanding from your part.
With SMA(n) you can set n to improve backtest results but you essentially are fitting a curve, which is the curve generated by the SMA, to market prices in such a way as for a certain objective function to be maximum (or minimum). Mathematically, the problem can be stated as follows
maxJ, J is the objective function and it can be as simple as the net profit
subject to a set of contraints S
With something like C > C(1), there is no curve generated by the system that can be fitted to market prices. There are only signals points. If you change this to C > C(2), you are changing the signals, not any curve in particular. This is not curve-fitting. This is model selection. You determine that some model is better than another. This is the essense of system trading.
I guess I have to try to be more explicit:
(1) Curve-fitting involves model selection
but
(2) Model selection does not necessarily involve curve-fitting
I am afraid I cannot help further on this particular issue. If someone is still confused about these concepts, better stay away from system trading and trade the news instead.