(CNBC) U.S. stocks closed little changed on Thursday, with the S&P 500 touching its record high, as investors considered mostly upbeat earnings from companies including Ford Motor and Facebook and mixed economic reports.

“Last year, the market fluctuated on what Washington was doing, this year, it’s focused on fundamentals, and earnings are great and employment is slowly improving, especially in the unskilled areas,” said Frank Fantozzi, president and CEO of Planned Financial Services in Cleveland, Ohio.

“We have 70 to 72 percent meeting or beating on not just earnings but sales, so it’s a very good quarter,” Fantozzi added of second-quarter results from S&P 500 companies.

Note: Read our discussion guidelines before commenting.