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
Data
Collapse
X
-
Data
How do I retrieve the data for each individual buy and sell order that has been filled? Looking to build an indicator similar to trade detector, and so I need each individual order that has gone through.Tags: None
-
Hello wavestrader,
Thank you for your note.
Each trade of a instrument is going to be contained in the tick data, so adding a secondary tick series to an indicator or strategy and referencing the close, volume and time of that tick wouold reveal the trade price, size, and time.
I've attached a sample indicator which when you apply to a chart will print to the output window the price, size, and time.
Please let us know if you need further assistance.Attached FilesAlan P.NinjaTrader Customer Service
-
-
Hello wavestrader,
You could pull in a bid and a ask series, and compare the tick to the bid and ask to identify which price the tick/trade took place at.
Below would be a link to the helpguide covering adding a bid/ask series.
Another and maybe a better approach you could go with would be to see the BuySellVolume indicator preloaded on NinjaTrader, which uses OnMarketData to check at which price a trade occurred.
Please let us know if you need further assistance.Alan P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by AgriTrdr, 07-16-2023, 12:54 PM
|
32 responses
266 views
0 likes
|
Last Post
by f.saeidi
Yesterday, 06:49 AM
|
||
Started by Mestor, Today, 03:15 AM
|
0 responses
1 view
0 likes
|
Last Post
by Mestor
Today, 03:15 AM
|
||
Started by Mestor, 03-10-2023, 01:50 AM
|
11 responses
305 views
0 likes
|
Last Post
by z.franck
Today, 02:29 AM
|
||
Started by Padan, Today, 02:02 AM
|
0 responses
6 views
0 likes
|
Last Post
by Padan
Today, 02:02 AM
|
||
Started by bukowa, 11-09-2023, 06:07 PM
|
20 responses
409 views
0 likes
|
Last Post
by Adfra
Today, 01:36 AM
|
Comment