Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop strategy

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

    Stop strategy

    Hello,

    how can I stop the running strategy using ninjasrcipt method? is there an simply solution for this?

    thanks for answer. Tom

    #2
    Hello Tom,

    This sample can help with best practice for stopping a strategy:
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Hello Ryan M

      thanks for link. I know this reference sample . I'd like to achieve to terminate the strategy using ninjascript as if I'd made it this way: when I set the the Enabled property to False manually within the Strategies dialog window . so the strategy will disable. I search an method for it to manage automatically from within the script. I hope I was understandable... is there some way?
      thanks. Tom

      Comment


        #4
        Tom,

        Please try: http://www.ninjatrader.com/support/h...t7/disable.htm
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          many thanks Josh! it's working well.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          239 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          155 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          164 views
          1 like
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          247 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          199 views
          0 likes
          Last Post CarlTrading  
          Working...
          X