Gold prices increased on Friday, gaining support in risk aversion ahead of G-7 talks this weekend, but remaining hemmed within its narrowest weekly range in more than a decade as the dollar recovered.
Expectations that the U.S. Federal Reserve will announce another rate increase next week are also weighing on gold. Higher rates lift the opportunity cost of investing in non-yielding assets such as bullion.
Spot gold was up 0.15 percent at $1,298.70 an ounce by 2:45 p.m. ET, while U.S. gold futures for August delivery settled down 30 cents at $1,302.70.
Gold has moved little since last Friday's close, with the spread between its highs and lows the narrowest of any week since August 2007 at just $13.70 an ounce
"There are offsetting factors - now you have some upside to the dollar, but at the same time you have a bit of noise coming up on the trade side with the G-7 upcoming," ABN Amro analyst Georgette Boele said.
Next week's Fed meeting, and a meeting of the European Central Bank, are also in focus, she added.
"It'll be important what the direction from the Fed is," she said. "We are still expecting two more hikes after next week."
World stocks fell on Friday as expectations of trade tensions dominating this weekend's summit of G-7 countries weighed on risk sentiment.
The dollar edged off a three-week low to rise a quarter-percent against the euro.
Leaders of the Group of Seven rich nations headed for a summit in Canada more divided than at any time in the group's 42-year history, as U.S. President Donald Trump's "America First" policies risk causing a global trade war and deep diplomatic schisms.
Trump is set to meet North Korean leader Kim Jong Un on June 12 in Singapore, the same day as the Federal Open Market Committee starts its two-day meeting on interest rates.
"We also do not expect gold to make any lasting gains ahead of next week's Fed meeting," Commerzbank said in a note. "Price-supportive factors are in short supply at present."
Silver was up 0.35 percent at $16.72, after hitting its highest in more than six weeks on Thursday. It was on track for a 2.2 percent rise for the week, its biggest in seven weeks, in line with gains in industrial metal copper.