or at least just the input parameters?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Hide Indicator name and input parameters?
Collapse
X
-
Yes, you can do this from code as well. Refer below:
Add this before OnBarUpdate.
Remove both name & parameters:Remove parameters only:Code:public override string DisplayName { get { return "";} }Hope it helps!Code:public override string DisplayName { get { return this.Name;} }
- Likes 1
Comment
-
To separate the descriptive text that is shown in the indicator loading window, from the text in the label in the chart (string.Empty) you can use this code:
Code:public override string DisplayName { get { return State == State.SetDefaults ? this.Name + " custom text" : string.Empty; } }
- Likes 1
Comment
-
Would be nice if these tidbits were easier to find than having to google them. :/
Quoted to drop the parameters was what I was looking for, the code options are nice bonus mention! Thanks.
Tool Tips on the input fields for example..
One flaw with the DisplayName override is that in the Indicators list it uses your user-supplied Instance as the this.Name as well, gets confusing if the user blanked it.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
67 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
95 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
53 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
108 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
63 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment