The S&P 500 is caught in an extremely narrow trading range. What’s happening beneath the surface could decide where the index goes next.