Gold edges up but dollar strength, stocks recovery cap gains