Announcement

Collapse
No announcement yet.

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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        157 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        91 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        143 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        131 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