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.
    https://ninjatrader.com/support/help..._procedure.htm

    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 SuneSorgenfrei, Today, 04:47 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by lju45, Today, 04:54 AM
    0 responses
    7 views
    0 likes
    Last Post lju45
    by lju45
     
    Started by lakman184, Today, 03:09 AM
    4 responses
    15 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by romintrio, Today, 02:16 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by SCC74, Today, 01:32 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X