Chinese shares jumped the most in more than two years on investor hopes of fresh government spending and amid a pause in the trade tensions, while the dollar slid versus the yuan and a currency basket.
A weak dollar makes dollar-priced gold cheaper for non-US investors.
"We should start bottoming out around $1,200 because we don't expect a sell-off in the yuan from these levels. We think the authorities will (act to) stabilize it," Boele said.
Spot gold gained 0.3 percent at $1,210.06 per ounce by 1:38 p.m. EDT (1738 GMT), while US gold futures for December delivery settled up 60 cents, or 0.1 percent, at $1,218.30.
Investors could also be short-covering, said Bart Melek, head of commodity strategy at TD Securities.
"We're not seeing a lot of gold long extensions. And because we've been quite short, you might be seeing some short-covering," Melek said.
US data recently showed investors added 13,931 contracts to their net short position in the week to July 31, bringing it to 41,087 contracts, the biggest since records became publicly available in 2006.
Global shares climbed amid the Chinese stocks rally and as European oil and mining stocks increased after the United States moved to reimpose sanctions on Iran.
Sanctions include precious metals, US banknotes, steel and coal. Traders expect more Iran gold demand as investors seek to use bullion to operate globally, Melek said.
"We believe a reversal in gold prices is in the offing, as speculation of a trade war and Iranian sanctions are turning into reality. Further, record short investors positions in gold strengthen our conviction of a price recovery in H2," ANZ analysts said in a note.
Silver rose 0.7 percent at $15.37 an ounce. Platinum gained 0.6 percent at $825.74 per ounce, while palladium increased 0.3 percent at $906.55.