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 rbeckmann05, Yesterday, 06:48 PM
        1 response
        12 views
        0 likes
        Last Post bltdavid  
        Started by llanqui, Today, 03:53 AM
        0 responses
        6 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by burtoninlondon, Today, 12:38 AM
        0 responses
        10 views
        0 likes
        Last Post burtoninlondon  
        Started by AaronKoRn, Yesterday, 09:49 PM
        0 responses
        15 views
        0 likes
        Last Post AaronKoRn  
        Started by carnitron, Yesterday, 08:42 PM
        0 responses
        11 views
        0 likes
        Last Post carnitron  
        Working...
        X