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 cmoran13, Yesterday, 01:02 PM
|
0 responses
27 views
0 likes
|
Last Post
by cmoran13
Yesterday, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
18 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
||
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
160 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
95 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
148 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|


Comment