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 NullPointStrategies, Today, 05:17 AM
              0 responses
              50 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              126 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              69 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              42 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              46 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X