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 mmenigma, Today, 02:22 PM
            1 response
            3 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by frankthearm, Today, 09:08 AM
            9 responses
            35 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Started by NRITV, Today, 01:15 PM
            2 responses
            9 views
            0 likes
            Last Post NRITV
            by NRITV
             
            Started by maybeimnotrader, Yesterday, 05:46 PM
            5 responses
            26 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by quantismo, Yesterday, 05:13 PM
            2 responses
            21 views
            0 likes
            Last Post quantismo  
            Working...
            X