Gold was set for a third daily rise on Tuesday, after a retreat in the dollar helped reverse earlier losses, while concern about Greece's debt crisis was expected to insulate the price from any severe declines.
A sharp rise in margins on U.S. oil futures dented the broader commodities complex but with so much investor focus on Greece and other indebted euro zone member states, gold was able to rally for a third day.
The oil margin hike came on the heels of consecutive margin increases on the COMEX silver futures in the past two weeks, which knocked silver prices down more than 25 percent last week and triggered a broad sell-off in commodities.
The euro edged higher, Greek government bond yields fell and safe-haven German Bund prices retreated on Tuesday on talk that a new aid deal for Athens could be in place as soon as next month.
But the fragility of Greece's finances as well as the impact of more potential bailouts for other indebted euro zone members was expected to support gold, in spite of a continued decline in global holdings of the metal in exchange-traded funds.
Spot gold recovered from a session low of $1,505.69 an ounce to be quoted 0.1 percent higher at $1,514.60 by 1110 GMT, set for a 1.5 percent gain this week.
COMEX gold edged up 0.8 percent to $1,515.00.
"This news this morning on the Greek debt situation and the dollar are balanceing the market, so the gold price isn't moving very much," said Commerzbank analyst Daniel Briesemann.
"We have seen a couple of (ETF) outflows over the last few days and this might have dragged the gold price down a little but the decrease we've seen over the last week isn't realated to anything specific on gold," he said.
GOLD HIT BY ROUT
Gold fell by more than 4.5 percent last week in its largest weekly slide in two years, caught up in a storm of selling that battered the entire commodity complex.
Global ETF holdings of gold have fallen to their lowest level this year, reflecting some of the investor push out of commodities in the last couple of weeks, and particulary last week when raw materials prices staged their biggest weekly since since late 2008.
Brent oil dropped $2 on Tuesday after a 25 percent margin hike on U.S. oil futures but later recovered to show just a 0.5 percent loss on the day.
"The margin hike decreases the bullish sentiment in the commodities market," said Ong Yi Ling, an analyst at Phillip Futures, adding that gold could drop towards $1,500.
Reflecting the discomfort among investors over Greek debt, gold priced in euros rose by 0.3 percent to 1,056.26 euros an ounce, nearing recent four-month highs above 1,060 euros. Euro-denominated gold rose by nearly 40 percent last year, when investors fled euro-priced assets as the region's debt crisis unfolded.
"While some sense of normality has been restored to precious metals markets following last week's beating, volumes are very light and as such the potential for exaggerated price moves is quite high," said UBS strategist Edel Tully.
"Gold looks quite comfortable at $1,500, and would profit from any escalation in concerns over Greece's debt sustainability. In this climate it is also worth paying attention to the euro price of gold," she said.
Spot silver reversed earlier losses and rose 1.3 percent to $38.39 an ounce, after posting a 6-percent rally in the previous session, its biggest one-day rise in six months.
COMEX silver rallied 4 percent to $38.58 an ounce.
Investors are watching China's inflation data, due Wednesday, which may shed light on if and how Beijing will further tighten up its monetary policy.
Platinum and palladium rose in line with gold and silver, with platinum up 0.3 percent at $1,794.74 an ounce, while palladium rose 0.7 percent to $731.22 an ounce.