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

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.

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by kempotrader, Today, 08:56 AM
        0 responses
        6 views
        0 likes
        Last Post kempotrader  
        Started by kempotrader, Today, 08:54 AM
        0 responses
        4 views
        0 likes
        Last Post kempotrader  
        Started by mmenigma, Today, 08:54 AM
        0 responses
        2 views
        0 likes
        Last Post mmenigma  
        Started by halgo_boulder, Today, 08:44 AM
        0 responses
        1 view
        0 likes
        Last Post halgo_boulder  
        Started by drewski1980, Today, 08:24 AM
        0 responses
        4 views
        0 likes
        Last Post drewski1980  
        Working...
        X