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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      80 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      46 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      66 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X