The S&P 500 recently snapped its longest stretch of trading above its 50-day moving average since 2007.