The S&P 500 closed barely higher after Monday's choppy trading session as investors held their breath ahead of a raft of big technology company earnings, a