Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can you manually intervene and keep the strategy running?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can you manually intervene and keep the strategy running?

    Is there a way to, say, close an open strategy position but not have the strategy automatically disable itself?

    Thanks!
    Bryan

    #2
    Hello,

    Yes, there are a variety of ways that you can close your position within a strategy. Can you tell me how the associated entry order would have been placed? Would you be using the unmanaged approach, or the managed approach, and which methods would you use for entry? With that information, I can tell you the most common way to exit the position.
    Dave I.NinjaTrader Product Management

    Comment


      #3
      I know how to programmatically close the position within the strategy code. I am talking about clicking the "Close" button on the DOM or Chart Trader and still have the strategy continue running.

      Comment


        #4
        Hello,

        You can do this, but it is highly inadvisable. In this case, the strategy will not recognize the closure, and it will still consider you to be in a position. Then, when the strategy attempts to exit the position, you may end up with a new entry in your account. We highly recommend handling all entry/exit logic in your code, or disabling your strategy immediately after you manually close a position entered by the strategy.
        Dave I.NinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        46 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        22 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        14 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        21 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        23 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X