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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
81 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
64 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
66 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment