Gold futures snapped a three-day loss to end higher on Friday, as the dollar trended lower against some major currencies after some disappointing economic data from the U.S. with a weaker than expected increase in labor costs and consumer sentiment pulling back more than previously estimated in July.