Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Drawing Objects Plot Bug

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

    Drawing Objects Plot Bug

    If I have an indicator that plots drawing objects (i.e. divergence lines on price), everything works fine until you start scrolling back in time.

    When you scroll back in time, price bars are correctly removed from the right side of the window. The problem is that the drawing objects are not removed, and instead are still plotted. The problem is even worse if you have a larger right side margin.

    The attached picture shows the problem.

    Drawing objects should only be plotted if entirely on the screen (time-wise) or they are in the past. If a drawing object has an endpoint that is in the future based on the plot, those objects should not be displayed (same as price bars).
    Attached Files

    #2
    This may look buggy but I believe NT6.5 acts the same way.
    eDanny
    NinjaTrader Ecosystem Vendor - Integrity Traders

    Comment


      #3
      Originally posted by eDanny View Post
      This may look buggy but I believe NT6.5 acts the same way.
      Doesn't mean they should not fix it.

      Comment


        #4
        I was just pointing out it was not a newly introduced bug. Dan
        eDanny
        NinjaTrader Ecosystem Vendor - Integrity Traders

        Comment


          #5
          aslane, thanks for reporting - do you see this both for indicators and strategies drawing those trendlines?

          Is there any sample code you could send me (or post) that would help me reproduce and check into on my end?

          Thanks

          Comment


            #6
            Example Strategy

            Indicator vs Strategy does not matter. Attached is a simple wizard based strategy that draws lines when ever there is a new HH/LL. Put it on a chart, and set your right side margin to 150-200 to make it worse, then scroll back and forth to see the behavior.
            Attached Files

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            605 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            351 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
            560 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            561 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X