Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why strategies disable when I manually close positions?

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

    Why strategies disable when I manually close positions?

    I've been experiencing something that it seems to be an expected behavior but I need to know if it is possible to change it. I got a strategy running that opens a position, then I manually close the position and the strategy gets disabled. Why would you do that?. I have developed strategies for other platforms MT4, FXCM Trading Station and Dukascopy JForex and in none of these you can find this feature.

    Thanks in advanced.

    Please watch this video:



    #2
    Hello mchiuminatto,

    Thank you for your post.

    This would indeed be expected behavior. In general manual actions (submitting manual orders, closing positions with the Close button, etc) are not suggested while working with NinjaScript strategies because it will not be aware of the changes. Pressing the Close button specifically will terminate the script. You can have the strategy create its own buttons, which you could then submit a strategy based close with, and that would not disable it. There is not a way to turn this behavior off.

    Please let us know if we may be of further assistance to you.

    Comment


      #3
      Understood, thanks Kate!!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, Yesterday, 09:41 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      31 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      30 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-25-2026, 09:53 PM
      0 responses
      34 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 03-25-2026, 09:51 PM
      0 responses
      19 views
      0 likes
      Last Post CaptainJack  
      Working...
      X