Gold whipsawed after the biggest weekly drop in more than 40 years, as the war in the Middle East entered its fourth week with the US and Iran trading threats of further attacks.