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 Waxavi, Today, 02:10 AM
        0 responses
        4 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        10 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by elirion, Today, 01:36 AM
        0 responses
        4 views
        0 likes
        Last Post elirion
        by elirion
         
        Started by gentlebenthebear, Today, 01:30 AM
        0 responses
        4 views
        0 likes
        Last Post gentlebenthebear  
        Working...
        X