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 11-09-2009, 06:41 AM   #1
fle__
Member
 
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default Indicator does not plot

Hi,
I am testing a multi instrument strategy.
In the strategy code, I use Add() to plot indicators

When the strategy runs live, the indicator plot correctly.
But it does not plot in the chart window of the strategy analyser. The analysis report seems ok, and I do not have any message in the log tab.

Would you have any suggestion as to what could be wrong ?
Thank you for your help
fle__ is offline  
Reply With Quote
Old 11-09-2009, 06:50 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Which indicator do you add like this? A single or MultiPlot one?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-09-2009, 06:51 AM   #3
fle__
Member
 
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default

Thank you for your answer;

the indicators are single plot.
fle__ is offline  
Reply With Quote
Old 11-09-2009, 06:54 AM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Hmm, any error you see in the log as this happens? Which version of NinjaTrader are you running currently?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-09-2009, 06:57 AM   #5
fle__
Member
 
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default

No error in the log file,
NT 6.5.1000.14

I was thinking at some kind of missing refresh (?), as it work ok with real time feed and as the indicators are used to enter positions and this works fine.
fle__ is offline  
Reply With Quote
Old 11-09-2009, 07:04 AM   #6
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Thanks - do you see the same with our default SampleMACrossOver strategy and the 2 SMA's it ADD's?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-09-2009, 07:11 AM   #7
fle__
Member
 
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default

SampleMA crossover works fine, i.e. I can see the MA on the chart tab in the strategy analyser,
as well as another strategy I developped myself
fle__ is offline  
Reply With Quote
Old 11-09-2009, 07:31 AM   #8
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

fle__,

Can you please attach the problematic strategy? Thank you.
NinjaTrader_Josh is offline  
Reply With Quote
Old 11-09-2009, 07:49 AM   #9
fle__
Member
 
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default

sure, can I PM it to you, so that it stays private ?
fle__ is offline  
Reply With Quote
Old 11-09-2009, 08:01 AM   #10
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Either PM it or send directly to support at ninjatrader dot com Attn Bertrand - thanks
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-09-2009, 08:35 AM   #11
fle__
Member
 
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default

The strat code has been sent via email.
fle__ is offline  
Reply With Quote
Old 11-09-2009, 08:53 AM   #12
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Thanks, unfortunately expected since you're using the Strategy plot sample techniques - http://www.ninjatrader-support2.com/...ead.php?t=6651
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-09-2009, 09:16 AM   #13
fle__
Member
 
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default

Ah.. too bad !
I totally missed this limitation of StrategyPlot()

so, I should recode the strategy so that it does not use StrategyPlot any more ?

Thank you for your help, it has been very helpfull.
fle__ is offline  
Reply With Quote
Old 11-09-2009, 09:21 AM   #14
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

You're welcome, that depends on how important this functionality is for you - though of course handy if you need to correlate indicators to the strategy signals in the SA charts.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-09-2009, 09:25 AM   #15
fle__
Member
 
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
Default

as you saw from the code, this is used to plot the PnL of a trade on a basket of currencies.
This information is not critical in SA,
so I might either make it conditional,
or write it in a file or pass it to a custom indicator.
Thanks again
fle__ 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
Indicator not plot serman Indicator Development 2 08-30-2009 01:58 PM
donīt plot indicator gregorio123456 Strategy Analyzer 7 04-17-2009 10:08 AM
Indicator Won't Plot TrendTracker Charting 1 12-19-2008 06:46 AM
Indicator Doesn't Plot texasnomad General Programming 2 10-25-2008 04:02 PM
Indicator plot mjtrader Indicator Development 2 09-16-2008 01:02 PM


All times are GMT -6. The time now is 10:36 PM.