Gold futures ended higher on Tuesday, as investors sought the safe haven of the metal with the dollar weakening after continued sell-off in global bonds weighed on markets.