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 SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
36 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
14 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
20 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
22 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment