• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to draw always on top

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

    How to draw always on top

    I'm working on a toolbar for NT8. The toolbar is implemented as an 'indicator'
    Although its working fine , the labels of all indicators get written on top of my toolbar.
    Is there a way to make my indicator / toolbar to be drawn on top of everything else ?

    See screenshot below where you can see the Label field of the indicator getting drawn on top of my toolbar
    Click image for larger version

Name:	Capture.JPG
Views:	1
Size:	75.2 KB
ID:	1040672


    #2
    Hello Erwin Beckers,
    Thanks for your post.

    You can remove your charts label programatically by using the following snippet inside your indicators class.

    Code:
    public override string DisplayName
    {
    get { return ""; }
    }
    I am not aware of a way to get the label to draw underneath your toolbar.
    JoshNinjaTrader Customer Service

    Comment


      #3
      Yes but thats not the solution.. You could have all kind of indicators on the chart, and they will all display the label on top of the toolbar.
      Is there no way to disable this without requiring the user to clear all the label fields of all his indicators , or is there some way to draw always on top ?

      Comment


        #4
        Erwin Beckers,

        I am not aware of a way to get the label to draw underneath your toolbar, or always on top through NinjaScript. Maybe someone else knows of some C# concepts that would do this for you. We can leave this post open for anyone to comment.

        Let me know if I can be of further assistance.
        JoshNinjaTrader Customer Service

        Comment


          #5
          Maybe Josh missed an important detail?

          Originally posted by NinjaTrader_JoshG View Post
          You can remove your charts label programatically by using the following snippet inside your partial indicators class.

          Code:
          public override string DisplayName
          {
          get { return ""; }
          }
          Try doing a UserDefinedMethods.cs approach and put this method inside the Indicator class via a partial class declaration.

          Comment


            #6
            Thx bitdavid, but as said before thats not a solution.
            A user may have any number of indicators on his chart, and they all print their label in the top part of the chart. You cannot expect the user to clear the label field of all his indicators

            Comment


              #7
              Hello Erwin Beckers,

              Thank you for your response.

              Consider that this is how the NinjaTrader chart functions and it would be more ideal to move the toolbar to a new area in the Chart display or add it to the Chart grid.

              There is no global setting to hide all Labels for indicators but I will forward a feature request to development for this.
              Patrick H.NinjaTrader Customer Service

              Comment


                #8
                Thanks Patrick,
                Yes thats what i'm looking at now. Making it a floating toolbar instead of drawing it directly on the charty

                Comment


                  #9
                  Hello Erwin Beckers,

                  Thank you for your patience.

                  The internal tracking number for your feature request is SFT-3620. Please reference this internal tracking number if you ever have questions regarding this feature request.

                  When a feature request is implemented, you'll find it in the release notes:

                  http://ninjatrader.com/support/helpG...ease_notes.htm
                  Patrick H.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by ralett, Today, 11:44 AM
                  1 response
                  13 views
                  0 likes
                  Last Post NinjaTrader_Spencer  
                  Started by DMDINAZ, Today, 11:03 AM
                  1 response
                  8 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by sukhob, Today, 10:14 AM
                  4 responses
                  10 views
                  0 likes
                  Last Post sukhob
                  by sukhob
                   
                  Started by beaacontreras, Today, 09:27 AM
                  1 response
                  21 views
                  0 likes
                  Last Post NinjaTrader_PatrickG  
                  Started by fxSol, 03-17-2019, 04:17 AM
                  5 responses
                  28 views
                  0 likes
                  Last Post NinjaTrader_ChristopherS  
                  Working...
                  X