Close partially multiple trades with "Once per Trade/Order"
-
Hi fxDreema
,when multiple orders was open (at different time) the EA can't partially close them at the same time but close the oldest opened first and then the second older etc.
Probably the "once per trade/order" block is not set in the proper manner.
Can somebody help me to figure it out how to close partialy multiple orders at the same time?
Thanks
-
-
@timmyhanke Does not Work

-
-
@timmyhanke this is the problem https://fxdreema.com/shared/ESxE09kI
-
For each trade - check trade count condition partly close should work, then it selects all of the orders either buy and sell and partly closes everyone of them
-
Problem solved

-
and the solution was ?

just so i maybe can learn something new and to anyone else reading this post

-
@timmyhanke I've used a "Group function", so I have divided order in group 1, group 2 etc. and then for each group I've created a specific (for each group) close order.
Order (Buy or sell) Group 1 --> Close order Group 1
Order (Buy or sell) Group 2 --> Close order Group 2
and so on......