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
Historical Time and Sales
Collapse
X
-
tupchurch, there would unfortunately not be a supported approach to achieve that, since the OnMarketData() is not called on historical data. Our next major platform update will allow the historical triggering of OnMarketData through a process we call TickReplay. This would provide the most consistent outcome.
There's the GOM Recorder indicator framework around that records the backfill data needed to binary files, this would be an approach you could check into as well in the meantime.BertrandNinjaTrader Customer Service
-
This data must be in the historical data, yes? What if I made a one tick chart with bid, ask and last prices and compared the last price to the bid and ask prices and couple that with volume. Would this be that same data? I could share the data with other charts via SQL Server or maybe even the registry. I don't know if that would be accurate. Please let me know if I am misunderstanding the data. Thanks
Comment
-
Hi tupchurch,
You may try adding a tick series of bid and ask and getting those historically.
For example:
Add(Instrument.Fullname, PeriodType.Tick, 1, MarketDataType.Ask)
Add(string instrumentName, PeriodType periodType, int period, MarketDataType marketDataType)
http://www.ninjatrader.com/support/h...s/nt7/add3.htmChelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by algospoke, Yesterday, 06:40 PM
|
2 responses
19 views
0 likes
|
Last Post
by algospoke
Today, 07:04 PM
|
||
Started by ghoul, Today, 06:02 PM
|
3 responses
14 views
0 likes
|
Last Post Today, 06:43 PM | ||
Started by jeronymite, 04-12-2024, 04:26 PM
|
3 responses
45 views
0 likes
|
Last Post
by jeronymite
Yesterday, 10:10 PM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
7 responses
20 views
0 likes
|
Last Post Today, 06:16 PM | ||
Started by AttiM, 02-14-2024, 05:20 PM
|
10 responses
181 views
0 likes
|
Last Post
by jeronymite
Today, 06:11 PM
|
Comment