Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Logs to show what is missing and makes export as compiling to fail

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

    Logs to show what is missing and makes export as compiling to fail

    Hello,

    I have a fairly complex indicator that it's not using anything external indicators or imports and it's all systemic and references that are coming with NT8. I still can't successfully export it as compiled. Are there any logs that show what failed during compilation so I can check what's going on? Like a debug mode that will tell me what it can't resolve to I can add it to the Export process? I can't figure it out and every retry takes 4-5 minutes until fails so it's not that I can test things fast and figure it out.

    Thank you.

    #2
    Hello pkefal,

    Thank you for your post.

    Typically if there is an error exporting the compiled assembly, you should see an error in the Log tab of the Control Center that may hint as to what might need to be added to the export.

    Are there any errors in the Log tab of the Control Center? If so, please send a screenshot.

    Comment


      #3
      No, no errors there. It just says when the export is failing to make sure that all references where included. I just need to know which one is the one that it couldn't find and figure it out.

      Comment


        #4
        And I mean it says that from the Export.. window, not in an error message in the Log Tab.

        Comment


          #5
          Hello pkefal,

          This error message means that you are not including all the required items being used in the script you are trying to export.

          Do you use any indicators / other scripts within your own indicator script? If so, what are they?

          Comment


            #6
            Hello Gaby,

            I'm aware what the message is and the systemic ones that I'm using are added. I only use VOL() , ChartControl and Window in some places. I included VOL() as part of the export. I shouldn't have to include System.Drawing or NinjaTrader.Gui, should I?

            Comment


              #7
              I even tried with these references included, but still the same.

              Comment


                #8
                Hello pkefal,

                Thank you for your response.

                I don't believe those references would be necessary for Chart Control.

                Unfortunately, the best way to figure out which reference needs to be added would be to comment out code and do exports to test for when it starts working, then uncomment the code to find what's related to the issue.

                If you can confirm which part of the code is related to the export error and need assistance figuring out next steps, please let me know.

                Comment


                  #9
                  Oh good lord.. that's not exactly the easiest thing to do with all the code.. there is seriously no logs on the compilation to figure out what is causing it?

                  Comment


                    #10
                    I literally just selected ALL the System Indicators and it exported, so it's definitely something with the volume related ones and I have to figure out which one, but at least i have a clue and a way to export it now.

                    Comment


                      #11
                      Hello pkefal,

                      If you're not seeing any messages in the Log tab of the Control Center, unfortunately this would be the only way to figure out which part of the code is causing the error.

                      Comment


                        #12
                        pkefal You could try looking in the trace file. I have found export errors there in previous versions.

                        Thanks.
                        Multi-Dimensional Managed Trading
                        jeronymite
                        NinjaTrader Ecosystem Vendor - Mizpah Software

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        599 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        344 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        103 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        558 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        557 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X