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 kujista, Today, 05:44 AM
                0 responses
                5 views
                0 likes
                Last Post kujista
                by kujista
                 
                Started by ZenCortexCLICK, Today, 04:58 AM
                0 responses
                5 views
                0 likes
                Last Post ZenCortexCLICK  
                Started by sidlercom80, 10-28-2023, 08:49 AM
                172 responses
                2,281 views
                0 likes
                Last Post sidlercom80  
                Started by Irukandji, Yesterday, 02:53 AM
                2 responses
                18 views
                0 likes
                Last Post Irukandji  
                Started by adeelshahzad, Today, 03:54 AM
                0 responses
                8 views
                0 likes
                Last Post adeelshahzad  
                Working...
                X