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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        153 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        305 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        244 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        345 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        176 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X