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 inanazsocial, Today, 01:15 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by rocketman7, Today, 02:12 AM
    0 responses
    10 views
    0 likes
    Last Post rocketman7  
    Started by dustydbayer, Today, 01:59 AM
    0 responses
    1 view
    0 likes
    Last Post dustydbayer  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    5 responses
    23 views
    0 likes
    Last Post trilliantrader  
    Started by Davidtowleii, Today, 12:15 AM
    0 responses
    3 views
    0 likes
    Last Post Davidtowleii  
    Working...
    X