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 SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      101 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      56 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      25 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      35 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      38 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X