(CNBC) — U.S. stocks closed higher Tuesday, led by gains in tech stocks, as investors digested afternoon remarks from Fed Chair Janet Yellen.
The S&P 500 and Dow Jones industrial average recovered from a lower open to close at their highest levels of the year so far and in positive territory for 2016. Both indexes are within 4 percent of their 52-week intraday highs.
"I think it's kind of a perfect storm for stocks to move higher at the moment," said John Caruso, senior market strategist at RJO Futures. "You got a dovish Fed, coupled with an end-of-quarter. You got some window dressing going on."
Advertisement - story continues below