Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug Report: When compiling

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

    Bug Report: When compiling

    Version 7.0.0.15

    When trying to compile an indicator that I'm working with in the editor, NT will give compile errors on *.cs files that are not even loaded into memory. IOW, it is going out to disk and trying to compile *.cs files that I'm not even currently using or calling from the current *.cs file. Not sure if this is an "intended behavior", but I don't think its a good idea.

    IMHO, it should try to compile the currently loaded *.cs. BTW, it will not compile the currently loaded *.cs, even if it has no compile errors, until you first fix the *.cs files with the errors on disk.

    Very unusual for a programming environment.

    Brooks

    #2
    Hi Brooks, this is unfortunately expected behavior and has always been the case - reason is this - we compile all scripts into one assembly file (DLL) for maximum performance in executing those on runtime, hence all cs scripts to be considered have to be error free, as otherwise you can't compile. If you don't want to debug a certain code portion / script, just comment it out and revisit later when you've got more time to check into...

    Comment


      #3
      Ok, I understand.

      Comment


        #4
        Bertrand,

        Every day I do work in NT7 and each day it takes longer to start up. Is NT7 compiling all the scripts each time it starts? Seems that way.

        Brooks

        Originally posted by NinjaTrader_Bertrand View Post
        Hi Brooks, this is unfortunately expected behavior and has always been the case - reason is this - we compile all scripts into one assembly file (DLL) for maximum performance in executing those on runtime, hence all cs scripts to be considered have to be error free, as otherwise you can't compile. If you don't want to debug a certain code portion / script, just comment it out and revisit later when you've got more time to check into...

        Comment


          #5
          Hi Brooks, several customized files would grow in size as you work with the program (custom DLL, database files, workspaces) - a compile would only take place as you triggered it via the editor.

          Comment


            #6
            ScaleJustification.Overlay vs. ScaleJustification.Left

            Can you explain the difference between these two settings? It's not explained in the documentation.

            Thanks,

            Brooks

            Comment


              #7
              Please see the "Understanding Panels" section of this page: http://www.ninjatrader.com/support/h...ng_a_chart.htm

              A left scale is shown on the left hand margin of a chart. An overlay has an invisible price scale and is just "overlaid" on top of the right and left scales.
              Josh P.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

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