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 pechtri, 06-22-2023, 02:31 AM
        9 responses
        122 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by frankthearm, 04-18-2024, 09:08 AM
        16 responses
        64 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Started by habeebft, Today, 01:18 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by benmarkal, Today, 12:52 PM
        2 responses
        13 views
        0 likes
        Last Post benmarkal  
        Started by f.saeidi, Today, 01:38 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X