Announcement

Collapse
No announcement yet.

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.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        43 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        29 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        46 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        38 views
        0 likes
        Last Post CarlTrading  
        Working...
        X