Gold settled higher on Friday as the dollar whipsawed and a global flight from emerging market assets set global stock markets on course for their worst week so far in 2014.
The U.S. currency remained wobbly after registering its biggest one-day drop in three months on Thursday.
Spot gold hovered near $1,265 an ounce, retreating after touching $1,272.70, its highest since mid-November.
U.S. gold futures for February delivery settled $2 higher at $1,264.3 an ounce, up 0.9 percent on the week. This is the first time since September 2012 that the metal has managed a weekly gain five weeks in a row.
"General sentiment on equity markets has been quite downbeat, but the biggest factor here by far is the dollar," said Andrey Kryuchenkov, an analyst at VTB Capital.
"There's still room for growth with more short-covering. The market could well push toward $1,280 and $1,290 before coming lower. Gold will come down before the Fed," he added, referring to next week's U.S. monetary policy meeting.
(Read more: Huge short squeeze could spike gold: Experts)
Gold prices had rallied more than 2 percent on Thursday as a drop in the dollar and a call from India's ruling party chief to review import restrictions on bullion prompted a spate of short-covering.