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

Call Ninja Indicators from DLL

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

    Call Ninja Indicators from DLL

    Hello all,
    I am creating a dll and I need to call Ninja indicators (EMA, Bollinger, ...).

    How can I access to these indicators from the dll?

    Thanks in advance!

    #2
    josepin,

    Can you specify the type of DLL you are creating? Is this just a protected assembly for an indicator or strategy you are developing?

    If that is the case, as long as the NinjaScript source file you are using references these indicators, when you export the NinjaScript file as a protected assembly, the called Indicators will be exported as well.

    Please see our Help Guide artilce on using the built in utility for DLL protection and exporting your code:

    MatthewNinjaTrader Product Management

    Comment


      #3
      Hello Matthew,
      first of all thank you for the quick response!

      No, I'm programming a dll in visual c# and I need to use some ninja indicators for my calculations.

      Comment


        #4
        josepin,

        Thanks for clarifying - While this isn't technically supported, it is completely possible.

        You'd just need to add NinjaTrader.Custom.dll as a reference to your project. You may also need to add NinjaTrader.Core.dll as well.
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by inanazsocial, Today, 01:15 AM
        0 responses
        1 view
        0 likes
        Last Post inanazsocial  
        Started by trilliantrader, 04-18-2024, 08:16 AM
        5 responses
        22 views
        0 likes
        Last Post trilliantrader  
        Started by Davidtowleii, Today, 12:15 AM
        0 responses
        3 views
        0 likes
        Last Post Davidtowleii  
        Started by guillembm, Yesterday, 11:25 AM
        2 responses
        9 views
        0 likes
        Last Post guillembm  
        Started by junkone, 04-21-2024, 07:17 AM
        9 responses
        70 views
        0 likes
        Last Post jeronymite  
        Working...
        X