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 StockTrader88, 03-06-2021, 08:58 AM
          44 responses
          3,967 views
          3 likes
          Last Post jhudas88  
          Started by rbeckmann05, Today, 06:48 PM
          0 responses
          4 views
          0 likes
          Last Post rbeckmann05  
          Started by rhyminkevin, Today, 04:58 PM
          4 responses
          55 views
          0 likes
          Last Post dp8282
          by dp8282
           
          Started by iceman2018, Today, 05:07 PM
          0 responses
          6 views
          0 likes
          Last Post iceman2018  
          Started by lightsun47, Today, 03:51 PM
          0 responses
          8 views
          0 likes
          Last Post lightsun47  
          Working...
          X