The S&P 500 closed little changed near its record level on Tuesday as investors braced for a big batch of tech earnings.

The broad equity benchmark ended the day less than 0.1% lower at 4,186.72 after hitting a record high in the previous session. The Dow Jones Industrial Average also closed flat at 33,984.93. The tech-heavy Nasdaq Composite slid 0.3% to 14,090.22.