With the S&P 500 hitting record highs, it may look like there's a limited upside for many stocks, at least in the short term.