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 soon123, Today, 12:51 AM
    0 responses
    1 view
    0 likes
    Last Post soon123
    by soon123
     
    Started by Jema1, Today, 12:23 AM
    0 responses
    3 views
    0 likes
    Last Post Jema1
    by Jema1
     
    Started by soon123, Yesterday, 11:14 PM
    0 responses
    1 view
    0 likes
    Last Post soon123
    by soon123
     
    Started by smcllr, Yesterday, 04:15 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by rtwave, Yesterday, 02:33 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Kate  
    Working...
    X