Gold slipped to seven-month lows and Treasury prices rose after the Federal Reserve reinforced views of strong U.S. economic growth in a report to Congress, reinforcing expectations of higher interest rates.
The Fed reiterated that it "expects that further gradual increases" in interest rates would be appropriate given "solid" growth.
An absence of rhetoric overnight about a U.S.-China trade war helped industrial stocks, as did remarks on Thursday from U.S. Treasury Secretary Steven Mnuchin, who said that the United States and China might reopen trade talks.
"Despite the ominous headlines about a trade war with China, we're comfortable with U.S. equities at current prices amid favourable macro trends and surging earnings growth," said Mike Bailey, director of Research at FBB Capital Partners in Maryland.
Gains from Boeing
The Dow Jones Industrial Average <.DJI> rose 104.19 points, or 0.42 percent, to 25,029.08, the S&P 500 <.SPX> gained 3.66 points, or 0.13 percent, to 2,801.95 and the Nasdaq Composite <.IXIC> added 0.04 points, or 0 percent, to 7,823.96.
The pan-European FTSEurofirst 300 index <.FTEU3> rose 0.26 percent and MSCI's gauge of stocks across the globe <.MIWD00000PUS> gained 0.24 percent.
The greenback initially got a boost from the Fed report and from data showing China's trade surplus with the United States swelled to a record in June, which could further inflame a trade dispute between Shanghai and Washington.
The dollar fell after touching its highest level since June 29.
Against a basket of major currencies, the dollar index fell 0.06 percent.
While China has vowed to retaliate against the proposed new U.S. tariffs - 10 percent on $200 billion of Chinese goods - the lack of a specific response to date has sparked global relief.
The yield curve on U.S. Treasuries once again reached its flattest level in 11 years, with the spread between 2-year and 10-year notes falling to 24.46 basis points. Prices moved higher on the Fed report.
Benchmark 10-year notes
In commodity markets, oil prices had a wild week of price swings, with both the main benchmarks at one point suffering heavy losses as traders focused on the return of Libyan oil to the market.
Even so, oil rose on Friday. Brent crude futures