TPSL Lines are placed in a multitude of ways within different exchanges. Due to this is can be hard to get things to close when we want them, especially when the trade closes on the exchange side.

To make sure we always clean up what we left behind, all old conditional orders are removed when a new trade is placed.
So if a trade closed and theres still conditional orders open, they will stay there until the next trade places.

Do not worry about these orders being left behind as they are placed as Reduce Only orders. This means when they are hit the only thing they can do is reduce an open position. If your position has closed, nothing will happen when they are hit.

I am working on making these lines cancel sooner across all exchanges, which will make things look better visually. However as it stands right now, things should function the way you'd expect.