Gold halts 4-day losing streak, clings to 5-DMA