• 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 JellyRoll, Today, 06:57 PM
      1 response
      16 views
      0 likes
      Last Post bltdavid  
      Started by Dan_D_Trader, Today, 06:22 PM
      1 response
      3 views
      0 likes
      Last Post Emma1
      by Emma1
       
      Started by gemini42, Today, 01:53 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Started by asmmbillah, Today, 04:42 PM
      4 responses
      27 views
      0 likes
      Last Post asmmbillah  
      Started by JAtrades, Today, 02:44 PM
      3 responses
      18 views
      0 likes
      Last Post NinjaTrader_ShawnB  
      Working...
      X