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

Running multiple strategies simultaneously

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

    Running multiple strategies simultaneously

    Can you please refer me where to find out how to run multiple strategies simultaneoulsy...
    Last edited by d.allen101; 08-13-2009, 06:52 AM.

    #2
    d.allen101,

    Running multiple strategies is seamless. All you do is add multiples onto a chart or into the strategies grid. They will all run simultaneously.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      what i'm asking for is examples/help doc info on coding it. i'd like to have different strategies run under certain conditions. example:

      if(condition1)
      {
      strategy1(); //this is a independent strategy written outside of the current class
      }
      else if(condition2)
      {
      strategy2();
      }
      etc...
      Last edited by d.allen101; 08-13-2009, 07:45 AM.

      Comment


        #4
        Not sure what you are asking for. Strategies do not call each other. They do not interact in any way with one another.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          if i have 3 different strategies how do i go about creating a 4th strategy that uses the other 3 strategies?

          Comment


            #6
            As stated, strategies do not interact in any way with each other.
            Josh P.NinjaTrader Customer Service

            Comment


              #7
              I had three strategies running at once and by laboriously working to make one the same time frame as another I set it up in the conditions wizard with fresh names for each entry and exit and profit targets/ stoploss. It took a while but works really well. I now have 2 strategies working because one is a tick chart strategy and the other a minute one. It doesn't seem to matter how many strategies you have running at once it would just be nice to have it neat in one. I want mine to fire off a trade whether the other strategy has fired or not- totally independent and that is what you get with multiple strategies running at once. When a condition is to check for FLAT before proceeding it is only checking for flat in that strategy.
              Don't know if this helps- probably not. I dont know much about actual coding and stuff.
              raycam

              Comment


                #8
                thanks raycam! hey, can you forward me the file so i can checkout the code?

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Jon17, Today, 04:33 PM
                0 responses
                1 view
                0 likes
                Last Post Jon17
                by Jon17
                 
                Started by Javierw.ok, Today, 04:12 PM
                0 responses
                6 views
                0 likes
                Last Post Javierw.ok  
                Started by timmbbo, Today, 08:59 AM
                2 responses
                10 views
                0 likes
                Last Post bltdavid  
                Started by alifarahani, Today, 09:40 AM
                6 responses
                41 views
                0 likes
                Last Post alifarahani  
                Started by Waxavi, Today, 02:10 AM
                1 response
                21 views
                0 likes
                Last Post NinjaTrader_LuisH  
                Working...
                X