Close on average profit
-
Good day everyone
I am going to start with an example so everyone understands what I want to do. So lets say you open a buy trade at 1.300 with a TP set to 1.400 and another trade is opened at 1.000 with TP set to 1.100. I want to change both trades TP so combined that they close at the same time and by 10 pips profit. This means the TP will be set to ((1.300+1.000)/2+0.010). That means both TP will be 1.160.
-
@berg3699 The4 most effective way to do it is by storing those TP prices into different variables and then use as many 'formula' blocks as necessary to do that math.
-
Okay thank you I understand what I have to do. Thank you. I will have to add a ticker as well to calculate the division. If I struggle I will ask for more help
-
@berg3699 You'r welcome. Don't hesitate to be back if necessary.