I have a simple request. Using code how do we get time and sales info to print out to the console like say if we want to filter only certain block sizes?
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
Get Time and Sales Info to Output Window
Collapse
X
-
Hello ttrader23,
Thank you for your post.
Below is a forum post which has a sample script replicating the Times and Sales window behavior and printing out the info:
You can also use the BlockVolume indicator which detects block trades and displays how many occurred per bar.
Please let us know if you have any further questions.Gaby V.NinjaTrader Customer Service
-
Hello ttrader23,
I'm not able to replicate this behavior when testing out the script on my end. Below is a short video of me testing out the script:
World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.
I would also like to note that the output from your screenshot doesn't match any of the timestamps shown in the Time and Sales. The Times and Sales window has timestamps at 2:59PM but your output is only showing timestamps that stop at 2:26PM. Was the script disabled or was this portion of the output cut off?
I look forward to your response.Gaby V.NinjaTrader Customer Service
Comment
-
Hello ttrader23,
What instrument are you testing? I am receiving updates for large orders and you can see I did get one in the video on the ES 06-24.
Below is a recent screenshot showing it is still working.
Does your TnS window have Last updates checked in the Properties?
Are you testing the script on the same instrument that is being used in the TnS window?Gaby V.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Uregon, Today, 03:44 AM
|
0 responses
2 views
0 likes
|
Last Post
by Uregon
Today, 03:44 AM
|
||
Started by CyberNate, 11-17-2020, 08:15 PM
|
2 responses
426 views
0 likes
|
Last Post
by nurpalgo
Today, 03:16 AM
|
||
Started by sdauteuil, 09-23-2021, 10:16 AM
|
7 responses
1,247 views
0 likes
|
Last Post
by marcus2300
Today, 01:28 AM
|
||
Started by sofortune, 05-18-2024, 11:48 AM
|
2 responses
34 views
0 likes
|
Last Post Yesterday, 07:11 PM | ||
Started by Zach55, 02-19-2024, 07:22 PM
|
2 responses
67 views
0 likes
|
Last Post
by lbadisa1
Yesterday, 07:06 PM
|
Comment