Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Indicator name is blank in indicator list

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

    Indicator name is blank in indicator list

    I have a custom indicator. It complies and works just fine but in the chart indicator list shows the indicator first and the name is blank?


    // This namespace holds all indicators and is required. Do not change it.
    namespace NinjaTrader.Indicator
    {
    /// <summary>
    ///
    /// </summary>
    [Description("TimeNotificator")]
    // [Gui.Design.DisplayName("Time Notification Indicator")]
    public class TimeNotificator : Indicator
    {

    I commented out the display name and recompiled to see if that might help but it is still blank in the list. This is happening for two indicators I have had for years and haven't changed the code. They used to appear in the indicator list under the class name. Now they appear with a blank name.

    Any suggestions on how to get the name to show?

    Cheers
    Last edited by ct; 07-21-2014, 02:11 AM.

    #2
    Hi ct, are you sure you're not somewhere setting this.Name to an empty string that would cause the 'blank out'?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Bertrand

      You're psychic and get a gold star, rookie error on me. Yes I had " Name = string.Empty;" in the initialize routine.

      I now get to wear the stupid hat for a while! Many thanks.

      Comment


        #4
        Glad to hear you could track it down!
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by algospoke, Yesterday, 06:36 PM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by set2win, 08-04-2021, 09:23 AM
        40 responses
        1,009 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by arunkumar3, 08-25-2023, 12:40 PM
        4 responses
        175 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by PaulMohn, 04-30-2024, 02:06 AM
        8 responses
        26 views
        0 likes
        Last Post PaulMohn  
        Started by f.saeidi, Today, 07:07 AM
        0 responses
        1 view
        0 likes
        Last Post f.saeidi  
        Working...
        X