Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Code help request for charting problem

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

    Code help request for charting problem

    I am using a 50 tick chart. The Problem: There is data to plot, but the chart does not plot data right away. The data can be displayed in the Data Box'
    .
    No data plotted for 19 Bars - (09:43) and yet the data looks correct leading up to 19 bars.
    What am I missing?
    I see this on other charts that I have developed as well. The delay is different though.

    AddPlot(new Stroke(Brushes.Chartreuse, 15), PlotStyle.Hash, "R2G");

    Values[0][0] = High[0] + OffsetHi;

    NinjaScript Output

    Time 12/12/2017 09:30:44 BarCount =2 red2Green[0] = 1 OffsetHi =0.047 valueData = 2.937 Values[0][0] = 2.937

    #2
    Hello CKnudsen,
    Thanks for your post.

    It would be expected to see data in the data box even before the strategy has begun plotting. What is your setting for BarsRequiredToPlot ?

    BarsRequiredToPlot

    I look forward to your reply.
    Josh G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    580 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    335 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    102 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