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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      47 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      23 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      33 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      51 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X