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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      77 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      27 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      63 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X