If the gains for the S&P 500 hold up for the rest of the year the market could have more room to run in 2020.