![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jun 2009
Location: Chicago
Posts: 154
Thanks: 0
Thanked 0 times in 0 posts
|
Can you please refer me where to find out how to run multiple strategies simultaneoulsy...
Last edited by d.allen101; 08-13-2009 at 06:52 AM.
|
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
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
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jun 2009
Location: Chicago
Posts: 154
Thanks: 0
Thanked 0 times in 0 posts
|
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 at 07:45 AM.
|
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Not sure what you are asking for. Strategies do not call each other. They do not interact in any way with one another.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jun 2009
Location: Chicago
Posts: 154
Thanks: 0
Thanked 0 times in 0 posts
|
if i have 3 different strategies how do i go about creating a 4th strategy that uses the other 3 strategies?
|
|
|
|
|
|
#6 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
As stated, strategies do not interact in any way with each other.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Mar 2008
Posts: 205
Thanks: 0
Thanked 1 time in 1 post
|
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 |
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Jun 2009
Location: Chicago
Posts: 154
Thanks: 0
Thanked 0 times in 0 posts
|
thanks raycam! hey, can you forward me the file so i can checkout the code?
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running NT 7 and 6.5 simultaneously - possible? | JS999 | Connecting | 1 | 06-07-2009 10:53 PM |
| Running in Sim and Live modes simultaneously? | bluelou | Connecting | 3 | 03-25-2009 09:27 AM |
| Running Multiple Strategies on 1 Instrument | SystemTrading | Strategy Development | 5 | 02-25-2009 12:04 PM |
| trading multiple accounts simultaneously? | zweistein | SuperDOM and other Order Entry Windows | 12 | 02-20-2009 09:14 AM |
| Is it possible to scroll multiple charts simultaneously? | shliang | Charting | 2 | 03-04-2008 07:12 AM |