Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug with import/export limit

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

    Bug with import/export limit

    Hello,
    I stumbled upon a limitation of number of DLLs I can import
    Here are the steps:
    1. Create 7 primitive (empty) indicators with the indicator wizard
    2. Export each of them as a dll
    3. Delete or hide their .cs files
    4. Import just one of the dlls
    3. Create a primitive strategy with strategy wizard. Add a call of the indicator we just imported.
    4. Export the strategy. It should work fine
    5. Import the rest of our dlls
    6. Try to export the strategy. It won't work now
    7. Try to add the first dll as a reference won't help

    #2
    Hello frslvr,

    I see you are posting in the Strategy Development section of the forums.

    To confirm, are you trying to automate importing scripts using a strategy?

    There are many users with far more than even 50 dlls imported without any issues.
    Try testing each dll one by one, is there a specific dll that causes the behavior.

    Where you have stated:
    "3. Delete or hide their .cs files"

    This will likely break NinjaTrader and cause compile errors. Don't do this.

    To remove a third party assembly package:
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea,
      Thank you for your quick reply.
      I have developed strategies for NT for many years.
      I just got this problem only when I reached 7 DLLs. They aren't specific.
      Please try to follow the steps

      Comment


        #4
        Here is the video: https://youtu.be/j_G9IdbgaMg

        Comment


          #5
          Hello frslvr,

          After exporting an open source script as a dll, remove the original script or exclude this from compiliation.

          When exporting the host script that references the dll add the reference when exporting, then drag the dll into the .zip export file.

          Below is a link to a video.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            As you can see in the video and as I mentioned in the steps:
            3. Delete or hide their .cs files;
            7. Try to add the first dll as a reference won't help

            This is not the point. The point is that it has a limit to the number of imported assemblies.
            Can you please repeat the steps I showed in the video?

            Comment


              #7
              Hello frslvr,

              Thank you for your patience and for the follow up.

              During testing I was able to reproduce the behavior and I have reported this to our development team to investigate.

              Chelsea B.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Mindset, 04-21-2026, 06:46 AM
              0 responses
              87 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              128 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              65 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by cmoran13, 04-16-2026, 01:02 PM
              0 responses
              117 views
              0 likes
              Last Post cmoran13  
              Started by PaulMohn, 04-10-2026, 11:11 AM
              0 responses
              67 views
              0 likes
              Last Post PaulMohn  
              Working...
              X