• 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 walter739, Today, 11:56 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by kevinfloresz, Today, 09:46 AM
      2 responses
      19 views
      0 likes
      Last Post kevinfloresz  
      Started by digibob, 12-13-2019, 10:01 PM
      4 responses
      16 views
      0 likes
      Last Post bltdavid  
      Started by TraderJim618, Today, 11:24 AM
      0 responses
      4 views
      0 likes
      Last Post TraderJim618  
      Started by NT-Roland, Today, 10:03 AM
      1 response
      8 views
      0 likes
      Last Post Lancer
      by Lancer
       
      Working...
      X