Category: Troubleshooting & Common Errors | Last Updated: April 2026
Occasionally a position opened by your Vector strategy may not close as expected — either because the connection dropped, the strategy was disabled mid-trade, or NinjaTrader restarted while the position was still open. Here's how to handle it safely.
Step 1: Do NOT re-enable the strategy if the position was opened by a strategy that's currently disabled or disconnected. Re-enabling mid-position can cause the strategy to close it in a way you didn't intend.
Step 2: Verify the position in the broker / firm dashboard. This is your source of truth, not the NinjaTrader Account window (which can show stale data).
Step 3: Manually flatten via NinjaTrader. If the connection is live and you see the position in the Account window: - Right-click the account → Flatten Everything (closes all open positions on that account), or - Right-click the specific position → close that one position
Step 4: If NT can't close it, log into your broker / firm platform directly (Rithmic R|Trader, Tradovate web, or firm dashboard) and close the position there.
Step 5: Once the account is flat, you can restart NinjaTrader if needed to reset its state, and re-enable your strategies for the next session's routine.
Connection drops during active trades are broker-side and not something you can eliminate from your end. What you can do:
A stuck position is almost always the result of a connection drop or disabled strategy mid-trade. Don't re-enable the strategy reactively; instead, verify the position on your broker/firm dashboard and flatten manually (NT's "Flatten Everything" or direct on the firm platform). For recurring issues, open a support ticket.