Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Script in NT 6.5 does not work in NT 7

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

    Script in NT 6.5 does not work in NT 7

    I imported my strategy developed in NT 6.5 to NT 7. During the importing process, it asked something like "the file in the systeme is newer than the one importing. do you want to replace it?". I chose "No" because I am afraid the old file might not work with NT 7, and also I think NT 7 should be compatable with NT 6.5 on those files. However, when I tried to start my strategy in NT 7, it does not work. It looks like stopped after initialization (the initialization works). Any suggestion that how I shold deal with this issue?

    #2
    I would recommend making a backup of your indicator files and then reimporting the indicator this time selecting yes to import the files to see if this is the cause.

    Creating a Backup:

    Restoring a Backup:


    If not please see the following code breaking changes to NinjaTrader 7.

    Contains critical information including but not limited to migration, installation, connections and changes.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thanks, Brett! The back up of NT 6.5 could not be restored on NT 7 because of the incompatability. I tried to use importing again and chose Yes to all questions. And it still does not work. It did not say something like newer file, it just said xxx.cs already exist, do you want to replace it. I clicked Yes for all of them. From the log, I can tell that the initialization works for sure. However, it does not work in OnBarUpdate (I put and log as the 1st line in OnBarUpdate).

      Comment


        #4
        Hello,

        Sorry about the confusion I was not suggest a backup and restore from 6.5 to 7. I was suggesting that you backup yor files in 7 and select yes to all to get the indicator to import successfully, and you have the backup if something was to go wrong.

        As far as the indicator not working I can help you diagnose this if this is an indicator you have coded. Please post code are send me the code to support at ninjatrader dot com referencing this forum post. If this is a 3rd party indicator you will need to contact the indicator developer for assistance with this.

        We not write code, however I can help point you in the right direction into getting this to work.

        I look forward to assisting you further.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        574 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X