Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding a 3rd Party DLL - Creating a New Indicator

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

    Adding a 3rd Party DLL - Creating a New Indicator

    Can any one point me to an example of how to add a 3rd Party DLL in creating a new indicator...

    TIA

    dmk

    #2
    Hello,

    Thank you for your forum post.

    Just wanted to let you know that we received your note and that someone will respond this weekend or at the latest Monday.

    Thank You for your Patience.
    BrettNinjaTrader Product Management

    Comment


      #3
      Adding a dll

      When I have used custom dll's in Ninja 6.5 I have added the dll file to Ninja 6.5 / bin/ Custom which on my computer is all in the Documents folder.

      Then open up a strategy/indicator and right click - select add reference and then select the dll file.

      You should add a using statement to the top of the file so that the methods etc contained in the dll can be referenced without using the fully qualified namespace.

      I believe I then recompiled the indicator. Hope this makes sense and is helpful until the Ninja team reply in full

      Comment


        #4
        Hello,

        Thank you for your patience.

        What MicroAI mentions is correct. You will need to add the reference by right clicking and select References. Then you will be able to include the DLL reference to the top of your file by adding the following:

        #region Using declarations
        using Ninjatrader.Strategy;
        using YourDLLClassName;

        Please see this following page:



        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        152 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        89 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        131 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        127 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X