(Adds gold, oil settlement prices)
* World stocks index within 1 point of January 2018 record
* U.S. economic data also buoys stocks, lifts dollar
* Chinese shares fall on weak industrial profits
* Safe-haven gold heads for worst month in almost three years
By Herbert Lash
NEW YORK, Nov 27 (Reuters) - The U.S. dollar rose and a gauge of global equities pushed closer to an all-time high on Wednesday after a batch of U.S. economic data brightened the economic outlook and investors remained bullish on the prospect of a U.S.-China trade accord.
Stocks on Wall Street set fresh all-time highs, the latest surge after the Dow Industrials, S&P 500 and Nasdaq indexes closed at new records in five of the past eight sessions.
MSCI's gauge of stock markets across the globe gained 0.35% and hovered about 1 point from an all-time high of 550.63 established in January 2018.
Major pan-European equity indexes traded at highs last seen in 2015 while MSCI's emerging markets index also gained, all bolstered by hopes the United States and China were close to reaching an initial deal to end a 16-month trade war.
An improving economic outlook for 2020 has given investors more to cheer, said Joseph LaVorgna, chief economist for the Americas at French bank Natixis in New York.
"Basically, as goes the stock market so goes the economy, at least for now, and the equity market is telling you things are going to pick up," LaVorgna said.
"If you look at what the equity market is telling us it is consistent with a pick-up of GDP growth next year," he said.
The pan-European STOXX 600 index rose 0.32% while earlier in Asia Japan's Nikkei rose 0.28% and most other Asian markets gained on hopes of a trade deal.
Chinese shares fell as weak industrial profit data highlighted growing strains on China's economy.
The Dow Jones Industrial Average rose 46.72 points, or 0.17%, to 28,168.4. The S&P 500 gained 12.79 points, or 0.41%, to 3,153.31 and the Nasdaq Composite added 49.35 points, or 0.57%, to 8,697.29.
Adding to optimism was data showing U.S. economic growth picked up slightly in the third quarter, rather than slowing as initially reported in October, and other data indicated U.S. consumer spending rose steadily last month.
Two other U.S. economic reports showed orders for non-defense capital goods excluding aircraft, a closely watched proxy for business spending plans, surged 1.2% in October while initial claims for state unemployment benefits declined.
The dollar index rose 0.13%, with the euro down 0.15% to $1.1001.
The Japanese yen weakened 0.47% versus the greenback at 109.58 per dollar.
Sterling continued to wobble as pre-election opinion polls showed some narrowing of British Prime Minister Boris Johnson's Conservatives lead over opposition parties, even though he remains favoured to gain an overall majority.
Kay Van-Petersen, global macro strategist at Saxo Capital Markets in Singapore, said while trade hopes might be driving some tactical, near-term moves in the market, they were mostly just "noise." The Federal Reserve policy is more important.
The broader market direction is "about the accommodative Fed and accommodative monetary policy and the fact that structurally the meta-trend is still lower in yields and rates," he said.
China had seized on the plunge in borrowing costs to issue its biggest international bond ever on Tuesday.
The benchmark 10-year U.S. Treasury note fell 8/32 in price to lift its yield to 1.7671%.
In Europe, core European government debt yields rose slightly, with yields on benchmark German 10-year bonds pushing above one-month lows.
Benchmark German 10-year bond yields traded at -0.371%, holding above a November low of -0.384%.
Oil edged lower after a report showing U.S. crude inventories grew unexpectedly last week, but optimism that a U.S.-China trade deal would be reached soon limited losses.
U.S. West Texas Intermediate crude fell 30 cents to settle at $58.11 a barrel. Global benchmark Brent crude settled down 21 cents to $64.06 a barrel.
U.S. gold futures settled 0.5% lower at $1,453 per ounce, heading for its worst month in almost three years after a 3.5% drop.
Reporting by Herbert Lash Editing by Sonya Hepinstall