Stocks just hit rare triple high — here's what comes next

The big three U.S. stock indices were on a tear in July and achieved a rare feat this week, all hitting new record highs on Thursday. Back in 1999 that happened quite a few times, and it didn't bode well for stocks. Will the story be different this time?

Here's a look at how the big three indexes perform in the month after the rare record-high trifecta, as well as the best and worst sector trades in the S&P 500, and flight to safety indicators.