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
No announcement yet.
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.
-
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.
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?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
649 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
370 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
576 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment