NEW YORK - A weak showing in home sales and a mixed batch of earnings reports kept stocks flipping between minor gains and losses on Wall Street. By the end of the day, the major indexes managed to eke out their second day of gains this week.
A strong profit report from Procter & Gamble helped indexes start higher early Thursday, but stocks weakened in late morning trading after a Realtor group said the pace of contracts for new home sales had leveled off.
The Dow Jones industrial average gained 26.34 points to close at 13,103.68.
"This is a market still working through a difficult earnings season," said Jason Pride, director of investment strategy for Glenmede, a wealth-management firm.
Pride said investors probably celebrated too much after the Federal Reserve pledged more support for the economy in early September. They overlooked shrinking economies in Europe, slower growth in China and other signs that this earnings season would be rough. In the past two weeks, they've paid for it.
"We had a party and now we're dealing with a hangover," he said. "The market is basically back to where it was at the end of August. I don't think that's unreasonable."
In other trading, the Standard & Poor's 500 rose 4.22 points to 1,412.97 and the Nasdaq gained 4.42 to 2,986.12. A recent round of weak corporate earnings from tech giants and industrial companies has shaken investors accustomed to steadily rising profits. Weak revenue numbers and lowered profit projections from Caterpillar, 3M and Google have rattled the stock market.
After two days in which the Dow has dropped more than 200 points in the past week, the average of 30 big companies is now down 2.5 percent for October.
Among companies reporting earnings Thursday, infant formula maker Mead Johnson Nutrition plunged 9 percent after its revenue came in well below what Wall Street analysts had expected. The company also cut its forecast for full-year earnings. Its stock slumped $5.98 to $63.53.