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 ScottWalsh, Today, 06:52 PM
    4 responses
    32 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Today, 07:39 PM
    0 responses
    4 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Today, 03:01 PM
    2 responses
    19 views
    0 likes
    Last Post helpwanted  
    Started by cre8able, Today, 07:24 PM
    0 responses
    6 views
    0 likes
    Last Post cre8able  
    Started by Haiasi, Today, 06:53 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Working...
    X