Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to remove indicator from Indicators dialog

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

    How to remove indicator from Indicators dialog

    I've deleted some indicator source code (.cs) files from the Custom\Indicator directory but they continue to be displayed in the Indicators dialog. Since the source code is gone, I assume these removed indicators are cached somewhere. How can I get then to stop displaying in the Indicators dialog.

    thanks,
    shawnj

    #2
    Hello,

    I recommend restoring the .cs file from you recycle bin then removing the indicator via Tools>Edit>Indicator>select the indicator>Delete.
    DenNinjaTrader Customer Service

    Comment


      #3
      Unfortunately I perminately deleted the .cs files.

      As a workaround, I've tried renaming an existing .cs file and all references to the indicator's class name to the deleted name and copying it into the Custom\Indicator directory. When I delete that file using "Tools>Edit>Indicator>select the indicator>Delete" it still exists in the Indicators Dialog. If I try to compile that renamed file then I get the following error:
      "The namespace 'NinjaTrader.Indicator' already contains a definition for 'yourStubornIndicator' "

      Surely I'm not the first idiot to make this mistake <g>. Could you point me a little deeper into the bowels of NT to fix this. Will uninstalling and reinstalling NT clean things up?

      thanks,
      shawnj

      Comment


        #4
        shawnj,

        Please remove the renamed file you have. Press F5 to compile. Do you still get the error? It should compile and that should remove it from the list for you.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          I fixed it.

          Ok, I probably am the first idiot to do this. I apparently renamed the .cs files in Custom\Indictor from within Windows Explorer (instead of from the NT Editor) and as such the file names did not match up with the class names. The Indicator Dialog, of course, displays the class names not the file names. Removing these files then doing a compile on another (unrelated) file cleaned up the Indicators Dialog.

          Sorry for the inconvenience.
          Last edited by shawnj; 01-20-2009, 04:29 PM.

          Comment


            #6
            Hi shawnj, are you trying to get rid of third party indicators previously installed on your system?

            The 'syncronization' you refer to is normally achieved with the compilation of your NinjaScript files.

            Comment


              #7
              Sorry Bertrand. I think I was editing that message when you replied. Please reread my last (edited) message. Sorry for the inconvenience.

              Comment


                #8
                No problem shawnj, great you figured it out.

                Please never edit the names in the Windows explorer > do it directly in the NinjaScript editor to avoid this issue in the future.
                Last edited by NinjaTrader_Bertrand; 01-20-2009, 04:41 PM.

                Comment

                Latest Posts

                Collapse

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