Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Draw.Dot alternative?

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

    Draw.Dot alternative?

    Morning all. I have used Strategy Builder and then converted to an indicator to build a simple indicator that I like. It works just as it should, and prints a dot above/below the price bar when the parameters are met. However visually, I don't find it appealing. The dot sizes using this method are auto sized to the bar width and natively seem to have a grey outline on them.

    I have looked at some other custom indicators that have selectable size/color for dots and they seem to use SharpDX. I waded into that pool and quickly found that is a little beyond my ability, despite spending hours picking through the code to try and reproduce it.

    Is there any other way to achieve the effect I am looking for? For instance, when you use the native MAX indicator, if I set the plot to DOT, SOLID and WIDTH 1, you get a nice tiny dot on the chart. Any ideas out there?? Thanks! Click image for larger version

Name:	Ninjascript sample.png
Views:	128
Size:	4.5 KB
ID:	1292956
    Attached Files

    #2
    Hello 90bideven,

    Thanks for your post.

    You could consider using ChartMarkersPlus from the NinjaTrader Ecosystem User App Share in your script instead of the default Drawing Tools.

    This script contains added NinjaScript methods that allow you to access the ChartMarkersPlus script to allow you to draw markers or objects such as a dot and change the size and outline color of the drawing object.

    The User App Share page contains a brief explanation about using the NinjaScript methods of ChartMarkersPlus to draw an object and specify its DrawobjectSize and OutlineBrush.​

    ChartMarkersPlus: https://ninjatraderecosystem.com/use...rtmarkersplus/

    See this Forum thread for more information: https://forum.ninjatrader.com/forum/...82#post1109882

    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    <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
      Thanks for the follow up...I'll have a look.

      90

      Comment


        #4
        Click image for larger version

Name:	Ninjascript Sample 2.png
Views:	119
Size:	5.2 KB
ID:	1293094 Thanks again Brian...figured it out and they work just great!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        612 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        355 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        561 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        564 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X