• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can this be programmed

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

    Can this be programmed

    I need to scan about 200 stocks a night to see which ones cycle five times in 6 months.These cycles should appear over 6-8 days and show a gain of 20% or more.

    Is this possible using NT?

    #2
    It is certainly possible to code that in NinjaTrader, if you define what you call a cycle.

    Comment


      #3
      Originally posted by cdnPATRIOT View Post
      I need to scan about 200 stocks a night to see which ones cycle five times in 6 months.These cycles should appear over 6-8 days and show a gain of 20% or more.

      Is this possible using NT?
      On the assumption that by "a cycle" you mean a "SwingHigh to SwingLow to SwingHigh" or the converse, then either of two shipping NinjaTrader Indicators can be used to program what you want. One would use either the Swing or ZigZag indicator class.

      Comment


        #4
        Hello cdnPATRIOT,

        Thank you for your post.

        While it is possible to set up scans for custom conditions over lists of instruments, you may run into limitations on how many instruments you can request data for at once for the data provider you are using.

        You could potentially down load the data after the session close in smaller sets and then run calculations over the historical data while not connected to your data provider (in order to avoid re-requesting the data you have and getting messages on the limitations).

        Are you looking for resources to begin coding in NinjaScript?
        Patrick H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bchip, Today, 09:25 AM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Tomass, Today, 09:25 AM
        2 responses
        12 views
        0 likes
        Last Post Tomass
        by Tomass
         
        Started by hundert, Today, 08:37 AM
        3 responses
        18 views
        0 likes
        Last Post NinjaTrader_Melissa  
        Started by ronaldgreene828, Today, 08:16 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by hir04068, Today, 01:36 AM
        1 response
        18 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Working...
        X