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

Export indicator with unmanaged dll

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

    Export indicator with unmanaged dll

    Hi,

    I have an indicator that references an unmanaged dll. I created an export zip and then added this dll to this zip. This addon installs and the unmanaged dll is copied to the Custom directory. However, when I run the indicator I get an error:

    >> Unable to load DLL 'x64\my_dll': The specified module could not be found.

    Where is the x64 directory located?

    Thanks
    Last edited by AiTrading; 07-18-2022, 12:13 PM.

    #2
    Hello AiTrading,

    Thanks for your post.

    It seems like the DLL might be located in a sub-folder named 'x64'.

    The DLL that you are referencing would need to be added to the Documents/NinjaTrader 8/bin/Custom folder and NOT within any sub-folders.

    NinjaTrader would not be able to see the DLL if it is located in a sub-folder.

    Let me know if I may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment


      #3
      Hey AiTrading,

      Is your exported indicator in a zip folder? If so, create a new folder, move that zip file in new folder, then extract the zip file inside that new folder. Copy the exported indicator file (It should have a file name extension called .cs) then paste it in NinjaTrader 8\bin\Custom\Indicators. You should be able to use the exported indicator.

      I hope this is helpful to you.

      I build useful software systems for financial markets
      Generate automated strategies in NinjaTrader : www.stratgen.io

      Comment


        #4
        Hi woltah231,

        Thank you for the suggestion.

        The problem is that this DLL depends on a VS distribution that doesn't exist on the test machine.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by George21, Today, 10:07 AM
        0 responses
        4 views
        0 likes
        Last Post George21  
        Started by Stanfillirenfro, Today, 07:23 AM
        8 responses
        23 views
        0 likes
        Last Post Stanfillirenfro  
        Started by DayTradingDEMON, Today, 09:28 AM
        2 responses
        16 views
        0 likes
        Last Post DayTradingDEMON  
        Started by navyguy06, Today, 09:28 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by cmtjoancolmenero, Yesterday, 03:58 PM
        8 responses
        32 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X