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

Multiple Strategys running

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

    Multiple Strategys running

    If you need to update code can you press F5 while the strategy is running so that it reads the new updated code?
    Last edited by brucelevy; 03-18-2015, 07:32 AM.

    #2
    Hello brucelevy,
    Thanks for posting today.

    Yes, it is possible to run several strategies on the same instrument and data series.
    • From a chart with the chart trader closed right mouse click and select Strategies... or left mouse click on the Strategies button at the top of the chart (dollar symbol on paper icon).
    • Double left mouse click on a strategy you would like to add.
    • Double left mouse click on another strategy you would like to add.


    You now will be running two strategies on the same data series from with in one chart while using your simulation account to forward test.

    Please let us know if we may be of further assistance for anything NinjaTrader.
    Alex G.NinjaTrader Customer Service

    Comment


      #3
      So it wont work from the strategies tab? The reason is I want to add my entire instrument list and its easier to add it all at once from strategies tab.

      Comment


        #4
        Hello brucelevy,
        Thanks for the reply and clarification.

        Pressing F5 will disable the strategy, apply the changes to the code, and then re-enable the strategy with the new code. This will create a new strategy and not simply continue running the strategy as it has to be stopped then restarted.

        To answer your other question, yes, you can use the strategies tab to enable entire instruments list.
        • From inside the strategies tab right mouse click>New Strategy...
        • Locate Data Series>Instrument(s) and left mouse to select the instrument. Left mouse click on the down arrow to open the instruments selection menu.
        • Select Instrument List and then select the instrument list you wish to use.
        • Set the account to a sim account you wish to use for forward testing
        • Left mouse click OK to close the New Strategy menu
        • Left mouse click the top instrument in the list and then holding the CTRL key left mouse click to select the instrument you wish to enable this strategy on
        • Right mouse click on one of the selected instruments
        • Left mouse click enable


        These steps will enable the strategies on the selected instruments all at once. To add another strategy simply follow the same steps as above but with the other strategy that you want to enable.
        Alex G.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by geddyisodin, Today, 05:20 AM
        5 responses
        32 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by bmartz, Today, 09:30 AM
        2 responses
        12 views
        0 likes
        Last Post bltdavid  
        Started by f.saeidi, Today, 11:02 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by geotrades1, Today, 10:02 AM
        4 responses
        12 views
        0 likes
        Last Post geotrades1  
        Started by rajendrasubedi2023, Today, 09:50 AM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X