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 gentlebenthebear, Today, 01:30 AM
    2 responses
    13 views
    0 likes
    Last Post gentlebenthebear  
    Started by Kaledus, Today, 01:29 PM
    2 responses
    8 views
    0 likes
    Last Post Kaledus
    by Kaledus
     
    Started by frankthearm, Yesterday, 09:08 AM
    13 responses
    46 views
    0 likes
    Last Post frankthearm  
    Started by PaulMohn, Today, 12:36 PM
    2 responses
    16 views
    0 likes
    Last Post PaulMohn  
    Started by Conceptzx, 10-11-2022, 06:38 AM
    2 responses
    56 views
    0 likes
    Last Post PhillT
    by PhillT
     
    Working...
    X