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 ghoul, Today, 06:02 PM
        0 responses
        3 views
        0 likes
        Last Post ghoul
        by ghoul
         
        Started by Barry Milan, Yesterday, 10:35 PM
        6 responses
        18 views
        0 likes
        Last Post Barry Milan  
        Started by DanielSanMartin, Yesterday, 02:37 PM
        2 responses
        13 views
        0 likes
        Last Post DanielSanMartin  
        Started by DJ888, 04-16-2024, 06:09 PM
        4 responses
        13 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by terofs, Today, 04:18 PM
        0 responses
        12 views
        0 likes
        Last Post terofs
        by terofs
         
        Working...
        X