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

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?

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        382 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        1 view
        0 likes
        Last Post oviejo
        by oviejo
         
        Started by pechtri, 06-22-2023, 02:31 AM
        10 responses
        125 views
        0 likes
        Last Post Leeroy_Jenkins  
        Started by judysamnt7, 03-13-2023, 09:11 AM
        4 responses
        59 views
        0 likes
        Last Post DynamicTest  
        Started by ScottWalsh, Yesterday, 06:52 PM
        4 responses
        36 views
        0 likes
        Last Post ScottWalsh  
        Working...
        X