Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Missing strategy

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

    Missing strategy

    Hi,

    I've a problem when trying to start a strategy in a chart, the strategy compiles OK without any problems and I'm able to start it in the Control Center as shown below:


    but when trying to start the strategy in a chart, it doesn't appear:



    Any ideas?

    Thanks

    #2
    Hello,

    Thank you for your forum post.

    Your talking about RS_Template correct? If so can you please open that strategy in the NinjaScript editor and right click on it and select Save As and then give it a new name and recompile and let me know if this file under the new name shows up.

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      Hi Brett,

      I've been looking at my code cause it was working yesterday but today I added the following piece of code which seem to be problematic:

      public override void Dispose()
      {
      // Cleans up our Timer object
      exitTimer.Dispose();

      // Make sure you include base.Dispose() whenever you override the Dispose() method
      base.Dispose();
      }

      It used to work in NT6.5 but not anymore in NT7.

      Comment


        #4
        ryker,

        In NT7, please do not use the Dispose() method. Instead please use the OnTermination() method.

        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Hi Josh,
          Thanks for your quick answer I hadn't seen that link before, it is quite useful!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          77 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          40 views
          0 likes
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          63 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          63 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          53 views
          0 likes
          Last Post CarlTrading  
          Working...
          X