S&P 500 earnings are forecast to rise in 2018.