Help Needed: Modify EA to Close Orders at 0.5% Profit and 4% Drawdown
-
I have a system that closes all orders when the account experiences a 4% drawdown. Now, I also need it to close all orders when the account has a 0.5% profit on the deposit amount.
Clarifying with an example:
Deposit: 10,000
I currently have 10 open orders, some negative and some positive, but there is currently a profit of 50 dollars. I need the robot to close all orders and terminate. -
@tiagocys This is the way:

-
I think you need to use something more like this, you can use with unrealised if you want: https://fxdreema.com/shared/KFmMNkqib