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!
See more
See less

Partner 728x90

Collapse

Time and Sales

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

    Time and Sales

    Is there a way to acces Time and Sales within indicator? T&S has to be stored in some kind of array?

    Thanks,
    redduke

    #2
    NT 6.5 will allow you to access T&S data which you can store yourself.
    RayNinjaTrader Customer Service

    Comment


      #3
      Hi Ray,

      Any idea when 6.5 is coming out? Also, are there any sample code that I can take a look at?

      Thanks

      Comment


        #4
        Production release this fall, reference samples will be included at that time.
        RayNinjaTrader Customer Service

        Comment


          #5
          Version 6.0.1000.5 and T&S data

          Hi Ray,

          I've just downloaded and browsed through both V6R5 and Release Notes and did not find anything about accessing to T&S data. Is it due later on this month ?

          Gérard

          Comment


            #6
            That would be introduced in NT 6.5, we just released NT 6.0.1000.5.
            RayNinjaTrader Customer Service

            Comment


              #7
              I have 6.5 (just paid for it).

              I need to access T&S from NT script. I cant find any 6.5 NT script documents/reference (only 6).

              I need it asap. Please provide me with link/document with T&S events description.

              Thank you.

              Comment


                #8
                Please see the following link from our Help Guide.

                RayNinjaTrader Customer Service

                Comment


                  #9
                  Ok. OnMarketData event brings you MarketDataEventArgs data.

                  Can you please confirm that code below is 100% corresponds to what I see in NT native T&S window?? Can you really guarantee that? (I am going to use prints as a part of my strategy and if this code will work differently from real prints I can lose real money).

                  string ts;
                  if(e.MarketDataType == MarketDataType.Last)
                  ts = e.Time.ToString() + e.Price.ToString + e.Volume.ToString();

                  Thank you.

                  Comment


                    #10
                    That looks correct and I can say that the internal event that calls this method is identical to what drives the T&S window.
                    RayNinjaTrader Customer Service

                    Comment


                      #11
                      Thank you. I have tested it comparing to your T&S window for a while and it definitely works.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by cmtjoancolmenero, Yesterday, 03:58 PM
                      2 responses
                      19 views
                      0 likes
                      Last Post cmtjoancolmenero  
                      Started by Stanfillirenfro, 04-22-2024, 09:19 AM
                      8 responses
                      59 views
                      0 likes
                      Last Post Stanfillirenfro  
                      Started by olisav57, Yesterday, 07:39 PM
                      1 response
                      9 views
                      0 likes
                      Last Post NinjaTrader_ChelseaB  
                      Started by cocoescala, 10-12-2018, 11:02 PM
                      7 responses
                      941 views
                      0 likes
                      Last Post Jquiroz1975  
                      Started by oviejo, Today, 12:28 AM
                      1 response
                      11 views
                      0 likes
                      Last Post NinjaTrader_Gaby  
                      Working...
                      X