New York - A diminished sales forecast by industrial bellwether Caterpillar clouded stocks on Monday, but a last-minute burst of buying pushed the Dow and S&P 500 barely back into the black for the session.
The Nasdaq, however, claimed solid gains on the back of a 4.0% surge by Apple, clawing back much of its losses of late last week.
The Dow Jones Industrial Average finished up 2.38 points at 13,345.89.
The broad-based S&P 500 climbed 0.62 to 1,433.81, while the Nasdaq Composite gained 11.34 points at 3,016.96.
Caterpillar's own shares gained 1.4% after the heavy equipment maker posted firm profit gains on steady revenue growth.
But the company reduced its forecast for the full year, warning that China's slowdown, the eurozone crisis, and general global sluggishness, would dampen its growth prospects.
"As we've moved through the year, we've seen continued economic weakening and uncertainty. It's definitely impacting our business with dealers intending to lower inventories and mining customers delaying some projects and reducing orders," said chief executive Doug Oberhelman.
That echoed forecasts by other companies in the past two weeks of third-quarter reporting that has tempered investor enthusiasm.
Apple, however, made a jump ahead of its expected release of the iPad mini, though there was no evidence of a link after the company's shares gave up more than seven percent between Wednesday and Friday.
General Electric, which disappointed investors with its earnings last week, lost another 2%, taking its loss since Thursday to 5.7%.
Coal giant Peabody Energy jumped 10.8% despite a sharp fall in third-quarter profits; revenue growth came in better than expected.
On the Nasdaq, Ancestry.com surged 7.8% to $31.45 after the announcement that European private equity group Permira Funds would take it over for $32 a share.
Amazon slipped nearly 3% and Microsoft 2.3%, while Google edged 0.9% lower.
Bond prices fell. The yield on the 10-year US Treasury rose to 1.81% from 1.76% on Friday, while the 30-year advanced to 2.96% from 2.93%.
Bond prices move inversely to yields.