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

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.

    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 JonesJoker, 04-22-2024, 12:23 PM
              8 responses
              41 views
              0 likes
              Last Post JonesJoker  
              Started by timko, Today, 06:45 AM
              0 responses
              3 views
              0 likes
              Last Post timko
              by timko
               
              Started by Waxavi, 04-19-2024, 02:10 AM
              2 responses
              38 views
              0 likes
              Last Post poeds
              by poeds
               
              Started by chbruno, Yesterday, 04:10 PM
              1 response
              44 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by Max238, Today, 01:28 AM
              1 response
              25 views
              0 likes
              Last Post CactusMan  
              Working...
              X