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 quantismo, 04-17-2024, 05:13 PM
          4 responses
          30 views
          0 likes
          Last Post quantismo  
          Started by love2code2trade, 04-17-2024, 01:45 PM
          4 responses
          31 views
          0 likes
          Last Post love2code2trade  
          Started by cls71, Today, 04:45 AM
          2 responses
          10 views
          0 likes
          Last Post eDanny
          by eDanny
           
          Started by proptrade13, Today, 11:06 AM
          0 responses
          5 views
          0 likes
          Last Post proptrade13  
          Started by kulwinder73, Today, 10:31 AM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_Erick  
          Working...
          X