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 Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        649 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        370 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        109 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        574 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        576 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X