Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How remove the text of the strategy from the chart
Collapse
X
-
How remove the text of the strategy from the chart
Hi NT, when I add a strategy to a chart, text appears in the top left showing what strategies are on that chart, is there a code line that removes/prevents this? thank you!Tags: None
-
Hello Austiner87,
Thank you for your post.
You may override the DisplayName property to an empty string in order to remove the text from showing in the top left when the strategy is applied to a chart:
For example:
The text shown on the chart is based on the "Label" used on the UI, which defaults to the strategy display name. This is why overriding the display name to an empty string will remove the label from the chart.Code:public override string DisplayName { get { return ""; } }
Please let us know if we may be of further assistance.
- Likes 1
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by kinfxhk, 07-14-2026, 09:39 AM
|
0 responses
18 views
0 likes
|
Last Post
by kinfxhk
07-14-2026, 09:39 AM
|
||
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
60 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
43 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
47 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
38 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|

Comment