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 The_Sec, 04-16-2024, 02:29 PM
                3 responses
                15 views
                0 likes
                Last Post NinjaTrader_ChristopherS  
                Started by hurleydood, 09-12-2019, 10:45 AM
                15 responses
                1,097 views
                0 likes
                Last Post Leeroy_Jenkins  
                Started by danieldunn2024, Today, 03:06 AM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_Erick  
                Started by cre8able, Yesterday, 04:16 PM
                1 response
                16 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by cre8able, Yesterday, 04:22 PM
                1 response
                14 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Working...
                X