🍂 Autumn Savings 🍂 Autumn Savings 20% OFF Sitewide – Up to 50% OFF Select Products View Promotions Ends in Monday, November 2 🏆 Compare Trade Copiers →

How Do You Reset Frozen Orders in NinjaTrader?

This article walks you through how to clear frozen or stuck orders on your NinjaTrader chart, typically seen in simulated accounts.

This page is about orders that are stuck in NinjaTrader, on a simulated, live or prop firm account. If the whole NinjaTrader platform is frozen or not responding, see NinjaTrader freezing or not responding.

Orders can get locked in one state in NinjaTrader on any type of account, simulated, live or prop firm, depending on how they were placed or moved. On a simulated account they usually show up as yellow orders that cannot be clicked. If you’re seeing orders stuck on your chart that won’t go away, there are two primary methods to clear them. On a live or prop firm account, read Live and prop firm accounts below first.

Method 1: Reset the Simulated Account

  1. In the NinjaTrader Control Center, go to the Accounts tab.

  2. Select the simulated account with the frozen orders.

  3. Right-click on the account and choose Edit Account…

  4. In the Properties section, click Reset.

  5. Ensure Clear History is checked, then confirm by clicking Yes.

  6. The NinjaTrader 8 platform may appear unresponsive during this process—wait patiently, and it will complete the reset.

This method clears all order and performance history for the simulated account.

Method 2: Remove Frozen Orders Without Clearing History

  1. Disconnect from every connection first. The database cannot be reset while a connection is open.

  2. In the Control Center, go to Tools > Database Management.

  3. In the Database Management window, check the option for Reset DB.

  4. Make sure only Historical Orders is selected.

  5. Click the Reset button.

Restart NinjaTrader afterwards: the reset only completes on restart. This method removes frozen orders while preserving your performance statistics. It clears the order history of every account in NinjaTrader, not just one, and it is the method to use on live and prop firm accounts.

By using either of these methods, you can effectively remove frozen orders and keep your chart clean and functional.

Before you reset

  • Try cancelling first. In the Control Center, open the Orders tab, right-click the stuck order and choose Cancel. If it cancels, you do not need either method.
  • Make a backup. Both methods remove saved history. To keep a copy of your setup, go to Tools > Export > Backup File in the Control Center first.

Live and prop firm accounts

A locked order on a live or prop firm account is not always gone at the broker. Before you reset anything, check the account on your broker’s or firm’s own platform and confirm whether the order is still working there. If it is, cancel it there or ask the firm’s support to cancel it. Resetting NinjaTrader’s database clears what NinjaTrader shows; it does not cancel anything at the broker.

  1. Note the account, instrument and order that is stuck, and check the Log tab in the Control Center for related messages.
  2. Try cancelling from the Orders tab first.
  3. If that fails, disconnect every connection, reset the database with only Historical Orders selected (Method 2) and restart NinjaTrader.
  4. Reconnect and confirm the Orders and Positions tabs match what your broker shows.

Method 1 is for simulated accounts only. If orders keep freezing as you place them, or you see “Close operation failed. Operation timed out. Manually close your position”, restart NinjaTrader after these steps.

Which method should I choose?

Use Method 1 (simulated accounts only) when you are happy to start the account fresh. The reset clears its orders, positions and trade history and puts the account back to its starting cash value. Method 1 only affects the simulated account you selected; your other accounts are left as they are. Use Method 2 on a live or prop firm account, or when you want to keep your performance history and only remove the stuck orders.

After either method, restart NinjaTrader and check the Orders tab and your charts. If frozen orders keep coming back, take a screenshot of the Orders tab and the Control Center Log tab and send it to us through the help chat. On a live or prop firm account, also contact your broker or firm: they can see the order on their side.

Related help articles

Still need help? Browse every answer in the Help Center, or use live chat on our website and we will help you directly.