NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 07-08-2009, 09:14 AM   #1
peyman20
Junior Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Default How to link strategy with instruments?

I have a strategy running live and it is connected to Collective2. I added the "*" to the stock symbols that I wanted to be traded by that strategy. So, I have 10 stock symbols with * in front of collective2 in Instrument Editor. Is this the way to associate a list of stocks with a strategy?

If yes, then what if I want the same strategy with different timeframe to be executed at the same time for FOREX symbols only. Please help
peyman20 is offline  
Reply With Quote
Old 07-08-2009, 09:41 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,555
Thanks: 261
Thanked 1,014 times in 995 posts
Default

peyman20, welcome to our forums!

Yes, but you would still have to setup account groups according to the instructions in our help guide here - http://www.ninjatrader-support.com/H...llective2.html and start the strategies on the needed symbols, furthermore please keep in mind -

C2 orders will be placed when you execute a real-time order within an account that is assigned to a C2 Account Group and the traded instrument has been enabled

For your second question, I'm not sure I follow - you can select on which timeframe and symbols the signal generating strategy is run, the above guidelines just enabled instruments and accounts to be used for C2 tracking.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 07-08-2009, 10:19 AM   #3
peyman20
Junior Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Default Creatign an account!?

I already have a macd crossover running live on Sim101 and it is connected to C2. Now, I want the exact same strategy to work on forex symbols for another C2 strategy. Should I create a similar account to Sim101 and associate the forex symbols with that (for example Sim102). If yes, how can I create a new account (Sim02). Please advise.
peyman20 is offline  
Reply With Quote
Old 07-08-2009, 10:22 AM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,555
Thanks: 261
Thanked 1,014 times in 995 posts
Default

peyman20, just responded also to your note send to support. Yes, this would be a good way to separate signals - http://www.ninjatrader-support.com/H...nAccounts.html
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 08-18-2009, 07:50 AM   #5
manigandan
Junior Member
 
Join Date: Aug 2009
Location: India
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
Default Run in simulation

Hi All,
How do I run the strategy SampleMACrossOver for a list of Symbols? Say for S&P 500 Stocks. I just want to trade any symbols that satisfies the condition.

Note: I am just testing in simulation Mode.

Thanks in Advance.
Mani
manigandan is offline  
Reply With Quote
Old 08-18-2009, 07:58 AM   #6
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,555
Thanks: 261
Thanked 1,014 times in 995 posts
Default

Mani, welcome to the forums! You can either start up the strategy for needed symbols from the strategies tab -

http://www.ninjatrader-support.com/H...tegiesTab.html

Or you use the MultiInstrument strategy feature, but this would need additional coding to make this happen -

http://www.ninjatrader-support.com/H...struments.html
NinjaTrader_Bertrand is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i link my strategy to my chart saeed Strategy Development 13 06-24-2009 01:46 PM
Activate Strategy on Group of Instruments? KrisS Automated Trading 3 05-13-2009 01:37 PM
A strategy that looks at multiple instruments parador42 Automated Trading 3 02-01-2009 09:23 AM
strategy comparing two instruments z32000 Strategy Development 13 11-22-2007 06:42 PM
Same Strategy Only Runs on Part of Instruments rabidturtle Strategy Development 4 09-14-2007 02:36 PM


All times are GMT -6. The time now is 01:02 AM.