Dollar on track for weekly gain after Trump election win