How can you define a condition that if a order is closed by a opposite direction (long or short) two seperate orders are triggered? One long order to close the open short in this example and one additional long order?Like in this example i'm using the alert function so everytime this happens my order is closed but in reality the opposite order is still running
Ideally i would prefer a way to avoid the trade #267. So if the short is closed by a long or vice versa it just closes the order without creating a new one in that direction. What is the best way to do this?
Couldn't find a solution yet