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


Comment