Static and dynamic balancing valve