Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    Chris L.NinjaTrader Customer Service

    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.
        Chris L.NinjaTrader Customer Service

        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.
            Chris L.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by f.saeidi, Today, 10:19 AM
            0 responses
            2 views
            0 likes
            Last Post f.saeidi  
            Started by kujista, Today, 06:23 AM
            4 responses
            15 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by traderqz, Yesterday, 09:06 AM
            2 responses
            16 views
            0 likes
            Last Post traderqz  
            Started by traderqz, Today, 12:06 AM
            3 responses
            6 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by RideMe, 04-07-2024, 04:54 PM
            5 responses
            28 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Working...
            X