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 warreng86, 11-10-2020, 02:04 PM
    7 responses
    1,360 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Perr0Grande, Today, 08:16 PM
    0 responses
    5 views
    0 likes
    Last Post Perr0Grande  
    Started by elderan, Today, 08:03 PM
    0 responses
    9 views
    0 likes
    Last Post elderan
    by elderan
     
    Started by algospoke, Today, 06:40 PM
    0 responses
    10 views
    0 likes
    Last Post algospoke  
    Started by maybeimnotrader, Today, 05:46 PM
    0 responses
    14 views
    0 likes
    Last Post maybeimnotrader  
    Working...
    X