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 mattbsea, Today, 05:44 PM
        0 responses
        3 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        31 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        2 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,282 views
        0 likes
        Last Post Leafcutter  
        Started by WHICKED, Today, 12:45 PM
        2 responses
        20 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Working...
        X