Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Chart top labels
Collapse
X
-
Tags: None
- Likes 1
-
Go into each and every indicator’s Properties & delete entry in Label Field.
If you don’t want it to display next time you add another instance of the Indicator, save the modified indicator as Default.
There is a Feature Request for a Global Toggle Labels on/off function you could ask for your vote to be added to.
However the request goes back to NT7, wasn’t addressed in NT8 and subsequent updates, has two gazillion votes and pops up here with great regularity so I’d just Save as Default on you go.
As to who ever wants/wanted this ‘Feature’ populated by Default is one of the greater Ninja Dev unsolved mysteries!
Best,
- Likes 2
-
I use this in Ninjascrtipt to tame the Chart top labels:
public override string DisplayName
{
get { return Name }
}
Put this method after OnBarUpdate(). This method is called as an over-ride to get indicator or strategy name.
If you wanted to include variables in the returned name you could use something like:
get { return Name + "( Hello world ! show me you variables " + var01 + "," + var02 + "," + var03 + ")"; }
Cheers!
Comment
-
Comment
-
Hello designer01,
rayko is correct. Override the DisplayName method if you would like to display an empty string, while still showing the Name/Label in the Strategies window.
(For open source system scripts you would need to make a copy to make this modification. The Order Flow+ indicators are not open source and cannot be copied / modified)
There is an open request to show the name in the Strategies/Indicators window even when the label is blank, tracked with ID # SFT-4946, which I will add your vote to.Chelsea B.NinjaTrader Customer Service
Comment
-
Hi ChelseaB,
Where should I place the code snippets mentioned by rayko? Just below OnBarUpdate like so?
Code:protected override void OnBarUpdate() { public override string DisplayName { get { return Name } } //Add your custom strategy logic here. get { return Name + "( Hello world ! show me you variables " + var01 + "," + var02 + "," + var03 + ")"; }Last edited by designer01; 07-24-2023, 11:24 AM.
Comment
-
I've tried this way but I get an error. Do you have a sample to go by? Thanks.(Meaning between the curly braces of the class declaration and not between the curly braces of another method)
Comment
-
Hello Mindset,
If something is transparent, it isn't displayed. Just use an empty string to hide the text. Supply a string with the text when you want to show the text.
The color of all system added text on the chart is controlled by ChartControl.Properties.ChartText.Chelsea B.NinjaTrader Customer Service
Comment
-
I should have explained. I have buttons that turn indicators off and on - however they need the label so the top of my charts looks like a christmas tree with lots of text because it displays all the main parameters - hence I want a display name in Brushes .Transparent so I can call the indicator but it doesn't take up real estate.
Comment
-
Hello Mindset,
Your button could look at the Name property, while the DisplayName override returns an empty string.
You can set all text on the chart to transparent. Right-click the chart -> select Properties -> expand Colors -> set Text to Transparent.Chelsea B.NinjaTrader Customer Service
Comment
-
Imho it is quite ridiculous that this issue descends into how to code a way around this. It is trading software, for traders. Who don’t want unnecessary clutter on their screens by default. And yet the offered solution is Users become a C# programmer to resolve it.
Lost the plot. By coders for coders.
- Likes 1
Comment
-
Totally agree - why do I need to know my Ema is Brushes.Orchid or whatever? Its useless information that takes up screen space.Originally posted by brucerobinson View PostImho it is quite ridiculous that this issue descends into how to code a way around this. It is trading software, for traders. Who don’t want unnecessary clutter on their screens by default. And yet the offered solution is Users become a C# programmer to resolve it.
Lost the plot. By coders for coders.
It should be an option on every indicator/strategy that the DisplayName be visible or not
As you say If you trade screen estate is incredibly valuable and you shouldn't have to code to get it back from the indicator.
- Likes 1
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
108 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
55 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
37 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
38 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
75 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment