• 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 saeed, Today, 12:32 PM
      3 responses
      32 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Started by motog4, Today, 11:42 AM
      3 responses
      17 views
      0 likes
      Last Post NinjaTrader_PatrickG  
      Started by derivtrader, Today, 11:20 AM
      5 responses
      27 views
      0 likes
      Last Post derivtrader  
      Started by TAJTrades, Today, 10:34 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Started by timcjpfx, Today, 10:20 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X