I'm new to system development and have two questions which I wanted to put to the community. I have a mean reversion strategy which makes use of a SMA.
1. I back tested the data for 25 years and saw that for security A, a 5d SMA worked best and for security B, a 20d SMA worked best. Should I use these results to trade or are they completely spurious as all I'm doing is fitting any strategy to the data. My view is that 25 years is a long time and the difference between 5 and 20d is not statistically significant over the time period.
2. For the mean reversion I use an oscillator. The oversold level is 30 while I found that better results were obtained when using a overbought level of 90. Have a fallen into another optimization trap? Or can the overbought and oversold levels on an oscillator not be symmetrical I.E. -100 and 100 or 30 and 70.
Any help would be much appreciated
1. I back tested the data for 25 years and saw that for security A, a 5d SMA worked best and for security B, a 20d SMA worked best. Should I use these results to trade or are they completely spurious as all I'm doing is fitting any strategy to the data. My view is that 25 years is a long time and the difference between 5 and 20d is not statistically significant over the time period.
2. For the mean reversion I use an oscillator. The oversold level is 30 while I found that better results were obtained when using a overbought level of 90. Have a fallen into another optimization trap? Or can the overbought and oversold levels on an oscillator not be symmetrical I.E. -100 and 100 or 30 and 70.
Any help would be much appreciated