Gold prices on Friday notched a third weekly gain in a row, settling at their highest level in a year with the dollar and U.S. Treasury yields trading lower for the week.

The yellow metal saw a roughly 1.6% weekly gain for the most-active futures contract, as continued strength in the euro pushed the buck toward its worst week in months.

Read:Gold bulls are looking for a ‘major breakout’ above $1,400 an ounce

Gold for December delivery US:GCZ7 tacked on 90 cents, or less than 0.1%, to settle at $1,351.20 an ounce, pulling back from an intraday high above $1,362. The settlement was the highest since Sept. 6, 2016, for a most-active contract, according to FactSet data.

The SPDR Gold Shares exchange-traded fund GLD, +0.13% shed 0.1% in Friday trading, but looked at a weekly rise of 1.5%.

“Gold is likely to hold its gains and could move substantially higher if the outlook for the equity market darkens,” said Michael Armbruster, managing partner at brokerage firm Altavest.

U.S. equities were mixed Friday, but the stock market’s benchmark indexes traded lower for the week.

The ICE U.S. Dollar Index DXY, +0.03% , a gauge of the greenback’s performance against six rivals, fell 0.4% to 91.337, set for a weekly loss of 1.6%. That would be the biggest weekly decline since the past week of June. The WSJ Dollar Index BUXX, +0.17% , which measures the buck against a larger basket of currencies, lost 0.3% to 84.48. Weakness in the greenback often boosts dollar-denominated prices of gold.

Risk-off sentiment hinged in large part on reports that Pyongyang may launch another missile on Saturday as it celebrates North Korea’s Foundation Day. Meanwhile, Hurricane Irma is forecast to make landfall in Florida late Saturday or early Sunday, posing safety and economic concerns so soon after Hurricane Harvey.

Gold’s ability to hold above $1,300 an ounce is certainly “meaningful since it asserts a near-term positive trend and demonstrates solid conviction among bullish speculators,” said Rob Haworth, senior investment strategist with U.S. Bancorp Wealth Management.

Over the longer-term, however, he said “the technical condition for the market remains in neutral and the near-term extended bullish exposure for futures investors implies a pause.”

Contributing to the dollar’s decline and gold’s climb this week, the 10-year Treasury yield TMUBMUSD10Y, 0.701% hit a 10-month low at 2.061% on Thursday. It edged up to 2.065% Friday, but was down about 2.6% for the week. Gold’s nonyielding status typically leaves it moving opposite to Treasury yields.

Other metals on Comex ended mostly lower, with December silver US:SIZ7 at $18.123 an ounce, up less than a cent for the session—for a weekly rise of 1.7%. December copper US:HGZ7 fell 10.2 cents, or 3.2%, to $3.042 a pound, settling down 2.5% for the week.

October platinum US:PLV7 shed $4.50, or 0.4%, to $1,012.30 an ounce, still up 0.3% from a week ago, while December palladium US:PAZ7 lost $17.60, or 1.9%, to $931.25 an ounce, with prices suffering a 4.7% weekly loss.