Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

BarsArray(24/7 time frame ) Bars Array (RTH time frame)

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

    BarsArray(24/7 time frame ) Bars Array (RTH time frame)

    How can I tell Ninjatrader to look at Bararray for RTH time frame and bararray for 24/7 time frame for a strategy. how would i code this. what would i need to put in
    Code:
    protected override void Initialize()

    #2
    Hi wallstreetking, that would unfortunately not be directly possible this way, the primary series' session template would be used for the added series as well then. Generally here are the 'rules' in this process -

    If a multi-series script adds an additional Bars object that already exists on the chart, the script will use the preexisting series instead of creating a new one to conserve memory. This includes that series' session template as applied from the chart. If the Bars object does not exist on the chart, the session template of the added Bars object will be the session template of the primary Bars object. If the primary Bars object is using the "<Use instrument settings>" session template then the additional Bars objects will use the default session templates as defined for their particular instruments in the Instrument Manager.

    We do have further enhancements in this area on our suggestion list for the next major update though, I'll make sure to add your request in for it as well.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      yes please add my request thank you

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by GussJ, 03-04-2020, 03:11 PM
      16 responses
      3,281 views
      0 likes
      Last Post Leafcutter  
      Started by WHICKED, Today, 12:45 PM
      2 responses
      19 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Started by Tim-c, Today, 02:10 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by Taddypole, Today, 02:47 PM
      0 responses
      5 views
      0 likes
      Last Post Taddypole  
      Started by chbruno, 04-24-2024, 04:10 PM
      4 responses
      53 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Working...
      X