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 10-19-2007, 02:06 AM   #1
pdawg
Senior Member
 
Join Date: Apr 2007
Location: , ,
Posts: 153
Thanks: 0
Thanked 2 times in 2 posts
Default Differing P/L results problem

When I run a backtest, I notice that the P/L results for the same day or week will change depending on how many days I run the back test on at a time. For example If I run a single backtest on just the the 18th, the P/L will then change if I run the backtest say from the 15th-18th. Meaning the 18th's P/L for the day will be different than if I had just ran the backtest on the 18th alone. This strategy only takes trades from 9:30 am EST to 3:50 pm EST, so it isn't an overnight issue. Any Ideas??
pdawg is offline  
Reply With Quote
Old 10-19-2007, 04:15 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Please be specific, there is no "P/L" value on the performance stats.
a) which value are you monitoring?
b) what mode is the report in (Currency/Points/Percent)?
NinjaTrader_Dierk is offline  
Reply With Quote
Old 10-19-2007, 01:42 PM   #3
pdawg
Senior Member
 
Join Date: Apr 2007
Location: , ,
Posts: 153
Thanks: 0
Thanked 2 times in 2 posts
Default

Hi Dierk,

I have it set to points. After messing around with it more, it seems to be affecting the tick charts. minute and seconds charts don't experience this problem. Is there a fix for this?
pdawg is offline  
Reply With Quote
Old 10-19-2007, 01:46 PM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Please answer my question:
a) which value are you monitoring?
NinjaTrader_Dierk is offline  
Reply With Quote
Old 10-20-2007, 04:26 AM   #5
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Here is another thought regarding this issue: Tick bars on NT6 span 2 days if you left the session settings as default, meaning e.g. a 150 ticks bar could go across midnight if you left the session settings as default.

Apparently this is not an issue as you backtest each day seperate, since then all first bars start at midnight. This would explain that your both test scenarios result in just different tick bar series ad ultimately in different sets of trades.

To overcome that you could set the session begin to e.g. 00:01 (1 minutre after midnight).

However, with NT6.5 tick bars would always be split up at session begin even as you leave the default session.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 10-21-2007, 01:06 PM   #6
pdawg
Senior Member
 
Join Date: Apr 2007
Location: , ,
Posts: 153
Thanks: 0
Thanked 2 times in 2 posts
Default

Dierk,

I was just looking at the trades tab, and comparing the results. I will try changing the session start time as you suggest and let you know.
pdawg is offline  
Reply With Quote
Old 10-22-2007, 03:37 AM   #7
pdawg
Senior Member
 
Join Date: Apr 2007
Location: , ,
Posts: 153
Thanks: 0
Thanked 2 times in 2 posts
Default

Dierk,

That seemed to fix the tick chart results. Thanks for the work around.
pdawg is offline  
Reply With Quote
Old 10-22-2007, 03:39 AM   #8
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Glad it's resolved for you.
NinjaTrader_Dierk 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


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