Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get Time and Sales Info to Output Window

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Get Time and Sales Info to Output Window

    Hello,

    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?

    #2
    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.

    Comment


      #3

      For some reason I'm not getting this coming through. Please see below. As you can see not matching.


      Click image for larger version  Name:	image.png Views:	0 Size:	143.5 KB ID:	1302904
      Attached Files
      Last edited by ttrader23; 05-08-2024, 08:24 PM.

      Comment


        #4
        Hello ttrader23,

        Is this your own version of the script, or are you testing out the TnSPrintsExample from the forum post?

        When I test out that script, I'm not seeing any discrepancy.

        Comment


          #5
          It is the same script. Try it and wait for those large orders. They don't come in.

          Comment


            #6
            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


              #7
              Click image for larger version

Name:	image.png
Views:	60
Size:	4.5 KB
ID:	1302983

              Did you get this large order on your output?

              Comment


                #8
                Or any of these?Click image for larger version

Name:	image.png
Views:	63
Size:	10.7 KB
ID:	1302989

                Comment


                  #9
                  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?
                  Attached Files

                  Comment


                    #10
                    It's ES same as yours. Try multiple times and large orders. They don't always come in.

                    Comment


                      #11
                      Hello ttrader23,

                      I'm not able to replicate this behavior using this sample script.

                      Does your TnS window have Last updates checked in the Properties?

                      Can you share a video showing what steps you are taking that lead to this behavior?

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                      0 responses
                      650 views
                      0 likes
                      Last Post Geovanny Suaza  
                      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                      0 responses
                      370 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by Mindset, 02-09-2026, 11:44 AM
                      0 responses
                      109 views
                      0 likes
                      Last Post Mindset
                      by Mindset
                       
                      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                      0 responses
                      574 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by RFrosty, 01-28-2026, 06:49 PM
                      0 responses
                      577 views
                      1 like
                      Last Post RFrosty
                      by RFrosty
                       
                      Working...
                      X