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 wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    27 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 04-23-2024, 09:53 PM
    2 responses
    74 views
    0 likes
    Last Post wzgy0920  
    Started by Kensonprib, 04-28-2021, 10:11 AM
    5 responses
    193 views
    0 likes
    Last Post Hasadafa  
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,235 views
    0 likes
    Last Post xiinteractive  
    Working...
    X