This is a pretty simple question, and hopefully has a simple answer. I want to protect an existing position with a trailing stop, and I also want to have a profit target, at which point the position will automatically exit. Setting both of those up is pretty easy, but my question is, how do I do it so that when either one of those is triggered, the other is cancelled? I would have thought a trailing stop would automatically cancel when the underlying position is no longer there, but apparently that is not the case at IB. I'm sure there's probably an easy way to do this, since it's pretty basic stuff. Any guidance would be appreciated.