Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator label

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

    Indicator label

    Hello

    On my top left corner of my chart I can see my custom indicator's name and its parameters.
    Is it possible to hide it by default? How can I do that a. By code b. By GUI?

    Thanks

    #2
    Hello kiss987,

    Thanks for the post.

    You can override the DisplayName property to change the default label that is added to the chart.

    Example:

    Code:
    public override string DisplayName
    {
    	get { return "I am a chart label"; }
    }
    This override will go inside of your class like any other public property.

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

    Comment


      #3
      Thank you for your reply.

      I set the text to an empty string. Although the label on the top left corner did set to an empty string as I wanted, when I open the indicators window on my chart, under the "Configured" caption I cannot see the indicator after I placed it because it was set to an empty string as well.

      Comment


        #4
        Hello kis987,

        Thanks for the follow-up,

        I found this post where a user defines the name in State.SetDefaults to preserve the same while SetDefaults is reached:



        Please let me know if I may be of any further assistance.

        Comment


          #5
          Hello,

          I have used this solution with my indicators but the problem is that I can't see the name of the indicator when I try to create an alert with them.

          How can I see the name of the indicators when I'm creating a new alert?

          Thanks.

          Comment


            #6
            Hello soyjesus,

            Thanks for the post.

            Currently, it is not possible to get around that. I will report this to the product management team so it can be changed in future updates.

            I will also add a vote to the SFT that exists to make this labeling process easier.

            Please let us know if you have any questions.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            82 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            43 views
            0 likes
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            64 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            68 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            56 views
            0 likes
            Last Post CarlTrading  
            Working...
            X