This article explains how OCO (One Cancels Other) exit orders behave differently in TradingView/Tradovate and NinjaTrader, and what this means when you copy trades with Replikanto. Understanding this difference is critical because it affects how stop-loss and take-profit orders are managed in your follower accounts.
How OCO orders work
OCO orders link two exit orders together — typically a take-profit (TP) and stop-loss (SL) — so that when one is filled or canceled, the other is automatically handled. However, the way this works differs between platforms.
NinjaTrader OCO behavior
The One Cancels Other functionality ties two resting orders together, so that when one is canceled or filled, the other will be canceled automatically. This is a more comprehensive approach to exit order management.
TradingView/Tradovate OCO behavior
TradingView uses OCO differently — it only cancels the other order when one is filled by the market. If you manually cancel one of the exit orders that is part of an OCO group, it will not cancel the other. For example, if you manually cancel the TP exit order, the SL exit order will remain active.
Side-by-side comparison
| Scenario | NinjaTrader | TradingView/Tradovate |
|---|---|---|
| Market fills one order | Other order cancels automatically | Other order cancels automatically |
| Trader manually cancels one order | Other order cancels automatically | Other order stays active |
Implications for Replikanto users
When you use Replikanto to copy trades from TradingView or Tradovate Web, there's an important behavioral difference you need to understand.
How Replikanto handles OCO orders
Replikanto places exit orders using NinjaTrader's OCO logic — even when copying from TradingView or Tradovate Web. Each exit order group gets an OCO ID to keep them linked, matching the lead account's structure.
The risk scenario
Here's where the difference matters: when a trader manually cancels one exit order (say, the TP) in TradingView or Tradovate Web:
- In TradingView/Tradovate: The opposite order (SL) remains active — the trade stays protected.
- In NinjaTrader (where Replikanto places the orders): Both orders are canceled — the follower account is left with no exit orders at all.
What this means for your trading
If you're not actively monitoring your follower accounts, you could end up with an open position that has no stop-loss or take-profit protection. This gap in coverage can lead to significant unexpected losses.
Recommendations
- Monitor follower accounts closely: Especially when you manually modify or cancel exit orders in your lead account.
- Set up alerts: Configure notifications for positions without exit orders in your follower accounts.
- Review after manual changes: After manually canceling any exit order in TradingView/Tradovate, immediately check your follower accounts to verify exit order status.
- Consider automation: Use risk management tools that can detect and alert on positions missing exit orders.
Example scenario
You're copying trades from TradingView to a NinjaTrader follower account. You enter a long position with TP at 1.1000 and SL at 1.0950. Later, you manually cancel the TP in TradingView because you want to let the profit run. In TradingView, the SL stays active and your position remains protected. In your NinjaTrader follower account, Replikanto cancels both orders per NT's OCO logic — leaving the position completely unprotected. Without active monitoring, you won't know your follower account has no exit orders until it's too late.
Comments
0 comments
Article is closed for comments.