(Adds oil, gold settlement prices)
* China data, investor caution before Brexit vote, hits markets
* China GDP grows 6.0% in third quarter, near three-decade low
* Dollar weakens ahead of Brexit vote on Saturday
* Benchmark government bond yields nudge higher
By Herbert Lash
NEW YORK, Oct 18 (Reuters) - The dollar headed for its worst week in almost four months on Friday, pummelled by sterling and euro rallies driven by a deal on Britain's departure from the European Union, while China's weakest growth in nearly three decades weighed on equities.
The dollar crept lower against the euro as the common currency enjoyed a lift from hopes a Brexit deal could improve the odds of the euro zone avoiding a recession.
Dismal manufacturing data and worries the U.S.-China trade war could slow euro zone economies even further have rattled the euro this year, while fears of a disorderly Brexit slammed sterling.
"We can easily tell what's driving the euro, and that's a potential Brexit deal. We're going to find out this weekend whether this is going to turn into a realty or whether it's a pipe-dream," said Paul Mendelsohn, chief investment strategist at Windham Financial Services in Charlotte, Vermont.
The euro rose 0.16% to an almost two-month high of $1.114. Sterling edged up 0.05% to a five-month high of $1.2895.
British Prime Minister Boris Johnson confounded his opponents on Thursday by clinching a new deal with the EU, even though the bloc had promised it would never reopen a treaty agreed on last year.
Parliament will vote Saturday on a deal that could lead shares in British-oriented businesses, such as housebuilders and retailers, to rocket to record highs if approved. Investors also predict the pound will rally around 5%.
Michael Hewson, chief market analyst at CMC Markets in London, said however members of parliament cast their vote, the Brexit saga is unlikely to be over.
"If MPs do hold their noses and vote for the deal, at least we can move on to phase 2 which is negotiating the new relationship over the next 14 month transition period," he said.
Gloomy earnings reports from French carmaker Renault and food group Danone drove European shares lower while negative headlines about Johnson & Johnson and Boeing on Wall Street offset generally positive U.S. corporate earnings.
MSCI's gauge of stocks across the globe shed 0.14% while the FTSEurofirst 300 index of leading European shares closed down 0.38%.
Bleak Chinese economic data also soured risk appetite, with the Shanghai Shenzhen index falling 1.2%.
Asian stocks stumbled after China's third-quarter growth slowed more than expected to its weakest pace in almost three decades as the bruising U.S. trade war hit factory output. Gross domestic product (GDP) rose 6.0% year-on-year.
Wall Street also edged lower on worries about the global economy following China's GDP data, and dragged down by Johnson & Johnson after it moved to recall a batch of baby powder.
Robust earnings from Coca-Cola Co, Schlumberger NV and American Express Co helped mitigate the losses.
The Dow Jones Industrial Average fell 179.24 points, or 0.66%, to 26,846.64. The S&P 500 lost 5.04 points, or 0.17%, to 2,992.91 and the Nasdaq Composite dropped 49.33 points, or 0.6%, to 8,107.52.
Euro zone bond yields rose a day before the Brexit vote. Yields have generally pushed higher since Irish and British leaders said a week ago they saw a path to a deal, boosting risk appetite and eroding demand for safe-haven assets such as bonds.
Germany's 10-year Bund yield was at -0.39%, after touching its highest since late July on Thursday.
U.S. Treasury yields fell as investors awaited the Brexit vote on Saturday, with the benchmark 10-year U.S. Treasury note up 2/32 in price to push yields down to 1.7484%.
Oil prices edged lower as concerns about China's economy outweighed bullish signals from its refining sector.
Benchmark Brent crude oil futures settled down 49 cents to $59.42 a barrel. U.S. West Texas Intermediate (WTI) crude futures fell 15 cents to settle at $53.78 a barrel.
Gold steadied, helped by a weaker dollar. U.S. gold futures settled 0.3% lower at $1,494.10 an ounce.
Reporting by Herbert Lash Editing by Chris Reese and Tom Brown