The Dow Jones industrial average lost 5.41 points, less than 0.1 percent, to end at 17,745.98. The index had been down 110 points at the beginning of the day.
The Standard & Poor's 500 index closed effectively unchanged, up 0.06 of a point at 2,108.63. The Nasdaq composite rose 17.05 points, or 0.3 percent, to 5,128.78.
Several companies made big moves after reporting their quarterly results. This is the busiest week for corporate earnings, with 174 members of the S&P 500 reporting.