The stock market’s sideways trading offers a necessary cooling-off period after a massive rally. Q2 results could give investors reason for irrational optimism, pushing prices higher. Another big rally this summer will likely end with…