Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug in draw object using time V7.0.1000.11

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

    Bug in draw object using time V7.0.1000.11

    Scenario: I use DRAWRECTANGLE or DRAWLINE on a chart using an indicator with start time of now and an end time in the distant future. Everything is perfect until the start time of the rectangle falls off the the left of the chart then the rectangle no longer shows even though the end date has not been met.

    I can go to higher range chart and it works fine but would like to use my lower time frame. It would appear ninja looks to see what objects begin on the displayed chart to determine what to draw and not what might have carried over or just rolled off the chart.

    This is easily repeatable.

    Is there a fix or workaround?

    #2
    Hello,

    If the object is being drawn more than 256 bars back you will need to set
    MaximumBarsLookBack = MaximumBarsLookBack.Infinite;


    Additionally please ensure enough bars are loaded onto your chart by right clicking the chart -> data series... -> days to load -> increase this as needed

    Please let me know if I can be of further assistance.
    LanceNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

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