Despite the S&P 500's gain of 11.7% this year, investors have fretted about the pace of recovery, especially after last week's dramatically weak March payrolls report.
Jobless claims fell far more than expected in the latest week, dropping to the lower end of the range for the year. In another sign that the economy might be in better shape than some recent data had indicated, retail executives and analysts forecast improved same-store sales in April after mixed results in March.
Several of the S&P 500's top percentage gainers were retailers, with discount chain Ross Stores
"This data is especially welcome on the heels of last week's jobs report, and it just adds to the tremendous demand that there continues to be for equities," said Leo Grohowski, chief investment officer at BNY Mellon Wealth Management in New York. "The money that has been waiting for a pullback is running out of patience."
Still, the Nasdaq's gains were limited as technology stocks sold off on an industry report showing shipments of personal computers had fallen significantly in the first quarter. The S&P information technology sector index slipped 0.5%.
Hewlett-Packard Co
More From This Section
Both HP and Microsoft are Dow components, but the index saw plenty of strength from other members. Three of the blue-chip average's five biggest gainers - Pfizer Inc
The Dow Jones industrial average gained 62.90 points, or 0.42%, to close at 14,865.14. The Standard & Poor's 500 Index rose 5.64 points, or 0.36%, to 1,593.37. The Nasdaq Composite Index edged up 2.90 points, or 0.09%, to close at 3,300.16.
All three indexes finished higher for the fourth straight day. Both the Dow and the S&P 500 reached new all-time intraday highs in midday trading before ending at new closing highs. The Dow climbed to an intraday record peak at 14,887.51, while the S&P 500 set a record session high at 1,597.35.
"It's amazing to me that we're already a few points away from our mid-year target of 1,600, which had seemed somewhat aggressive," said Grohowski, who oversees about $179 billion in client assets. "But there's still skepticism about the market and tons of cash on the sidelines, which encourages me that the market can continue to pull higher."
The Dow got its biggest boost from Pfizer
Acadia Pharmaceuticals Inc
Other economic data showed import prices slipped 0.5% last month, in line with expectations, while export prices fell 0.4%, signaling inflation pressure remained tepid and would allow the Federal Reserve to continue with its current monetary policy.
About 59% of New York Stock Exchange-listed shares closed higher while slightly more Nasdaq-listed shares fell than rose. About 6.17 billion shares changed hands on the New York Stock Exchange, the Nasdaq and NYSE MKT, below the daily average so far this year of about 6.36 billion shares.