Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi Series - Same periodicity

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

    #31
    Muly,

    Sorry, I don't follow. Are you saying that you had some code in place which would check for duplicates anyway? Then this is no longer needed and actually would make your life easier no?

    Could you please be explicit on the issues you see? Feel free to PM me.

    Also: Ressources was one issue why we restricted that. A more important one was it NEVER worked since the logic to determine BIP would filter out events so the NinjaScript handlers actually NEVER were called in specific scenarios. So the whole idea of duplicate series would not have worked in the first place.

    Comment


      #32
      Hi,
      In Multi time frame indicators do the periodicity-type has to be similar.

      for example i have added an additional series of

      Code:
      Add(PeriodType.Second ,30);
      and watching a minute chart and I am printing the time value on OnBarUpdate. the first array returns value while the additional array fails to return anything.

      this is not the case if the additional bar array is of similar periodicity, like

      Code:
      Add(PeriodType.Minute ,1);
      here its working ok.

      is this a expected behavior or i am missing something or its an error. any input will be highly appreciated.

      thanks in advance.

      regards...
      Attached Files

      Comment


        #33
        You can mix and match any time of periods you want. The reason you do not get any prints from one series is likely because one series has more data than the other. This can be the case because seconds periods use tick data while minute periods use minute data.
        Josh P.NinjaTrader Customer Service

        Comment


          #34
          thanks Josh for the prompt reply.

          have been running it on sim and the print out results are a bit strange. the chart is of one minute and have added a secondary series for 30 seconds.

          BIP: 0, Value: 5/11/2010 8:29:00 PM
          BIP: 0, Value: 5/11/2010 8:30:00 PM
          BIP: 0, Value: 5/11/2010 8:31:00 PM
          BIP: 0, Value: 5/11/2010 8:32:00 PM
          BIP: 0, Value: 5/11/2010 8:33:00 PM
          BIP: 0, Value: 5/11/2010 8:34:00 PM
          BIP: 0, Value: 5/11/2010 8:35:00 PM
          BIP: 0, Value: 5/11/2010 8:36:00 PM
          BIP: 0, Value: 5/11/2010 8:37:00 PM
          BIP: 0, Value: 5/11/2010 8:38:00 PM

          BIP: 1, Value: 5/11/2010 8:29:00 PM
          BIP: 1, Value: 5/11/2010 8:29:30 PM
          BIP: 1, Value: 5/11/2010 8:30:00 PM
          BIP: 1, Value: 5/11/2010 8:30:30 PM
          BIP: 1, Value: 5/11/2010 8:31:00 PM
          BIP: 1, Value: 5/11/2010 8:31:30 PM
          BIP: 1, Value: 5/11/2010 8:32:00 PM
          BIP: 1, Value: 5/11/2010 8:32:30 PM
          BIP: 1, Value: 5/11/2010 8:33:00 PM
          BIP: 1, Value: 5/11/2010 8:33:30 PM
          BIP: 1, Value: 5/11/2010 8:34:00 PM
          BIP: 1, Value: 5/11/2010 8:34:30 PM
          BIP: 1, Value: 5/11/2010 8:35:00 PM
          BIP: 1, Value: 5/11/2010 8:35:30 PM
          BIP: 1, Value: 5/11/2010 8:36:00 PM
          BIP: 1, Value: 5/11/2010 8:36:30 PM
          BIP: 1, Value: 5/11/2010 8:37:00 PM
          BIP: 1, Value: 5/11/2010 8:37:30 PM
          BIP: 1, Value: 5/11/2010 8:38:00 PM

          BIP: 1, Value: 5/11/2010 8:38:30 PM
          BIP: 0, Value: 5/11/2010 8:39:00 PM
          BIP: 1, Value: 5/11/2010 8:39:00 PM
          BIP: 1, Value: 5/11/2010 8:39:30 PM
          BIP: 0, Value: 5/11/2010 8:40:00 PM
          BIP: 1, Value: 5/11/2010 8:40:00 PM

          Comment


            #35
            bukkan,

            Please add to your prints the Historical property. Thanks.
            Josh P.NinjaTrader Customer Service

            Comment


              #36
              seems i am getting something wrong. will further work on it. thanks Josh for your time.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              603 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              349 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              104 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              560 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              560 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X