![]() |
|
|||||||
| Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Senior Member
Join Date: Jan 2010
Posts: 273
Thanks: 15
Thanked 4 times in 3 posts
|
Hi,
I'm trying to add additional instrument to the Strategy Analyzer. I tried to add the following line to the strategy code but nothing happened: Code:
protected override void Initialize()
{
Add(Instrument2, BarsPeriod.Id, BarsPeriod.Value);
}
Tx in advance |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
This adds the bar data in, Its up to you what to output to the column however. Since theres only one data output per column you would need to add this in a new column most likely. Multi Seris programming for your information: http://www.ninjatrader.com/support/h...nstruments.htm Let me know if I can be of further assistance.
Brett
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2010
Posts: 273
Thanks: 15
Thanked 4 times in 3 posts
|
Thanks.
If I want to display the bar data on a new panel how can I do it? |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
You would need to create a new indicator for this. Let me know if I can be of further assistance.
Brett
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strategy Analyzer: Performance only appears in Instruments grid, not in Summary | adamus | Version 7 Beta General Questions & Bug Reports | 6 | 05-18-2010 11:11 AM |
| 2 instruments strategy | ninjamouse | Strategy Development | 5 | 03-10-2010 03:35 PM |
| Accessing Instruments within Strategy | Faspomy | Strategy Development | 2 | 02-18-2010 10:44 AM |
| How to link strategy with instruments? | peyman20 | Strategy Development | 5 | 08-18-2009 07:58 AM |
| strategy comparing two instruments | z32000 | Strategy Development | 13 | 11-22-2007 06:42 PM |