The dollar was set for its biggest weekly gain since October.