Close first and last order together.
-
Hello guys, I am trying to close the first and last orders together as soon as a condition is met, but it is not closing properly.The rule is basic, when the newest order (first order) has a value greater than the value of the oldest order (last order), then close only these 2 orders.
Can you help me understand if I did something wrong?