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

automated noise / timeframe selector

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

    automated noise / timeframe selector

    Has anyone experimented with matching a strategies data series to the lowest noise time frame? For example I have a strategy that works on NQ with a 89V chart but only works well on ES with a 1000v chart due to noise. Any thoughts on automatically choosing the best time-frame? Perhaps there is a way to run a Genetic Algorithm in the background to select the best time frame for the strategy?

    #2
    Hello brucelevy,

    To scan instruments looking for the lowest noise, this would require that each instrument be added to the script. Then you could perform calculations on each one and determine a list instruments that fit the criteria and trade these.

    You could also write an indicator that does these calculations and if the instrument meets the criteria add the symbol to a text file. This could be run in the MarketAnalyzer over a large list of items which will add themselves to the file when conditions are met. When the strategy starts it will read the text file and only add the instruments to the script that are in the text file. This would help with performance so a great many instruments do not have to be added to the same script.

    You could also use a static class instead of writing to a file, however, these are not supported to use and should be avoided wherever possible.

    (You could also just use the Market Analyzer to visually see which instruments meet the criteria and manually start a strategy to those instruments)
    Last edited by NinjaTrader_ChelseaB; 09-22-2015, 09:45 AM.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Brevo, Today, 01:45 AM
    0 responses
    2 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    3 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    238 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    384 views
    1 like
    Last Post Gavini
    by Gavini
     
    Started by oviejo, Today, 12:28 AM
    0 responses
    4 views
    0 likes
    Last Post oviejo
    by oviejo
     
    Working...
    X