gold futures waver between gains and losses