Source: http://alvarezquanttrading.com/blog/intermediate-term-stock-rotation-strategy-using-sp500-stocks/