🍂 Autumn Savings 🍂 Autumn Savings 20% OFF Sitewide – Up to 50% OFF Select Products View Promotions Ends in Wednesday, October 14 🏆 Compare Trade Copiers →
Support

How To Reset Frozen Orders In NinjaTrader

By Affordable Indicators· November 7, 2024·2 min read
How To Reset Frozen Orders In NinjaTrader

In certain situations, it is possible for orders to get locked in an order state. This can happen on all types of accounts depending on how orders have been placed or moved. With simulated accounts that have been added to NinjaTrader, you can reset the account to clear these orders.

Simulated Accounts

To reset a simulated account, in the NinjaTrader Control Center, Accounts Tab, select the account that has the locked orders. Right click on this account and click “Edit Account…” and in the Properties area, click “reset” and make sure Clear History is checked, then click Yes.

Reset The Database

Resetting the database is the recommended method for removing locked orders across prop firm accounts or live accounts. It is also best for simulated accounts too. This will remove all order history across all accounts, without resetting account performance statistics. You must disconnect from all open connections prior to resetting the database.

In the Control Center, Tools Menu, select Database Management. In the Database window, select Reset DB, and make sure only Historical orders are selected, and hit the Reset button. You will also need to restart NinjaTrader for the database operation to complete.

Restart NinjaTrader

If orders continue to freeze when being placed, or if you are getting the error “Close operation failed. Operation timed out. Manually close your position”, you should restart NinjaTrader after completing the steps above, and it will resolve the issue.

Before You Reset Anything On A Live Or Prop Firm Account

A locked order in NinjaTrader is not always gone at the broker. Before you reset the database on a live or prop firm account, 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.

A Quick Checklist

  1. Note the account, instrument and order that is stuck, and check the Log tab in the Control Center for any related messages.
  2. Try cancelling from the Orders tab in the Control Center first.
  3. For a simulated account, reset the account as described above.
  4. Otherwise, disconnect every connection, reset the database with only Historical orders selected, and restart NinjaTrader.
  5. Reconnect and confirm the Orders and Positions tabs match what your broker shows.

Frozen Orders Or A Frozen Platform?

If the whole of NinjaTrader stops responding, not just one order, the steps above will not help. See NinjaTrader Freezing or Not Responding? instead. For simulated accounts, the Help Center also has a step-by-step version: How Do You Reset Frozen Orders in NinjaTrader?

Trade with the right tools. Our NinjaTrader trade copier mirrors your trades across every prop-firm account, and our chart trader tools put one-click order management on your chart — lifetime licenses, free updates, live chat support.
See the trade copier →
Buy with Confidence · 🛡️ 8,000+ customers · ⭐ 4.8 Trustpilot · 🏆 18 years programming experience