Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Creating custom indicator imbedded in another indicator

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

    Creating custom indicator imbedded in another indicator

    I have created a number of indicators and I created a custom indicator that is referenced a number of times. Is there a way that when creating zip files dlls and when importing add on it states do you want to replace xyz indicator. It is like when you add a ninjatrader sma or max, min swing etc. My issue arises if the user installs a zip file it will need that same base indicator I have created and if there are more than 1 assemblies installed it will give an error that there are duplicates.

    #2
    Hello ballboy11,

    Thanks for your post.

    There would not be a way to specify precedence to use one assembly over the other if you have a dependent indicator in your assemblies. The message for replacing the indicator would be presented when importing source code and you already have source code for that indicator on your platform. My recommendation would be to have dependent indicators in separate assembly, and when you export a package that uses this dependency to add a reference to the assembly that includes the dependent indicator so your clients do not import duplicate NinjaScripts from multiple assemblies.

    References can be added when exporting the NinjaScript package and selecting Type. Please make sure you have imported the compiled assembly after you have exported your dependent indicator assembly. You can also add the dependent assembly to the export manually by following the steps below.

    Adding custom assemblies or native DLL's - https://ninjatrader.com/support/help...esOrNativeDlls

    Let us know if we can be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X