Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Painting retrospectively

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

    Painting retrospectively

    Hello,

    I would like to paint retrospectively. Suppose that I make some calculations in every bar and I fill with them a matrix.
    Ok, when I'm in the last bar, I'd like to paint retrospectively from the #0 bar until the last bar.
    Something like this:

    LastBar=Bar.Count-2;
    If (CurrentBar=LastBar)
    for (i=0;i<LastBar;i++)
    Plot0.Set(matrix[i])[LastBar-i];

    i.e. it shoud paint in the bar 0 ("LastBar-i" bars before) the value "matrix[0]" and so on.

    Is there any way to do that in NinjaTrader?

    regards,
    jr.

    #2
    Resolved.

    regards,
    jr.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    581 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    338 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    552 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X