On both entry windows there is an action button "CLOSE" which will close a position or a strategy depending on what mouse button is pressed.
When a position or strategy is closed, NinjaTrader goes through the following process:
Assume we are long the SP Emini contract at an entry price of 1000.
The exception are currencies (FOREX) where all working orders are cancelled and then a market order is submitted to close the position.
Why not just submit a market order?
A lot of traders consume near 100% of their available margin. For example, you may have 1 contract position with one stop and target that consumes 90% of your margin. If you close a position by submitting a market order, the market order will get rejected due to insufficient funds and therefore cause grief if getting out of the position is critical.
The NinjaTrader approach offers several benefits:
This approach essentially guarantees the most efficient way to exit a position.