Backtesting the S&P against moving averages is something I've done recently, on a long term scale.
Rules for backtesting:
Rule 1) If a price crossover happens, you buy/sell at the closing price of that day (this assumes you have a good enough inclination of whether the crossing held that...