When you manually cancel a Take Profit (TP) order in TradingView, you may notice that the paired Stop Loss order on your NinjaTrader follower accounts also gets cancelled. This is due to a fundamental difference in how TradingView and NinjaTrader handle OCO (One-Cancels-Other) bracket orders.
TradingView's OCO Behavior
TradingView only triggers OCO cancellation when one leg is executed (filled). When you manually cancel one leg of a bracket (like your TP), the other leg (stop) survives as a standalone order. Your stop remains working on TradingView/Tradovate.
NinjaTrader's OCO Behavior
NinjaTrader treats OCO groups as atomic units. When any leg is removed, whether by fill or by manual cancel, the entire OCO group is dissolved and the paired order is cancelled. This is standard NinjaTrader behavior.
What Happens
When bracket orders are replicated to NinjaTrader, Tradovate assigns OCO IDs to group the TP and stop together. When you cancel the TP in TradingView, Replikanto correctly propagates that cancellation to the follower accounts. However, NinjaTrader then applies its OCO logic and cancels the paired stop orders as well.
This is not something Replikanto can override. The OCO grouping is assigned by Tradovate when the orders arrive, and the group cancellation is enforced by NinjaTrader's order management system.
Workarounds
- Place TP and stop as separate, unlinked orders in TradingView (do not use bracket orders)
- Cancel the TP directly on the follower accounts in NinjaTrader rather than in TradingView
Comments
0 comments
Article is closed for comments.