![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
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.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
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.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2007
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
|
Appears to have fixed the problem. Thaks for all the help (and you patience)
Have a good weekend, Mark |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |