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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    157 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    91 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    143 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    131 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X