Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Historical tick bar calculations???

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

    Historical tick bar calculations???

    I have a question about historical tick bar calculations. I would have CalculateOnBarClose set to false. Assume, for example, that my chart is 50 ticks per bar and that I would like to calculate the average price of the 50 ticks during the bar. I know that I can do that for the real time data by just accumulating the ticks' price sum during the bar and dividing by the number of ticks. However, would that work for historical Zen-Fire data? In NT, on the historical bars, will attempts to sum the individual tick price data within the bars work correctly or should I just restrict such calculations to real time data? Thanks.

    #2
    This will not work on historical data since only the close of bar values are known historically and not the ticks that formed the bar.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    152 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    87 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    131 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    127 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    106 views
    0 likes
    Last Post CarlTrading  
    Working...
    X