Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Set empty or null default Label on indicator settings

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

    Set empty or null default Label on indicator settings

    Hi,

    how can i set a default value as empty to my Label indicator settings?

    i have tried to set Name = ""; on State.SetDefaults or overwrite DisplayName
    public override string DisplayName {
    get { return " "; }
    }

    but it does not works like y want because sets empty or null value in configuration window

    Click image for larger version

Name:	labelvacio.PNG
Views:	244
Size:	34.5 KB
ID:	1202142


    All i want is when someone uses the indicator, its doesnot show the text at the upper of the chart

    Click image for larger version

Name:	removelabel.PNG
Views:	251
Size:	30.5 KB
ID:	1202143


    Hope you can help me

    Sorry about my english

    #2
    Hello arbeydario,

    You are correct by using DisplayName, there is an example of that here:


    There is a sample of what generally would be used to allow the item to have a name in the indicator list while being blank in the chart: https://ninjatrader.com/support/foru...100#post784100

    You also need to re apply the indicator after adding the DisplayName override.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    29 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Yesterday, 02:41 AM
    0 responses
    13 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    21 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Working...
    X