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 alifarahani, Today, 09:40 AM
          3 responses
          15 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by RookieTrader, Today, 09:37 AM
          4 responses
          18 views
          0 likes
          Last Post RookieTrader  
          Started by PaulMohn, Today, 12:36 PM
          0 responses
          5 views
          0 likes
          Last Post PaulMohn  
          Started by love2code2trade, 04-17-2024, 01:45 PM
          4 responses
          40 views
          0 likes
          Last Post love2code2trade  
          Started by junkone, Today, 11:37 AM
          3 responses
          25 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X