Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help with DrawText() to draw text vertically

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

    Help with DrawText() to draw text vertically

    Friends,

    I wanted to draw text vertically on each bar - to display some "score" of each bar.

    Looked around but can not find much info on how to accomplish this - Googled and found some DrawString method but do not know how to get the "graphics" object they talk about. As you can tell, am a novice when it comes to graphics.

    Any help would be greatly appreciated.

    Thanks!

    #2
    Hello,

    Thank you for your forum post and welcome to the forum.

    Unfortunatley this is undocumented and not supported. Therefor I am unable to assist with this and really unable to even point you in the right direction to look. There is not a supported NinjaScript function to do this(Only Horizontally) and would require you creating your own PlotType.


    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      Brett,

      Thanks for your response.

      I am a bit disappointed that NinjaTrader can't support such a rather common requirement.

      Still...I am hopeful that one of our experts out there can come up with some creative solution - just as how the Plot method was used for the original Ichimoku indicator.

      I am sure there are at least some people that implemented this feature in their own indicator/strategy. Hopefully, we get to share in their programming genius.

      Thanks!

      Comment


        #4
        Has anything changed since 2010 on this issue?

        Has anything changed since 2010 on this issue?

        Comment


          #5
          Hi alexstox,

          There have not been any changes to NT7 in this area. I'm not aware of any custom solutions, but we'll leave this thread open in case any other users have a method for drawing text vertically.
          MatthewNinjaTrader Product Management

          Comment


            #6
            Originally posted by NinjaTrader_Matthew View Post
            Hi alexstox,

            There have not been any changes to NT7 in this area. I'm not aware of any custom solutions, but we'll leave this thread open in case any other users have a method for drawing text vertically.
            But it could be done using C#?

            Comment


              #7
              Originally posted by alexstox View Post
              But it could be done using C#?
              Of course.

              This thread has an almost identical request, and some resources towards a solution.

              ref: http://www.ninjatrader.com/support/f...40325#poststop

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              582 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              338 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              554 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              552 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X