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 TheWhiteDragon, 01-21-2019, 12:44 PM
        4 responses
        542 views
        0 likes
        Last Post PaulMohn  
        Started by GLFX005, Today, 03:23 AM
        0 responses
        3 views
        0 likes
        Last Post GLFX005
        by GLFX005
         
        Started by XXtrader, Yesterday, 11:30 PM
        2 responses
        11 views
        0 likes
        Last Post XXtrader  
        Started by Waxavi, Today, 02:10 AM
        0 responses
        7 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        14 views
        0 likes
        Last Post TradeForge  
        Working...
        X