Gold gains more than $19 upon settlement and records weekly gains