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 Karado58, 11-26-2012, 02:57 PM
          8 responses
          14,825 views
          0 likes
          Last Post Option Whisperer  
          Started by Option Whisperer, Today, 09:05 AM
          0 responses
          1 view
          0 likes
          Last Post Option Whisperer  
          Started by cre8able, Yesterday, 01:16 PM
          3 responses
          11 views
          0 likes
          Last Post cre8able  
          Started by Harry, 05-02-2018, 01:54 PM
          10 responses
          3,203 views
          0 likes
          Last Post tharton3  
          Started by ChartTourist, Today, 08:22 AM
          0 responses
          6 views
          0 likes
          Last Post ChartTourist  
          Working...
          X