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:	247
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:	258
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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    63 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    90 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    47 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    105 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    63 views
    0 likes
    Last Post PaulMohn  
    Working...
    X