Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What draw objects can I use to draw a small dot?

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

    What draw objects can I use to draw a small dot?

    The Draw.Dot draw a circle which is a bar width. I need a point which smaller. Any option to use any which I can draw On Price Panel?

    #2
    Hello Shai Samuel,

    Thanks for your post.

    Unfortunately, you cannot control the size of the dot drawn on the chart by the Draw.Dot() method. Dots drawn with this method will be the same width as the bar.

    We are currently tracking interest in adding a syntax that would allow for the width of a drawing object to be specified when calling the Draw object method. I have added your vote.

    The internal tracking number for your feature request is SFT-5242. Please reference this internal tracking number when contacting Platform Support if you ever have questions regarding this feature request.

    When a feature request is implemented, you'll find a description of the new feature in the release notes:
    DrawOnPricePanel is a property that could be set in the OnStateChange() method of your script. There is no Draw.Dot syntax available that allows you to specify DrawOnPricePanel when calling a specific Draw object method.

    See this help guide for more information about DrawOnPricePanel: https://ninjatrader.com/support/help...pricepanel.htm

    See this help guide for more information about Draw.Dot(): https://ninjatrader.com/support/help...8/draw_dot.htm

    Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      You can draw a dot with a font and set the size.
      eDanny
      NinjaTrader Ecosystem Vendor - Integrity Traders

      Comment


        #4
        Thank you Brandon for your detailed reply. As of the DrawOnPricePanel, it is a parameter of most draw object. My indicator is in a different panel than the price, and I need to draw objects both on the price panel and the indicator panel. I might missed something, but I think most Draw Objects has this drawOnPricePanel parameter:

        Code:
        Draw.Dot(NinjaScriptBase owner, string tag, bool isAutoScale, int barsAgo, double y, Brush brush, bool drawOnPricePanel)
        As for the small point I need, I will try to use Danny's idea:

        Originally posted by eDanny View Post
        You can draw a dot with a font and set the size.
        Thank you Danny.

        Comment


          #5
          Originally posted by Shai Samuel View Post
          The Draw.Dot draw a circle which is a bar width. I need a point which smaller. Any option to use any which I can draw On Price Panel?
          You can download the ChartMarkersPlus addon here: https://ninjatraderecosystem.com/use...rtmarkersplus/

          It offers a duplicate of the existing chart markers however they can be resized or sized as needed. You can use the NS methods to draw the dots.

          Comment


            #6
            Hello Shai Samuel,

            Thanks for your note.

            That is my mistake. Yes, Draw.Dot() does have a syntax that lets you specify drawOnPricePanel. Setting drawOnPricePanel to True would mean the drawing would occur in the price panel. When set to false, the draw object will be placed in a separate panel.

            The available Draw.Dot() syntax that allows you to specify drawOnPricePanel could be found below.

            Draw.Dot(NinjaScriptBase owner, string tag, bool i sAutoScale, DateTime time, double y, Brush brush, bool drawOnPricePanel)
            Draw.Dot(NinjaScriptBase owner, string tag, bool i sAutoScale, int barsAgo, double y, Brush brush, bool drawOnPricePanel)


            Let us know if we may assist further.
            <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            566 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            330 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            547 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            548 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X