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 josh18955, 03-25-2023, 11:16 AM
        6 responses
        435 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        3 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        18 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by frslvr, 04-11-2024, 07:26 AM
        9 responses
        126 views
        1 like
        Last Post caryc123  
        Started by selu72, Today, 02:01 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_Zachary  
        Working...
        X