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 > 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-21-2008, 06:11 AM   #1
johan
Junior Member
 
Join Date: Feb 2008
Location: Holland (Netherlands)
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default Back testing strategy and adding or loading indicators/template to output chart

I am (back)testing a strategy with historical data. In the output chart I can see the buy and sell signals. When I want to insert indicators (or a template) in the output chart I am losing the buy and sell signals from the back testing strategy. Is there a way to add or load indicators in the output chart (afterwards) without losing the buy and sell signals?
johan is offline  
Reply With Quote
Old 12-21-2008, 06:45 AM   #2
TAJTrades
Senior Member
 
Join Date: Dec 2007
Location: Atlanta
Posts: 281
Thanks: 0
Thanked 4 times in 3 posts
Default

Do a Help Search for "Add" and you will find this:

protected override void Initialize()
{
// Add a 5 minute Bars object - BarsInProgress index = 1
Add(PeriodType.Minute, 5);
// Add a 100 tick Bars object for the ES 12-06 contract - BarsInProgress index = 2
Add("ES 12-06", PeriodType.Tick, 100);

// Charts a 20 period simple moving average to the chart
Add(SMA(20));
}



Look at the last Add command.
TAJTrades 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
Back Testing Strategy - Drawings Don't Show Ranger Strategy Analyzer 6 03-12-2009 10:08 AM
Arrows on chart as entry for strategy exit back testing Creamers Strategy Development 5 04-11-2008 02:11 PM
back testing mary reed Strategy Analyzer 1 01-13-2008 07:23 PM
Adding Indicators to Specific/Same Chart Pane whitmark Strategy Development 2 10-28-2007 06:08 AM
Re Back testing John_Aus Miscellaneous Support 6 03-15-2005 01:54 AM


All times are GMT -6. The time now is 04:38 AM.