The S&P 500 broke above its 200-day moving average on Tuesday and traded at less than a point below 3,000, a sign that a prolonged uptrend for the markets may be starting.