Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Get Tick series from OnBarUpdate - TickReplay

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

    Get Tick series from OnBarUpdate - TickReplay

    Is there a way to access the underlying Tick series for a particular bar from within OnBarUpdate.. ie the tick series used to build the bar?

    In particular I am calculating OnBarUpdate On Each Tick - I wish to know the TimeStamp of the current tick as would usually be obtained from OnMarketData, and with TickReplay enabled.

    How synchronized is OnMarketData guaranteed to be with OnBarUpdate when calculating for each tick? If I store the DateTime of the Last data MarketDataEvent update within OnMarketData, will OnBarUpdate be called for the latest tick within a certain time window, when using TickReplay, or is there no synchronization at all.. ie You could process a bunch of ticks in OnMarketData update before even one OnBarUpdate call??

    Thanks.

    #2
    Hello graham,

    Thank you for your post.

    You can access added bar series to your script if this is what you refer to. Please visit the following link: http://ninjatrader.com/support/helpG...nstruments.htm

    Your questions on Tick Replay are answered in the documentation at the following link: http://ninjatrader.com/support/helpG...ick_replay.htm

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by mmenigma, Today, 02:22 PM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by frankthearm, Today, 09:08 AM
    9 responses
    35 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by NRITV, Today, 01:15 PM
    2 responses
    9 views
    0 likes
    Last Post NRITV
    by NRITV
     
    Started by maybeimnotrader, Yesterday, 05:46 PM
    5 responses
    26 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by quantismo, Yesterday, 05:13 PM
    2 responses
    21 views
    0 likes
    Last Post quantismo  
    Working...
    X