• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Days to load

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

    Days to load

    Hello

    How to set "Days to load" chart/data series property from code?

    #2
    ren37,

    This is unsupported but you can call ChartControl for the DaysBack. For example:
    Code:
    ChartControl.BarsArray[0].BarsData.DaysBack = 5;
    Now, this will set the Data Series menu's Days To Load to 5, but it will not load the proper days on the chart. You would need to reload the historical data on the chart. This also needs unsupported code, and you could look into using Send Keys. This was suggested at the following link as well: http://ninjatrader.com/support/forum...70&postcount=7
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Thank a lot!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NT-Roland, Today, 04:36 PM
      0 responses
      2 views
      0 likes
      Last Post NT-Roland  
      Started by Newtrader101, Today, 03:40 PM
      2 responses
      10 views
      0 likes
      Last Post Newtrader101  
      Started by Branpo, Today, 02:58 PM
      2 responses
      7 views
      0 likes
      Last Post Branpo
      by Branpo
       
      Started by sdauteuil, Today, 02:09 PM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by AMATX, Today, 02:19 PM
      2 responses
      11 views
      0 likes
      Last Post AMATX
      by AMATX
       
      Working...
      X