Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Porting Indicators from NT 6.5 to NT 7

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

    Porting Indicators from NT 6.5 to NT 7

    THere are some fine NT 6.5 indicators that do not yet work on NT 7
    Is there a cookbook approach to doing this?
    Can anyone provide a step-by step HowTo?

    #2
    Hello Peterb,

    Please see code breaking changes here:
    Contains critical information including but not limited to migration, installation, connections and changes.


    To migrate self generated NinjaScript indicators and strategies, it is recommended you first try to export them as source files instead of compiled assemblies from within NinjaTrader 6.5.

    Please follow these instructions to export a NinjaScript archive from NinjaTrader 6.5.
    Please follow these instructions to import the NinjaScript archive into NinjaTrader 7.

    Should you run into any errors during import, it likely means that the contents inside the archive are not NinjaTrader 7 compatible.

    To resolve, please follow these steps:

    1. Go to “Documents\NinjaTrader 6.5\bin\Custom\Indicator” and manually copy the source files for your NinjaScript to “Documents\NinjaTrader 7\bin\Custom\Indicator”
    2. Go to “Documents\NinjaTrader 6.5\bin\Custom\Strategy” and manually copy the source files for your NinjaScript to “Documents\NinjaTrader 7\bin\Custom\Strategy”
    3. If your scripts use any file dependencies like UserDefinedMethods.cs, please ensure you have copied those to their respective folders
    4. If your scripts are using custom DLL references in NinjaTrader 6.5 you will also need to add those references to NinjaTrader 7.
    a. To view your 6.5 references go to the NinjaScript Editor via Tools > Edit NinjaScript and open any file. Then Right Mouse Click > References
    b. To add references to 7, go to the NinjaScript Editor > Right Mouse Click > References and press the “Add” button. You will need to add any DLL references that were on 6.5, but not on the default 7 reference list.
    5. After all components are copied you will need to compile the NinjaScript assembly. Go to Tools > Edit NinjaScript and open any file. Press “F5” on your keyboard or the “Compile” button on the toolbar. When compiling you should see a list of errors that need to be addressed before your NinjaScript files will work. Please review the "Code breaking changes" information that may help in resolving some of the errors in your list.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thanks Ryan,
      I'll work through the instructions- should keep me busy for a while

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by funk10101, Today, 09:43 PM
      0 responses
      3 views
      0 likes
      Last Post funk10101  
      Started by pkefal, 04-11-2024, 07:39 AM
      11 responses
      36 views
      0 likes
      Last Post jeronymite  
      Started by bill2023, Yesterday, 08:51 AM
      8 responses
      44 views
      0 likes
      Last Post bill2023  
      Started by yertle, Today, 08:38 AM
      6 responses
      25 views
      0 likes
      Last Post ryjoga
      by ryjoga
       
      Started by algospoke, Yesterday, 06:40 PM
      2 responses
      24 views
      0 likes
      Last Post algospoke  
      Working...
      X