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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
55 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
142 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
160 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
96 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
276 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|


Comment