@jstap thank you for your help.
I was looking for something like this.
there are 10 buy positions. the #1 + #2 + #3 buy has running loss of 5$
there are 15 sell positions. the latest trades, lets say sell #12 + #13 + #14 + #15 has running profit of $9
check total profit > 4$
close those trades and ofcourse there will be some trades left which are negative trades.
i tried editing and couldnt make it work.
https://fxdreema.com/shared/7P9FCHVQc
Thank you.



