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

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.
            JasonNinjaTrader Customer Service

            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.
                JasonNinjaTrader Customer Service

                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 mattbsea, Today, 05:44 PM
                  0 responses
                  4 views
                  0 likes
                  Last Post mattbsea  
                  Started by RideMe, 04-07-2024, 04:54 PM
                  6 responses
                  31 views
                  0 likes
                  Last Post RideMe
                  by RideMe
                   
                  Started by tkaboris, Today, 05:13 PM
                  0 responses
                  2 views
                  0 likes
                  Last Post tkaboris  
                  Started by GussJ, 03-04-2020, 03:11 PM
                  16 responses
                  3,282 views
                  0 likes
                  Last Post Leafcutter  
                  Started by WHICKED, Today, 12:45 PM
                  2 responses
                  20 views
                  0 likes
                  Last Post WHICKED
                  by WHICKED
                   
                  Working...
                  X