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:	241
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:	246
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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    561 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    325 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    547 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X