Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

what do you do when this happens?

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

    what do you do when this happens?

    Sometimes I wonder about this program. See attached chart. What do you do when you see a chart like this missing so much data? Of course I've tried the following:

    * close and re-open the workspace
    * reload all historical data
    * reload Ninjascipt

    That's all I know how to do. Should have 3 whole days worth of data on there.

    What causes this kind of error? How do you fix it?
    Tasuki
    Attached Files
    Last edited by Tasuki; 09-05-2017, 07:55 AM.

    #2
    Originally posted by Tasuki View Post
    Sometimes I wonder about this program. See attached chart. What do you do when you see a chart like this missing so much data? Of course I've tried the following:

    * close and re-open the workspace
    * reload all historical data
    * reload Ninjascipt

    That's all I know how to do. Should have 3 whole days worth of data on there.

    What causes this kind of error? How do you fix it?
    Tasuki
    By default, in an indicator, BarsRequired is 20. That means that, generally speaking, you will not see an indicator Plot until there are 20 bars on the chart. If you wrote the indicator, you can change the BarsRequired property.

    Comment


      #3
      Hello Tasuki,

      Thank you for your post.

      koganam is correct here, indicators will have a 20 bar BarsRequiredToPlot setting by default. This can be changed in the code of your custom indicator. Please refer to the following link for more details: http://ninjatrader.com/support/helpG...iredtoplot.htm

      Please let me know if you have any questions.

      Comment


        #4
        OK, I see. The problem was with the holiday trading hours. The three days worth of data I'd specified for this 3000 tick chart only went back a short way due to the unusual trading schedule of the Labor Day weekend. OK, no harm no foul. Thanks, guys.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by pechtri, 06-22-2023, 02:31 AM
        10 responses
        124 views
        0 likes
        Last Post Leeroy_Jenkins  
        Started by judysamnt7, 03-13-2023, 09:11 AM
        4 responses
        59 views
        0 likes
        Last Post DynamicTest  
        Started by ScottWalsh, Yesterday, 06:52 PM
        4 responses
        36 views
        0 likes
        Last Post ScottWalsh  
        Started by olisav57, Yesterday, 07:39 PM
        0 responses
        7 views
        0 likes
        Last Post olisav57  
        Started by trilliantrader, Yesterday, 03:01 PM
        2 responses
        22 views
        0 likes
        Last Post helpwanted  
        Working...
        X