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

Strategy running against two data periods

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

    Strategy running against two data periods

    Hello,

    I developed a strategy with the Wizard that I am running against 1 minute data. Is there a way I can add a mechanism inside this strategy that will double-check same strategy against 15 minute (make sure it is consistent in both time frames) data before it executes stategy on one minute data? Sorry if this sounds confusing. Thansk for your response.

    #2
    Unfortunately this can't be done through the strategy wizard, but can certainly be done through ninja script. There is a sample here http://www.ninjatrader-support.com/v...ead.php?t=5787 on how to do it, and then if you open up the help file in ninja trader and do a search for multi time frame, you can find some reference samples there as well.

    If you aren't sure about manually programming this in, save your strategy as a new file, so that you don't lose the strategy that you created in the wizard before unlocking it to add this new code.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    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
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Working...
    X