(Adds gold, oil settlement prices, updates prices throughout)
* China says trade deal would see tariffs removed in phases
* Wall Street sets intraday record highs
* European stocks at a more than 4-year high
* Safe-haven bonds, gold sag as market optimism returns
* Dollar gains against safe-haven Japanese yen, Swiss franc
By Herbert Lash
NEW YORK, Nov 7 (Reuters) - Oil prices rose and stocks rallied worldwide on Thursday after China said it had agreed with the United States to cancel tariffs in phases, a key consideration in reaching a deal to end a trade war that has crimped economic growth and roiled markets.
Wall Street's three main stock indexes hit record highs and a gauge of worldwide equity performance surged to a 21-month peak, with a pan-European index at its highest since July 2015 after regional shares rose for a fifth straight session.
The dollar gained after comments from a Chinese commerce ministry spokesman about the terms of a potential trade deal prompted investors to dump perceived safe havens such as the Japanese yen, the Swiss franc, bonds and gold.
No timetable was indicated, but a "phase one" deal is widely expected to include a U.S. pledge to scrap tariffs scheduled for Dec. 15 on about $156 billion worth of Chinese imports, including cellphones, laptop computers and toys.
The news from China was positive, but in a slowing economy with operating earnings trending lower year over year, "the fundamental justification for this market increase is pretty weak," said David Kelly, chief global strategist at JPMorgan Funds in New York.
Investors have few options outside of equities, with the return in money markets and long-term government debt below the rate of inflation, Kelly said. The economy is generating plenty of wealth but it is all going to the stock market, he said.
"The real driver (of the market rally) is that investors in the United State and around the world have got little alternatives available to them because of the actions of the central banks," Kelly said, "so they're funneling money into stocks."
MSCI's gauge of stocks across the globe gained 0.32%, while the pan-European STOXX 600 index closed up 0.37%. Trade-sensitive German shares rose 0.8% to close at their highest since February 2018.
Asia had been quiet overnight, with the China news arriving just before European markets opened. Automakers and miners were among Europe's top gainers.
The prospect of a recession diminishes if some tariffs are removed, said Peter Cardillo, chief market economist at Spartan Capital Securities in New York. "So that's positive for stocks."
On Wall Street, the Dow Jones Industrial Average rose 213.21 points, or 0.78%, to 27,705.77. The S&P 500 gained 11.61 points, or 0.38%, to 3,088.39 and the Nasdaq Composite added 34.48 points, or 0.41%, to 8,445.11.
The global benchmark for crude climbed above $62 a barrel. Brent crude settle up 55 cents at $62.29 and West Texas Intermediate added 80 cents to settle at $57.15 a barrel.
The dollar rose to near three-month highs versus the yen on the trade news, paring losses earlier in the session, while Australia's China-sensitive dollar hit a near four-month high.
The dollar index rose 0.19%, with the euro down 0.16% to $1.1047. The yen weakened 0.29% versus the greenback at 109.31 per dollar, while the dollar gained against the Swiss currency, trading up 0.29% at 0.9953 franc.
U.S. Treasury yields rose to eight-week highs.
The benchmark 10-year U.S Treasury note fell 34/32 in price to push its yield up to 1.9277%.
U.S. gold futures settled down 1.8% at $1,466.40 an ounce.
Copper got its customary lift from the China optimism as the country is the biggest buyer of the metal.
"Global markets in general are looking toward where trade goes," said Justin Lederer, an interest rates strategist at Cantor Fitzgerald in New York. "The market is being dictated by headlines and it's risk on, risk off."
Reporting by Herbert Lash, additional reporting by Karen Brettell in New York; Editing by Dan Grebler and Jonathan Oatis