Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Differing P/L results problem
Collapse
X
-
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??Tags: None
-
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.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mongo, Yesterday, 11:05 AM
|
6 responses
27 views
0 likes
|
Last Post
by Mongo
Today, 07:12 AM
|
||
Started by ct, 05-07-2023, 12:31 PM
|
7 responses
206 views
0 likes
|
Last Post Today, 07:11 AM | ||
Started by wzgy0920, Yesterday, 09:53 PM
|
1 response
13 views
0 likes
|
Last Post Today, 07:06 AM | ||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, Yesterday, 07:51 PM
|
1 response
12 views
0 likes
|
Last Post Today, 06:59 AM | ||
Started by kaywai, Today, 06:26 AM
|
1 response
6 views
0 likes
|
Last Post
by kaywai
Today, 06:35 AM
|
Comment