I understand that FirstTickOfBar is not available for Historical data but I would monitor that manually with tick data
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!
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
NinjaTrader
Simulating Live Bars with Historical Tick Data
Collapse
X
-
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 dataLast edited by GKonheiser; 04-19-2016, 08:38 AM. -
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/wnFeUW9DAttached Files
Comment
-
Originally posted by GKonheiser View PostIf 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
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by rbeckmann05, Yesterday, 06:48 PM
|
1 response
12 views
0 likes
|
Last Post
by bltdavid
Today, 05:43 AM
|
||
Started by llanqui, Today, 03:53 AM
|
0 responses
6 views
0 likes
|
Last Post
by llanqui
Today, 03:53 AM
|
||
Started by burtoninlondon, Today, 12:38 AM
|
0 responses
10 views
0 likes
|
Last Post Today, 12:38 AM | ||
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
15 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
11 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
Comment