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 judysamnt7, 03-13-2023, 09:11 AM
        4 responses
        59 views
        0 likes
        Last Post DynamicTest  
        Started by ScottWalsh, Today, 06:52 PM
        4 responses
        36 views
        0 likes
        Last Post ScottWalsh  
        Started by olisav57, Today, 07:39 PM
        0 responses
        7 views
        0 likes
        Last Post olisav57  
        Started by trilliantrader, Today, 03:01 PM
        2 responses
        21 views
        0 likes
        Last Post helpwanted  
        Started by cre8able, Today, 07:24 PM
        0 responses
        10 views
        0 likes
        Last Post cre8able  
        Working...
        X