(CNBC) — U.S. stocks closed higher on Tuesday after a choppy trading session as investors eyed developments in the Greece debt crisis and the start of corporate earnings season.
The S&P 500 fell below its 200-day moving average for its first time since October 20 before trading as high as 15.02 points up.
"We broke the 200 day moving average ... and around that time the market began to stabilize," said Robert Pavlik chief market strategist at Boston Private Wealth, adding that the S&P 500 also hit a support level of 2,045 and has since bounced back.
Advertisement - story continues below
The index closed up 12.58 points, or 0.61 percent, at 2,081.34, with materials being the only laggard utilities and consumer staples leading advancers. In fact, consumer staples had their best day of 2015, rising 2 percent for the first time since December 18.