• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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'?
    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 CriticalMind, 11-29-2015, 12:39 PM
        3 responses
        1,321 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by novel168, 06-14-2019, 09:20 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by johnnybegoode, Today, 08:00 PM
        3 responses
        7 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by digibob, Today, 03:00 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by yeshujbp, Today, 02:50 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X