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 GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,229 views
    0 likes
    Last Post xiinteractive  
    Started by andrewtrades, Today, 04:57 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    7 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    441 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    12 views
    0 likes
    Last Post FAQtrader  
    Working...
    X