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 DanielTynera, Today, 01:14 AM
                0 responses
                2 views
                0 likes
                Last Post DanielTynera  
                Started by yertle, 04-18-2024, 08:38 AM
                9 responses
                40 views
                0 likes
                Last Post yertle
                by yertle
                 
                Started by techgetgame, Yesterday, 11:42 PM
                0 responses
                11 views
                0 likes
                Last Post techgetgame  
                Started by sephichapdson, Yesterday, 11:36 PM
                0 responses
                2 views
                0 likes
                Last Post sephichapdson  
                Started by bortz, 11-06-2023, 08:04 AM
                47 responses
                1,615 views
                0 likes
                Last Post aligator  
                Working...
                X