![]() |
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 |
|
Senior Member
Join Date: Apr 2007
Location: , ,
Posts: 153
Thanks: 0
Thanked 2 times in 2 posts
|
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??
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
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)?
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Apr 2007
Location: , ,
Posts: 153
Thanks: 0
Thanked 2 times in 2 posts
|
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? |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Please answer my question:
a) which value are you monitoring?
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
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.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Apr 2007
Location: , ,
Posts: 153
Thanks: 0
Thanked 2 times in 2 posts
|
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. |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Apr 2007
Location: , ,
Posts: 153
Thanks: 0
Thanked 2 times in 2 posts
|
Dierk,
That seemed to fix the tick chart results. Thanks for the work around. |
|
|
|
|
|
#8 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Glad it's resolved for you.
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|