comex gold ends higher for fourth session in a row