Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

15 minute bar calc onEachTick Index Error

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

    15 minute bar calc onEachTick Index Error

    I have a strategy using 15 min intervals, and using TickReplay seems to work in the analyzer. When I run it live and calculate on OnBarClose, it works fine. When I use onEachTick, I get an index error at bar 1000+, when I only require 500 bars. I'm using both primary data series and volumetric, and both work in OnBarClose.

    Why might this happen for the different calculation, only on Live?

    #2
    Hello Skifree,

    Historical and real-time is processed differently.


    What is the line of code and specific index causing the error?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you Chelsea,

      It took me a while but I ended up up figuring out what that thread shows. Running the strategy live, it actually works well.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      161 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      308 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      349 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X