my question would be: if i add indicator in strategy, then can i rename the indicator label in the strategy code (that is seen at the top of the chart)?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Indicator label rename
Collapse
X
-
Something like this? http://www.ninjatrader-support2.com/...ead.php?t=4749Josh P.NinjaTrader Customer Service
Comment
-
Mindset,
The sample can trim your label to anything you want. It can rename the label that shows up on the chart, remove inputs from even showing, etc.
The display name will show up as whatever name you name the indicator in the dialogue window though. If you want it to display a different name I suggest you take a look at the TEMA indicator above where it declares the public class.Josh P.NinjaTrader Customer Service
Comment
-
Comment
-
System indicator
I didn't think of that - I spent 20 mins searching all through the forums (lol)
So if you want to have no label you just put:-
Am I overriding a string object property with this method?Code:public override string ToString() { return " "; }
Thanks for the patience.
FYI I will use this with almost every indicator I have as I hate having labels cluttering up my nice clean charts!
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|


Comment