Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 bortz, 11-06-2023, 08:04 AM
    47 responses
    1,607 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Today, 05:56 PM
    0 responses
    9 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    19 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    6 views
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    15 views
    0 likes
    Last Post Javierw.ok  
    Working...
    X