Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Common AddOn in different binaries

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

    Common AddOn in different binaries

    Hello Everyone:

    I have a question regarding a common addon used by several indicators. This addon is required by those indicators. My doubt is what would happen if I produce two binaries (one for each indicator) each having this required AddOn in the dll.

    Would there be conflicts as both indicators have a copy of this AddOn? Both would use one of the copies? Each indicator will use it's respective copy (I am considering here different versions installed and possible conflicts users could experience).

    Please document this a little.

    #2
    Hello waldoalvarez,

    Thanks for your post.

    If both indicator exports include the same AddOn DLL, NinjaTrader will prompt the user if they want to overwrite the existing DLL. In this case, there would not be conflicts. Including the same AddOn/NinjaScript in separate DLL's can cause a conflict.

    We suggest placing dependent/common NinjaScripts in their own DLL to avoid conflicts and versioning issues. You can then add a reference for the dependent DLL when you export your main DLL packages. (See screenshot attached.)

    I have also attached some exports that describe how this would be setup. There are two SampleMACrossover strategy exports that use a custom "SMA2" indicator that is included as a separate DLL since it is dependency.

    We look forward to assisting.


    Attached Files

    Comment


      #3
      Thanks for clarification!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      626 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      359 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      562 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      567 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X