A brief morning rally pushed the Dow Jones industrial average above its highest closing price since the financial crisis Thursday, but stocks closed lower after mixed economic data tempered traders' optimism.
Solid news on factory orders and strong earnings from U.S. manufacturers highlighted one of the economy's bright spots before the market opened. The Dow and broader indexes turned negative after weaker reports on home sales and future economic growth were released in the late morning.
The Dow and other indexes are still up sharply for the year, and the Dow is near its highest level since May 2008. Traders appear less afraid of spillover damage from the European debt crisis, and data on jobs and manufacturing have been consistently strong.
"With global risk off center stage and attention going back to the fundamentals, this market was ready to explode, which is exactly what it is doing," said Doug Cote, chief market strategist with ING Investment Management.
The government reported early Thursday orders to factories for long-lasting manufactured goods increased in December for the second straight month, and a key measure of business investment rose solidly.
That strong demand was apparent in quarterly earnings reports from U.S. manufacturers. 3M stock closed 1.3 percent higher after its fourth-quarter profit beat Wall Street's estimates.
Caterpillar, the world's biggest heavy equipment maker, rose 2.1 percent, the most of the 30 companies in the Dow, after beating analysts' estimates last quarter. The company expects to do the same this year as global demand remains high.
Stocks traded broadly higher until mid-morning, when the government reported an unexpected drop in new home sales in December, capping the worst year for home sales on records dating to 1963. The decline underscored the housing market's continued drag on the economy.
A private gauge of future economic activity also grew more slowly than expected.
The Dow closed down 22.33 points, or 0.2 percent, at 12,734.63. It had traded up as much as 84.99 points early Thursday. 3M and Caterpillar led the gains.
AT&T dragged the Dow lower, falling 2.5 percent after its earnings missed Wall Street's forecasts. The company remains heavily dependent on Apple's iPhone, which it pays to subsidize, but recently lost its exclusive rights to sell the phone in the U.S.
The Dow is within reach of its post-financial crisis high of 12,810.54, reached in April 2011. The last time it closed higher than that was on May 20, 2008, when it settled at 12,828.68. The Dow's post-crisis high during the trading day was 12,928.45, reached on May 2, 2011.
The Dow is up 4.2 percent so far this year. The Standard & Poor's 500 index and Nasdaq composite average have gained even more.
The Dow would need to rise another 11 percent to get to its record high close of 14,164.53, reached on Oct. 9, 2007.
The S&P 500 closed down 7.63 points, or 0.6 percent, at 1,318.43. It was dragged lower by volatile financial companies and telecommunications firms including AT&T. The Nasdaq shed 13.03 points, or 0.5 percent, to close at 2,805.28.
Stocks had their highest close in eight months Wednesday after the Federal Reserve said it plans to keep interest rates extremely low until late 2014 to encourage lending and investment and support the economic recovery.
The yield on the 10-year Treasury note fell to 1.93 percent from 1.99 percent late Wednesday. The prospect of more bond-buying by the Fed helped make Treasurys more attractive. A bond's yield falls as demand for it increases.
Among the other U.S. companies making big moves after reporting quarterly earnings:
— Time Warner Cable Inc. rose 7.8 percent after the company reported earnings that were far above analysts' estimates. The national cable TV provider also raised its dividend 17 percent to 56 cents per share and announced plans to buy back more of its own stock.
— United Continental Holdings, the parent company of United and Continental airlines, surged 6.3 percent. The company's fourth-quarter loss narrowed, its adjusted earnings were more than double what analysts had expected and the cost of integrating the two companies fell.
— Netflix soared 22.1 percent, the most of any stock in the S&P 500, after the video streaming and DVD-by-mail company reported a huge gain in customers and a bigger fourth-quarter profit than analysts had expected.
— Colgate-Palmolive rose 1.9 percent after saying it will raise prices in the U.S. for the first time in years to cover higher costs for materials. The company's profit declined last quarter, but core sales in emerging markets were much stronger.
Follow Daniel Wagner at www.twitter.com/wagnerreports.