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 mjairg, 07-20-2023, 11:57 PM
                3 responses
                213 views
                1 like
                Last Post PaulMohn  
                Started by TheWhiteDragon, 01-21-2019, 12:44 PM
                4 responses
                544 views
                0 likes
                Last Post PaulMohn  
                Started by GLFX005, Today, 03:23 AM
                0 responses
                3 views
                0 likes
                Last Post GLFX005
                by GLFX005
                 
                Started by XXtrader, Yesterday, 11:30 PM
                2 responses
                12 views
                0 likes
                Last Post XXtrader  
                Started by Waxavi, Today, 02:10 AM
                0 responses
                7 views
                0 likes
                Last Post Waxavi
                by Waxavi
                 
                Working...
                X