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

Export with Reference (instead of inclusion)

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

    Export with Reference (instead of inclusion)

    I saw, that when I exported my custom strategy (in the code, it refered 3rd party scripts and also built-in scripts).

    however, in exported file, I see in the zip file:

    Code:
    Strategy
    Indicators
    Info.xml
    AdditionalReferences.txt
    the interesting one is AdditionalReferences.txt - there is this line:

    AntShowers


    So, the `AntShowers` is a script, that was not included in "export" zip file, instead it is said as required reference.

    So, my question is, can we do the same for all other "built-in" scripts too, so, instead of inclusion (i mean @SMA.CS and like that, which are included automatically in "indicators" folder in zip file), is there a way, to mention them in just "additionalReferences.txt" ?

    #2
    Hello TazoTodua,

    Thank you for your note.

    Including built in indicators in the AdditionalReferences file would not be suggested or supported.

    What you could include in this file would be references to DLL's the script uses. For example the COT indicator includes references to two DLLs, you could see at the link below.


    If you are receiving an error regarding exporting an assembly which calls a system indicator, you should see the following link to our helpguide,


    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,610 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Today, 05:56 PM
    0 responses
    9 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    19 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    6 views
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    16 views
    0 likes
    Last Post Javierw.ok  
    Working...
    X