Stocks gave up an early gain and closed lower on Wall Street as markets continue an unsteady search for direction.
Several companies made big moves, both higher and lower, as more of them reported their latest quarterly results. The S&P 500 fell 0.8 percent Thursday. The benchmark index was still holding on to a gain for the week. The Dow Jones Industrial Average and the Nasdaq also fell.