Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

compiler broken

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

    compiler broken

    When I try to compile any indicator or strategy the compiler generates a bogus error. It happens when re-compiling scripts known to have no errors (no changes since last successful compile). The errors are always on line 51 and line 57 of the script, even though there is no code on those lines, and always the same errors. What to do to fix my compiler?

    #2
    Originally posted by dave_b_quickc View Post
    When I try to compile any indicator or strategy the compiler generates a bogus error. It happens when re-compiling scripts known to have no errors (no changes since last successful compile). The errors are always on line 51 and line 57 of the script, even though there is no code on those lines, and always the same errors. What to do to fix my compiler?
    You may want to check the file name to see which file caused the error. I think when NT compiles an indicator it re-compiles all indicators. So if anything is incorrect in any indicator /strategy file it will through an error.

    Been there, done that.

    Comment


      #3
      Dave,

      I agree with TAJ, all NT's "*.cs" files are checked during a recompile.

      Double click on the error and the file with the problem will open up in the editor.

      How do I know this????



      RJay
      RJay
      NinjaTrader Ecosystem Vendor - Innovative Trading Solutions

      Comment


        #4
        thanks!

        That was it! I had left some errors in a strategy I was working on last week, and that's what was keeping me from being able to compile a new strategy. Thanks to your kindness now everything is working.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        88 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        48 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        30 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        34 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        68 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X