Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy becomes inactive when I press "Close" button on Chart Trader

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

    Strategy becomes inactive when I press "Close" button on Chart Trader

    Hello everyone!

    I developing a strategy. My strategy name is "SAT4".
    I faced a problem : When I press "Close" button on Chart Trader, my strategy becomes inactive so that "Enabled" check mark in the "Strategies" becomes empty. I noticed that when my strategy is active there is "SAT4" label on upper left corner of my chart window, and when I press "Close" button it changes on "(D) SAT4".

    Help me please!

    #2
    Hello AntonTymoshchuk,
    Thanks for your post.

    A NinjaScript strategy is a self contained automated trading system, and orders generated are live. Canceling strategy-generated orders manually can cause your strategy to stop executing as expected. If you wish to manually cancel an order, terminate the strategy itself.

    If you want to be able to manually manage orders submitted by your strategy you will need to look into the ATM Strategy Methods.



    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Hello NinjaTrader_JoshG ,
      Thank you very much for your answer.

      I understood this feature of the strategies, and I will make a few changes in my strategy, and I will use ExitShort(…) and ExitLong(…) methods.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      90 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      137 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      120 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X