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

Add References to Indicator Export

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

    Add References to Indicator Export

    In NT8, you can easily add references to system DLLs when you go through the export steps (which creates an AdditionalReferences.txt file in the exported ZIP). Can this be done within NT7?

    I'm needing to add references to a few system DLLs, such as System.Design.dll and PresentationCore.dll, but it would be great if users didn't have to manually go through the steps of adding these within NinjaTrader (Tools > Edit NinjaScript > Indicator > Right-click References > then manually find them on the system). Or, to prevent them from having them manually edit the Config.xml file.

    Is there a simple solution I am overlooking?
    Thank you!


    EDIT: After some research it seems you can manually create an "AdditionalReferences.txt" file and put it in the ZIP file. However, if I create the txt file, then just drag the file into the ZIP file (windows explorer, Windows 10 64bit, latest updates) it "breaks" the ZIP file when trying to import into NT7 (something about the file being corrupt, even though the ZIP file is fine). I think the process of adding the txt file changes the ZIP "dictionary size", "compression method", or something that NT7 struggles with.
    Last edited by neoikon; 06-19-2021, 09:05 AM.

    #2
    Hello neoikon,

    No, the enhancement feature of NinjaTrader 8 is not available in NinjaTrader 7.

    It would be necessary to add the AdditionalReferences.txt file manually.


    The referenced dll needs to also be dragged into the export .zip.

    Please post the export if you would like me to have a look.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by jxs_xrj, 01-12-2020, 09:49 AM
    5 responses
    3,290 views
    1 like
    Last Post jgualdronc  
    Started by Touch-Ups, Today, 10:36 AM
    0 responses
    7 views
    0 likes
    Last Post Touch-Ups  
    Started by geddyisodin, 04-25-2024, 05:20 AM
    8 responses
    61 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by Option Whisperer, Today, 09:55 AM
    0 responses
    8 views
    0 likes
    Last Post Option Whisperer  
    Started by halgo_boulder, 04-20-2024, 08:44 AM
    2 responses
    24 views
    0 likes
    Last Post halgo_boulder  
    Working...
    X