Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

New Indicator NOT showing up in the Indicator List

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

    New Indicator NOT showing up in the Indicator List

    Hi,
    I created a simple Indicator in NT8, which compiles
    successfully. But for some reason when I load a new chart and try to load the new Indicator, it does NOT show up in the list of Indicators. The .cs file is present in the
    \bin\Custom\Indicators\ directory and is editable in the NinjaScript Editor. What am I doing wrong? What can I do for the new indicator to show up in the Indicators list?

    #2
    Does it compile and run without errors? That's the only time I have seen one not show up in Indicators, but show up in Ninjascript editor.

    Comment


      #3
      Hello TazManII,

      Thanks for your post.

      Please check your "Log" tab for any run time errors related to the indicator. It is possible, as member ATMtrader0001 advised, that if there is a significant start-up run time error that the script would be removed from the indicator list to prevent further issues.

      If no errors then likely the issue is that the indicator "Name = " field is the same as an existing indicator. In general a best practice is to make sure that the Ninjascript file name (which is what you see in the Ninjascript explorer window, matches the Name = field in the state.setDefaults and matches the public class name.

      Comment


        #4
        SUCCESS!! THANK YOU ATMtrader0001 and Paul H. You are correct, the error message shows up in the "Log" tab. So, even though the code compiles without any error but it throws an error during run-time. So, thanks to you, I was able to fix the run-time error and now the Indicator shows up in the Indicator list and works as intended. Again many THANKS.

        Comment


          #5
          Hi,
          I have a similar problem that I could not resolve. My indicators in the bin\Custom\Indicators\ directory shows up in the script editor file explorer. All scripts compiles successfully and no errors in the Log tab. Then when trying to add one indicator to the chart, the available list of my indicators is old and not updated to the list in the bin folder (or the list of scripts in the script editor file explorer.) I uninstalled and reinstalled NT but this did not help. Any idea what else i should try to bring the list of indicators into the Add to Chart options?
          Thank You
          Last edited by hgheith; 03-29-2020, 09:57 AM.

          Comment


            #6
            The only time I have seen that is when copying a file from one computer to another, but once it is compiled without errors it should show up.

            Definitely look at the log tab and se if there is an error when starting that indicator.

            Good luck

            Comment


              #7
              Hello hgheith,

              Thanks for your post.

              if, as forum member ATMtrader0001 advised compilation does not resolve the issue (or show errors), please see my advice in post #3.

              Comment


                #8
                Thank You ATMtrader0001 and Paul H. Yes, this happened when I copied from one computer to another. It is resolved when I followed Paul's advice "make sure that the Ninjascript file name (which is what you see in the Ninjascript explorer window, matches the Name = field in the state.setDefaults and matches the public class name"

                Comment


                  #9
                  I had the same problem, but using the tips above, and going through the code several time, I found that I had an AddPlot with the same name. Problem solved, thank all.

                  Comment

                  Latest Posts

                  Collapse

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