Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How remove the text of the strategy from the chart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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!

    #2
    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:
    Code:
            public override string DisplayName
            {
              get { return ""; }
            }​
    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.

    Please let us know if we may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X