Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawtext Right of newest bar

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

    Drawtext Right of newest bar

    In 6.5.0.5, I could draw text to the right of the newest bar by using a negative bar index. In 6.5.0.9, negative bar index with DrawText is no longer supported. How do I draw text to the right of the newest bar in 6.5.0.9?

    #2
    Unfortunately this is not supported.

    Comment


      #3
      I think it is a very common practice to write text or draw to the right of the newest bar. I can't believe that I am the only person who would want this feature, especially since it is currently available in your current production version. this is such a basic feature. I suspect you will get many customers complaining about this, once their indicators stop working upon moving to your next production version.

      Originally posted by NinjaTrader_Dierk View Post
      Unfortunately this is not supported.

      Comment


        #4
        We have this in our list for NT7 yet (should be available by the end of this year).

        Comment


          #5
          Is it supported yet

          Is it possible to draw text to the right of the last bar on chart?

          Comment


            #6
            This is supported if you have NinjaTrader 6.5.1000.6 installed.

            Comment


              #7
              If this is supported in 6.5.1000.6, please specify the syntax of the DrawText() method. The last time I remember trying a negative bar index to try and write to the right of bar0, it crashed NT.

              Comment


                #8
                Hello monpere,

                My apologies for the confusion. This is only supported upon manually appling drawing objects in your chart. It is not supported with NinjaScript.

                Comment


                  #9
                  Workaround

                  I have only been using NS for 2 weeks now so if this seems a bit Heath Robinson I apologise but it works for me ...

                  Code:
                  DrawText("tag", false, "      "+ mystr, 0, Close[0],Color.Blue, txtFont,StringAlignment.Near, Color.Transparent, Color.Transparent, 50)
                  The chart doesn't seem to mind blank spaces which effectively "pushes" text to the right of the current bar ( still want to say TS "lastbaronchart").
                  Last edited by Mindset; 10-27-2008, 05:50 AM. Reason: trying to format

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  574 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  333 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  101 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  553 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  551 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X