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, 05-11-2026, 05:56 AM
        0 responses
        28 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        183 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        336 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        260 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X