NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


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 09-14-2007, 09:43 AM   #1
rabidturtle
Junior Member
 
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
Default Same Strategy Only Runs on Part of Instruments

Am developing a script that I would like to use to monitor all FOREX currency pairs. A few questions. As a note, I am running the scripts from the Control Center Startegies Tab.

First, even though I create and start a new strategy for each currency instrument, it only appears that a couple actually run. I am using print functions and only get data in the output window for a couple.

Second, I would like to have the script open a chart when a given set of conditions occur. It appears that you can have a script ADD data to the chart the script is executing on. However, I did not see a solution to open a chart.

Finally, is there a way to save the strategy configuration and reload it when the app resarts?

Thanks, in advance, for your help,
Mark
rabidturtle is offline  
Reply With Quote
Old 09-14-2007, 09:47 AM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Hi Mark,

1) My first guess would be that no data is coming in for the currency pairs that do not give you ouput data. To help isolate the issue, try this. Open a chart for each strategy you wish to run, then run a strategy on each chart *instead* of the Strategies Tab. Does it behave as expected?

2) There is no option to launch a chart when running from the Strategies Tab. If you wish to see a chart, you have to run the strategy in a chart.

3) This is not supported at this time.
NinjaTrader_Ray is offline  
Reply With Quote
Old 09-14-2007, 09:56 AM   #3
rabidturtle
Junior Member
 
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
Default

Ray,

You are correct. I am using the Gain Feed. I can and can see the data in the "standard" Gain application.....

Any thought on why NinjaTrader wouldn't collect the data?

Mark
rabidturtle is offline  
Reply With Quote
Old 09-14-2007, 10:08 AM   #4
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

NT collects the data but you likely do not have enough historical data in some of the currency pairs to drive your strategy.

Under Tools > Account Connections select your GAIN account and change the Historical Data option to use NinjaTrader servers and see if this makes a difference. GAIN servers only have 24 hours of historical data. Our servers collect and maintain GAIN rate data and the load time is incredibly faster.
NinjaTrader_Ray is offline  
Reply With Quote
Old 09-14-2007, 02:36 PM   #5
rabidturtle
Junior Member
 
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
Default

Appears to have fixed the problem. Thaks for all the help (and you patience)

Have a good weekend,
Mark
rabidturtle 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
Referencing other Instruments as Indicator shortymcshort Indicator Development 1 08-16-2007 08:37 AM
Changing indicator colours as part of NT Strategy dgregor5 General Programming 14 08-02-2007 09:19 AM
CurrentBid of multiple instruments? FireFly General Programming 3 06-11-2007 05:45 AM
Historical Data Part 2 cardis Miscellaneous Support 2 12-01-2006 04:27 AM
What Instruments do You Trade??? chipper338 ATM Strategies (Discretionary Trading) 5 11-30-2004 04:30 AM


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