I want to implement a strategy like, after some amount of required profit I want to close all 3-4 legs, and open another position with the same legs and the same quantity. How can I implement this, any algo software will do this for me? Or any manual settings in any broker app?