I considered that but then I saw this https://quant.stackexchange.com/que...r-when-price-hits-a-certain-level-with-ib-tws which suggests that you can't add conditions to trailing stop orders. Although that was 3 years ago, perhaps it's changed since then.I don't have IB in front of me, but wouldn't a conditional order accomplish this?