The Dow Jones industrial average rose 0.74 to 5,762.86, finishing the week with a gain of 75.36. The blue-chip barometer, which set new highs twice this week, had risen nearly 37 points in early trading before retreating.
Advancing issues outnumbered decliners by a slim margin on the New York Stock Exchange, with 1,183 up, 1,083 down and 864 unchanged. NYSE volume totaled 329.14 million shares vs. 431.32 million in the previous session.
Broad-market indexes were mostly higher, but the Nasdaq market was weighed down by the technology sector.
The NYSE composite rose 1.31 to 363.74, barely topping Wednesday's record high of 363.69. The Standard & Poor's 500-stock index rose 2.51 to 678.51, edging Wednesday's record mark of 678.42.
The Nasdaq composite index fell 0.77 to 1,247.88.
At the American Stock Exchange, the market value index rose 1.27 to 613.95.
Bonds were slightly higher on Friday, with the yield on the 30-year Treasury edging below 6.84 percent.
In economic news, the Commerce Department reported that orders of durable goods fell 1.9 percent to $166 billion in April, the third drop in four months, as declining aircraft orders offset an increase in cars and trucks.
The report is considered a key gauge of the nation's manufacturing sector, as an increase could lead to more jobs.