Gold futures ended sharply higher for a fifth straight session on Wednesday, after investors sought its safe haven appeal as global equity markets continued to roil in the aftermath of China’s surprise devaluation of its currency yesterday.