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

Querying Time and Sales Data

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

    Querying Time and Sales Data

    Got one of those questions that I know is going to get me flamed, but here goes.

    Is there any way to query historical data? For example, let's say:
    (1) I'd like to see how many times the Daily RSI on a symbol was below X during Q42012,
    (2) I'd like to know the maximum trade size from the Time & Sales data for a certain day,
    (3) I'd like to query the maximum intraday range for symbol X for 2012.

    I've got a full set of Day, Minute, and Tick data for the symbols I'm interested in. I'm familiar with coding; I'm comfortable writing C# code, and I've already written a few simple indicators and strategies. I was wondering if there was a general-purpose tool to use on our historical data - almost like writing SQL queries from a command line?

    #2
    No flame here

    To the best of my knowledge, no such tool exists. It's certainly not anything built in to Ninjatrader by default. You'll have to just code up each condition you want to check. You could probably do it all in one indicator, and for each condition you want to grab a stat on, simply carry a variable value along each bar and print the value to the output window.

    Comment


      #3
      pbailey19, welcome to our forums. I'm not aware of such a statistical analysis toolbox made available already either, however with NinjaScript's C# capabilities there would be oppurtunity to extend here.
      BertrandNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by helpwanted, Today, 03:06 AM
      1 response
      12 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      9 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      5 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      242 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      387 views
      1 like
      Last Post Gavini
      by Gavini
       
      Working...
      X