The S&P 500 could be set for a long period of sideways trading that make the returns of the last decade seem like a drea