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

Draw dots on the price panel in the top right corner

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

    Draw dots on the price panel in the top right corner

    I'd like to draw some dots in the top right corner. I have tested my idea with text using DrawTextFixed and specifying top right corner. But instead of text I'd like to just draw a dot (or square or anything more visual than text).

    The draw dot method can only draw above the current bar or in the past. I'd like it in the top right.

    I imagine I must use some .NET routines to do this. That's ok with me.

    If anyone has any examples of this I'd be very grateful.

    Thanks

    #2
    hello,

    Is this what you are looking for ?

    DrawTextFixed("tag1", "", TextPosition.TopRight);

    Comment


      #3
      I got two solutions on the Big Mike Trading forum.

      1 - use wingdings and use the built-in text functions

      2 - I found some TRO indicators that do what I want. He overrides the plot method. A bit more complicated but I know how to program so I can figure it out.

      Comment


        #4
        cunparis, in addition to what you found, you could also just draw a period "." with a very large font size, which would result in a large dot. Please see the reference sample titled changing fonts for draw objects to see how this is done.
        AustinNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Austin View Post
          cunparis, in addition to what you found, you could also just draw a period "." with a very large font size, which would result in a large dot. Please see the reference sample titled changing fonts for draw objects to see how this is done.
          Another good idea, even easier. thanks

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by WHICKED, Today, 12:45 PM
          2 responses
          16 views
          0 likes
          Last Post WHICKED
          by WHICKED
           
          Started by GussJ, 03-04-2020, 03:11 PM
          15 responses
          3,272 views
          0 likes
          Last Post xiinteractive  
          Started by Tim-c, Today, 02:10 PM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by Taddypole, Today, 02:47 PM
          0 responses
          2 views
          0 likes
          Last Post Taddypole  
          Started by chbruno, 04-24-2024, 04:10 PM
          4 responses
          51 views
          0 likes
          Last Post chbruno
          by chbruno
           
          Working...
          X