metals shares end higher, following strength in gold