Announcement

Collapse
No announcement yet.

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'?

    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!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by sjsj2732, Yesterday, 04:31 AM
        0 responses
        27 views
        0 likes
        Last Post sjsj2732  
        Started by NullPointStrategies, 03-13-2026, 05:17 AM
        0 responses
        283 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        280 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        131 views
        1 like
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        90 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Working...
        X