Take Profit by Hedge calculation
-
I have an EA that works with (Hedge).
I'm trying to create a rule but I don't know if I'm doing it right, can you help me?In the image I have marked rule 1 and rule 2 in red
Rule (1) is for (Hedge) to end trading after a calculation that I created for dynamic take profit.
This rule is applied only after the 3rd order is opened, when this order is opened the take profit is calculated in a way to close the profit positions. I want to know if it is correct to do it this way.Rule (2) is for the 1st and 2nd trades to end trades with the same take profit value.
Are the blocks I set up right?
-
@fabiobioware You are limiting to 1 open trade to be checked on the left and two on the right. Why that difference?
-
@l-andorrà said in Take Profit by Hedge calculation:
You are limiting to 1 open trade to be checked on the left and two on the right. Why that difference?
You are limiting to 1 open trade to be checked on the left and two on the right. Why that difference?
Because the first 2 open orders have a take profit target of 200 pips, so their take profit has to be the same.
From the third open order, take profit becomes dynamic.
-
@fabiobioware Then I recommend you to use goups to distinguis those trades. Just use as many groups as you need and then manage them differentñy but without limiting the number of trades as per your current project.