NEW YORK -- The Dow Jones industrial average hit a record on Friday, but without much conviction after a choppy day of trading during which investors couldn't make up their minds whether to buy or sell.
The blue-chip index flitted between small gains and losses at least a half-dozen times, and ended up beating its old record set last week by less than 2.5 points, or just 0.02 percent.
"The market is having trouble finding direction here," said David Kelley, JPMorgan Funds' chief global strategist. But he added, "I believe for the rest of the year, a warming economy ... will push the market up."
The Standard & Poor's 500 index also eked out a gain, but is no higher than it was in early March, after waffling between weekly gains and losses most of that time.
On Friday, stocks fell broadly from the open as investors took in the latest corporate earnings reports. It was an odd day in which winners became losers, and vice versa.
Stocks of utilities have been in favor lately because of their stable earnings and fat dividends, but investors dumped them Friday, and they closed 1.4 percent lower. That was the biggest drop of the S&P 500's ten sectors.
By contrast, a few big-name Internet stocks that had been crushed in a recent sell-off in that industry managed healthy gains.
Netflix announced it was raising prices for new subscribers of its streaming video service and investors cheered, lifting its stock 2 percent. Tesla Motors and LinkedIn, both down more than 10 percent since April, rose 2 percent and 2.5 percent, respectively.
The Dow edged up 32.37 points for the day, or 0.2 percent, to 16,583.34. That narrowly beat its previous record high of 16,580.84 set on April 30.
The S&P 500 index rose 2.85 points, or 0.2 percent, to 1,878.48. The Nasdaq composite rose 20.37 points, or 0.5 percent, to 4,071.87.
Mixed messages from earnings reports left investors without clear direction.
CBS fell $1.27, or 2 percent, to $56.74 after reporting late Thursday that its first-quarter revenue had fallen short of analysts' projections. Sales from advertising slumped 12 percent.
Ralph Lauren dropped $3.18, or 2 percent, to $148.81 after its forecast for sales for the current quarter disappointed investors.
Hilton Worldwide Holdings rose 43 cents, or 2 percent, to $23.07 after exceeding analysts' expectation for earnings. And Gap rose $1.28, or 3 percent, $40.52. The clothes store chain reported strong sales for April and issued a forecast for the current quarter that was better than investors were expecting.
With most companies out with their results, first-quarter earnings for the S&P 500 are expected to rise 3.4 percent, according to S&P Capital IQ. That's a respectable performance but still down from a nearly 8 percent gain in the fourth quarter.
Companies reporting earnings next week include Macy's, Deere & Co., Cisco Systems and Wal-Mart and Nordstrom.
Investors were also watching the situation in Ukraine. On Friday, fierce fighting in eastern Ukraine left at least seven dead. Pro-Russian militants are pressing ahead with plans for an independence referendum this weekend despite objections from Moscow.
Erik Davidson, deputy chief investment officer of Wells Fargo Private Bank, said investors are still jittery five years after the financial crisis sent stocks tumbling to 12-year lows.
"There is always this worry about what is the next shoe to drop," he said. "So places we only learned about before in geography class become important: Crimea, Ukraine."
The yield on the 10-year Treasury note rose to 2.62 percent from 2.61 percent on Thursday. The price of oil fell 27 cents, or 0.3 percent, to $99.99 a barrel.
Among other stocks making big moves:
-- Symantec rose 66 cents, or 3 percent, to $20.79. The security software maker said cost cuts helped boost its fourth-quarter profit margins and net income.
-- News Corp. rose 89 cents, 5 percent, to $18. The publishing company, which owns The Wall Street Journal, reported net income fell in its fiscal third quarter, but still beat analysts' expectations due to better book publishing. That unit thrived thanks to of the "Divergent" series, which was launched as a movie in March.