This year has taught investors that the markets tend to look ahead, and patience can pay dividends in the long run.