Traders celebrate on the main trading floor of the New York Stock Exchange (NYSE) as the Dow Jones Industrial Average passes the 20,000 mark shortly after the opening of the trading session in New York, U.S., January 25, 2017.

Top strategists have gotten more optimistic on stocks, just as the S&P 500 has pulled back slightly from records, according to CNBC's latest Market Strategist Survey.

Since the last survey in early February, four of 16 market strategists CNBC surveyed in the last three days raised their targets for the year-end or next 12 months. This Tuesday, Barclays' Keith Parker also initiated a year-end forecast at the high end of the range — 2,525 — citing market expectations on the likelihood of tax reform.