Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Import / Export strategies

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

    Import / Export strategies

    There are a few strategies that I forgot to export out of NT 6.5 back when I did the migration. I want to use parts of these now. The reason I have the NT 6.5 strategy files is from a very old HDD backup archive.

    My machine is running Win 7 with SP1 already installed.

    My thought this morning was to install NT 6.5 again, export the strategies that I missed and then import them into NT 7.

    The download page is telling me that NT 6.5 isn't compatible with WIN 7 SP1. Is there any way around this? Will cut and paste into a new strategy work?

    Thanks in advance.

    #2
    Originally posted by 8DTK8 View Post
    There are a few strategies that I forgot to export out of NT 6.5 back when I did the migration. I want to use parts of these now. The reason I have the NT 6.5 strategy files is from a very old HDD backup archive.

    My machine is running Win 7 with SP1 already installed.

    My thought this morning was to install NT 6.5 again, export the strategies that I missed and then import them into NT 7.

    The download page is telling me that NT 6.5 isn't compatible with WIN 7 SP1. Is there any way around this? Will cut and paste into a new strategy work?

    Thanks in advance.
    Why not just copy the strategy cs files to the correct location in your NT7 installation?

    Comment


      #3
      Originally posted by koganam View Post
      Why not just copy the strategy cs files to the correct location in your NT7 installation?
      I think there are small differences in code that get compensated for when the import / export is done.

      For example in the Properties section, instead of [Category("Parameters")]
      that 6.5 has, 7's syntax is [GridCategory("Parameters")].

      I don't know if little things like this matter (since I'm not a very advanced programmer), but I don't want to go arounnd hunting for errors.

      Comment


        #4
        8DTK8, that is the main difference. Koganam's suggestion is what I would also suggest. As soon as you try compiling, the errors will pop up and you can correct them. If you exported -> imported, the indicators wouldn't even import if errors were present.
        AustinNinjaTrader Customer Service

        Comment


          #5
          That worked. Thank you both very kindly.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by rocketman7, Today, 01:00 AM
          0 responses
          1 view
          0 likes
          Last Post rocketman7  
          Started by wzgy0920, 04-20-2024, 06:09 PM
          2 responses
          27 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 02-22-2024, 01:11 AM
          5 responses
          32 views
          0 likes
          Last Post wzgy0920  
          Started by wzgy0920, 04-23-2024, 09:53 PM
          2 responses
          74 views
          0 likes
          Last Post wzgy0920  
          Started by Kensonprib, 04-28-2021, 10:11 AM
          5 responses
          193 views
          0 likes
          Last Post Hasadafa  
          Working...
          X