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

How to do live stock filter?

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

    How to do live stock filter?

    Hi, can anyone help to provide some guideline to do live stock filtering?

    Say from about 200 pre-selected stocks, during the trading hours, I like to do live filtering using pre-defined conditions to further select candidates to long/short position.

    For instance, say I already have selected stocks "AAA, AAB, AAC...AAZ", as long as one of them meet the condition CrossAbove(SMA(Fast), SMA(Slow), 1), EnterLong().

    I would appreciate if someone can provide some highlights, if possible including some main codes. Thanks.

    ASeed

    #2
    Hello,

    Thanks for the note.

    Unfortunately NinjaTrader does not have a stock filtering engine like what you may be familiur with. You can filter them based on indicator output in the market analyzer with filters.

    However you can only filter agianst static values and not dynamic values.

    For example a filter for if the ADX is over 15 then filter the stock.

    Setting filters:



    Let me know if I can be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DJ888, Today, 10:57 PM
    0 responses
    1 view
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    158 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    7 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Working...
    X