NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Strategy Analyzer

Strategy Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer.

Reply
 
Thread Tools Display Modes
Old 12-06-2010, 06:29 AM   #1
freewind
Senior Member
 
Join Date: Jan 2010
Posts: 273
Thanks: 15
Thanked 4 times in 3 posts
Default Viewing 2 instruments in the Strategy Analyzer

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);
}
What can I do?

Tx in advance
freewind is offline  
Reply With Quote
Old 12-06-2010, 07:43 AM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

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.
NinjaTrader_Brett is offline  
Reply With Quote
Old 12-06-2010, 07:56 AM   #3
freewind
Senior Member
 
Join Date: Jan 2010
Posts: 273
Thanks: 15
Thanked 4 times in 3 posts
Default

Thanks.

If I want to display the bar data on a new panel how can I do it?
freewind is offline  
Reply With Quote
Old 12-06-2010, 08:51 AM   #4
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

You would need to create a new indicator for this.

Let me know if I can be of further assistance.
NinjaTrader_Brett 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
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


All times are GMT -6. The time now is 05:00 PM.