Even as stocks climb on the last day of the year, they have shed plenty in 2018, and forecasts for 2019 aren't much better