gold trades higher after three straight losses