![]() |
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 Analyzer Support for automated system backtesting and optimization using the NinjaTrader Strategy Analyzer. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Which indicator do you add like this? A single or MultiPlot one?
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
Thank you for your answer;
the indicators are single plot. |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Hmm, any error you see in the log as this happens? Which version of NinjaTrader are you running currently?
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Member
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
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. |
|
|
|
|
|
#6 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Thanks - do you see the same with our default SampleMACrossOver strategy and the 2 SMA's it ADD's?
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#7 |
|
Member
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#8 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
fle__,
Can you please attach the problematic strategy? Thank you.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#9 |
|
Member
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
sure, can I PM it to you, so that it stays private ?
|
|
|
|
|
|
#10 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Either PM it or send directly to support at ninjatrader dot com Attn Bertrand - thanks
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#11 |
|
Member
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
The strat code has been sent via email.
|
|
|
|
|
|
#12 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
Thanks, unfortunately expected since you're using the Strategy plot sample techniques - http://www.ninjatrader-support2.com/...ead.php?t=6651
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#13 |
|
Member
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
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. |
|
|
|
|
|
#14 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
|
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.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#15 |
|
Member
Join Date: Sep 2008
Posts: 41
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |