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

Screen stocks for limit entry orders

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

    Screen stocks for limit entry orders

    Hi, can you please point me in the right direction of how to approach that:

    (a) Can I run a script over 100 symbols?
    Would like to screen 100 stock symbols, maybe import them from a file?

    (b) How to loop thru all symbols and where/how to save parameters?
    Calculate entry limit price (and target/stop loss prices) based on High/Low range of several days back, as well as prioritise by calculating RSI levels.

    (c) Check for sending orders
    Loop thru all the 100 symbols to see if entry limit is reached and fire entry orders. If more than x symbols would qulify for entry, it should be limited to x entries and prioritised based on RSI level (see (b)).

    (d) Active positions
    How can I check the next day wheter or not my strategy still holds postions, i.e. if it holds x positions no new orders should be fired. Not every open position would origin from this strategy and those should be ignored here.

    Thank you.

    #2
    a. If you have a powerful enough computer to process that many simultaneous streams.

    b. http://www.ninjatrader-support.com/H...ameInstruments

    c. You don't "loop" through the data. It will go through each one in sequence as data from the various symbols are received.

    d. Please look at the Help Guide article for Positions.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by usasugardefender, Today, 01:42 AM
    0 responses
    1 view
    0 likes
    Last Post usasugardefender  
    Started by haas88, 03-21-2024, 02:22 AM
    15 responses
    182 views
    0 likes
    Last Post haas88
    by haas88
     
    Started by brianfnoel, Today, 01:24 AM
    0 responses
    6 views
    0 likes
    Last Post brianfnoel  
    Started by bill2023, Yesterday, 08:21 AM
    2 responses
    14 views
    0 likes
    Last Post bill2023  
    Started by ynoldsany, Today, 01:00 AM
    0 responses
    3 views
    0 likes
    Last Post ynoldsany  
    Working...
    X