Gold rallied Wednesday, hitting session highs over $1,240 an ounce, pushing gold miners higher and shrugging off a steadier dollar following better-than-expected U.S. economic data.
, lower initially, rose 0.76 percent to $1,241.41 an ounce, while U.S. gold futures for April delivery were up 0.93 percent at $1,242.30 an ounce.
Bullion, seen as a shelter for risk-averse investors, has rallied about 16 percent this year in the face of tumbling equities and fears of a global economic slowdown.
"We are still in the phase of investors filling their boots and that means the retracement we are seeing in gold is likely to be used as a buying opportunity," Saxo Bank senior manager Ole Hansen said.
On Wednesday, gold had started the day on the back foot along with other assets perceived as safer, including the Japanese yen, due to a rally in stock markets.
But a retreat in stocks after oil prices slipped generated renewed demand for the metal.
Gold rebounded even as the dollar gained 0.1 percent against a basket of currencies, after data showed the U.S. private employers added 214,000 jobs in February, above economists' expectations.
Investors will be watching more U.S. data to gauge the impact on stocks and the Federal Reserve's monetary policy, with the most important release being non-farm payrolls on Friday.
While gold faces firm resistance at $1,250-$1,260, "the market has built a solid and supportive base above $1,200" and there is enough risk sentiment and uncertainty to support the metal, HSBC said in a note.
"Elevated uncertainty among market participants is usually positive for gold, which is seen as a safe haven," Commerzbank analyst Daniel Briesemann said.
"Gold is definitely well supported by ETF inflows...as long as these continue, then gold should be in demand and the gold price could easily gain more ground."
Flows into bullion-backed exchange-traded funds (ETFs) continued to increase. Assets in SPDR Gold Trust, the world's top gold ETF, rose 1.15 percent on Tuesday to 786.20 tonnes, the highest since September 2014.