Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compiler error: The name 'indicator' does not exist in the current context

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

    Compiler error: The name 'indicator' does not exist in the current context

    Hi,

    I was getting an issue where NinjaTrader locks up when I try to add an indicator to a chart. This implied to me that somewhere, in some script, there is an error in SetDefaults, which was causing an unhandled exception, but I couldn't see one.

    So I started removing scripts, hoping to track down the offending script.

    Somehow when I run a compile now, I get this error:

    "The name 'indicator' does not exist in the current context".

    The error appears on scripts that I did not write. These scripts came from NinjaTrader, so it seems that something has been corrupted. Do you have any suggestions?


    #2
    creo que borraste una cs, a mi me paso y le di a reparar en el instalador y wuala, volvio a copilar

    Comment


      #3
      Hello, thanks for writing in. Please first try running a repair on the installation. Shut down NinjaTrader, then go to the Windows Control Panel>Uninstall a program, then look for "NinjaTrader" and repair the installation.

      Comment


        #4
        Thank you! It looks like that solved the problem.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        581 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        338 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
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        552 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X