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 zstheorist, Today, 07:52 PM
    0 responses
    3 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    149 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    5 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    5 views
    0 likes
    Last Post tkaboris  
    Working...
    X