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

Simulating Live Bars with Historical Tick Data

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

    Simulating Live Bars with Historical Tick Data

    If I understand how historical and live bars differ and I want to simulate live bars with Historical Tick Data then when FirstTickOfBar == true; on Historical data then am I correct in thinking if the bars were live then we would have seen the close of the live bar 2 ticks ago, IE FIrstTickOfBar == true; one tick earlier for live data ? Does that make sense ?

    I understand that FirstTickOfBar is not available for Historical data but I would monitor that manually with tick data
    Last edited by GKonheiser; 04-19-2016, 08:38 AM.

    #2
    Hello GKonheiser,

    I'm currently looking into this for you.

    I appreciate your patience.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello GKonheiser,

      Thank you for your patience.

      I have included a video and a script in this response to hopefully clear things up for you on this matter. I would also ask that we keep this inquiry to one thread or one email as it will ensure we are providing accurate information on the case.

      The script is attached and the video is at the following link: http://screencast.com/t/wnFeUW9D
      Attached Files

      Comment


        #4
        Originally posted by GKonheiser View Post
        If I understand how historical and live bars differ and I want to simulate live bars with Historical Tick Data then when FirstTickOfBar == true; on Historical data then am I correct in thinking if the bars were live then we would have seen the close of the live bar 2 ticks ago, IE FIrstTickOfBar == true; one tick earlier for live data ? Does that make sense ?

        I understand that FirstTickOfBar is not available for Historical data but I would monitor that manually with tick data
        For historical bars, FirstTickOfBar == OnlyTickOfBar. It is there and it is accessible.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by gentlebenthebear, Today, 01:30 AM
        2 responses
        13 views
        0 likes
        Last Post gentlebenthebear  
        Started by Kaledus, Today, 01:29 PM
        2 responses
        7 views
        0 likes
        Last Post Kaledus
        by Kaledus
         
        Started by frankthearm, Yesterday, 09:08 AM
        13 responses
        45 views
        0 likes
        Last Post frankthearm  
        Started by PaulMohn, Today, 12:36 PM
        2 responses
        16 views
        0 likes
        Last Post PaulMohn  
        Started by Conceptzx, 10-11-2022, 06:38 AM
        2 responses
        56 views
        0 likes
        Last Post PhillT
        by PhillT
         
        Working...
        X