NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical Version 7 Beta Threads > Version 7 Beta General Questions & Bug Reports

Version 7 Beta General Questions & Bug Reports Ask questions here and post bug reports.

 
 
Thread Tools Display Modes
Old 04-14-2010, 07:36 AM   #1
Jean-Marc-Molina
Member
 
Join Date: Apr 2008
Posts: 65
Thanks: 0
Thanked 1 time in 1 post
Default Cumulative Profit Graph Issue

I have a Strategy that generates about 400 Trades accross 10 years.

The backtest runs fine, (The summary contains no error and there is no error message in the log). However the Cumulative profit, Daily Net profit, and Drawdown graphs do not display. If I reduce the analysis period to 1 year instead of 10 years the graph displays.

This is not a RAM issue. I have enough RAM Available while the 10Y backtest is processed.

Any Idea? Thanks.
Jean-Marc-Molina is offline  
Old 04-14-2010, 08:43 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

What happens instead of displaying? Can you please describe what you see?
NinjaTrader_Josh is offline  
Old 04-14-2010, 09:17 AM   #3
Jean-Marc-Molina
Member
 
Join Date: Apr 2008
Posts: 65
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by NinjaTrader_Josh View Post
What happens instead of displaying? Can you please describe what you see?
How can send I you a screenshot?
Jean-Marc-Molina is offline  
Old 04-14-2010, 09:31 AM   #4
Jean-Marc-Molina
Member
 
Join Date: Apr 2008
Posts: 65
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by Jean-Marc-Molina View Post
How can send I you a screenshot?
Hi,

Screenshots are available here.

http://www.it-lyse.com/pdf/NinjascreenshotsBeta714.zip


Cumulative Profits and Drawdown are not displayed correcly.

thank you.
Jean-Marc-Molina is offline  
Old 04-14-2010, 09:31 AM   #5
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

You can either try attaching it here via the Manage Attachments button when you reply, or send an email with it to support [at] ninjatrader [dot] com. If you send an email please be sure to reference this thread in the email. Thank you.
NinjaTrader_Josh is offline  
Old 04-14-2010, 09:56 AM   #6
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

The y-axis suggests there are values being read into the graphs. Can you please check your Control Center logs for any errors. Can you please attach your trace logs so we can see if there are any errors there as well?

Also, can you please try this with SampleMACrossOver and see if you can get the same behavior? Thanks.

This is on NT7B14 correct?
NinjaTrader_Josh is offline  
Old 04-15-2010, 11:13 PM   #7
Anagoge
Senior Member
 
Join Date: Sep 2008
Posts: 183
Thanks: 0
Thanked 1 time in 1 post
Default

I see the exact same bug in B14 as those screenshots show. Cumulative profit/drawdown are just a straight horizontal line, but monthly returns graph, MAE, efficiency, etc. are just fine. B13 and 6.5 worked fine in this area. Daily profit graph is also broken (just a single vertical bar). There are no errors in the log. This is with a 10 year daily backtest on SPY. A 2 year test works fine, so it is related to longer tests. SampleMACrossOver with SPY daily data and 2/4 as the periods has the same bug, so it isn't strategy-specific either - it is some kind of graph generation bug, I assume.
Last edited by Anagoge; 04-15-2010 at 11:15 PM.
Anagoge is offline  
Old 04-16-2010, 02:44 AM   #8
Jean-Marc-Molina
Member
 
Join Date: Apr 2008
Posts: 65
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by Anagoge View Post
I see the exact same bug in B14 as those screenshots show. Cumulative profit/drawdown are just a straight horizontal line, but monthly returns graph, MAE, efficiency, etc. are just fine. B13 and 6.5 worked fine in this area. Daily profit graph is also broken (just a single vertical bar). There are no errors in the log. This is with a 10 year daily backtest on SPY. A 2 year test works fine, so it is related to longer tests. SampleMACrossOver with SPY daily data and 2/4 as the periods has the same bug, so it isn't strategy-specific either - it is some kind of graph generation bug, I assume.

I confirm I have the same bug with the SampleMACrossOver and 10Y of backtest data on the CAC40. The previous version fo Beta 7 I had installed (I don't remember which beta it was) did not have this bug.

Thank you in advance for investigating this issue. The backtest capatabilities on long historical data is one of Ninja Trader strong capabilities.
Jean-Marc-Molina is offline  
Old 04-16-2010, 05:03 AM   #9
dave1992
Senior Member
 
Join Date: Nov 2008
Location: UK
Posts: 637
Thanks: 0
Thanked 1 time in 1 post
Default

I had this and it was 'fixed' by making the window bigger. I had about three years, and I needed to full screen on a 1600x1200 screen.
dave1992 is offline  
Old 04-16-2010, 08:40 AM   #10
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Hi everyone,

Can you please send in your .sdf database files for analysis by development? Please send it in to support [at] ninjatrader [dot] com with Attn: Josh in the subject and a link to this thread? Thank you very much.
NinjaTrader_Josh is offline  
Old 04-16-2010, 09:32 AM   #11
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Hi,

I was able to reproduce Jean-Marc-Molina's issue. We will look into it. Thank you for your patience everyone.
NinjaTrader_Josh is offline  
Old 04-16-2010, 11:50 AM   #12
Anagoge
Senior Member
 
Join Date: Sep 2008
Posts: 183
Thanks: 0
Thanked 1 time in 1 post
Default

It does look like the problem is that there are more days in the test than there are horizontal pixels (in the daily profit bar graph, for example), since I can can expand the window over both monitors to get the graph to show more properly. You might be able to add a horizontal scrollbar to that graph. For the equity curve, you might be able to combine days until you get something that fits, but it doesn't make as much sense for a daily profit graph to combine days, since it is no longer a daily profit graph after that. It looks like the bar graphs now try to do equidistant and equi-width bars, but didn't do both previously.
Anagoge is offline  
 

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
Total Net Profit != Cumulative Profit? tjendra Strategy Development 22 03-04-2011 08:07 AM
Graph cumulate profit only back to June? Trader61 Strategy Analyzer 2 11-08-2009 11:28 AM
Horizontal Line on Cumulated Profit Graph molecool Strategy Development 2 04-14-2009 04:51 PM
Monthly/Weekly Profit Graph Bug Anagoge Strategy Analyzer 2 10-29-2008 07:48 AM
Cumulative Profit Graph CraigC Automated Trading 3 06-20-2008 11:27 PM


All times are GMT -6. The time now is 06:09 AM.