Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
backtest results differs from live testing
Collapse
X
-
backtest results differs from live testing
Why does my back testing results differs from forward live testing? Back testing shows today's trades are all profitable. However, I had trades during the day that were a loss. This happens every week when using my automated strategy trading.Tags: None
-
Originally posted by CactusMo View PostWhy does my back testing results differs from forward live testing? Back testing shows today's trades are all profitable. However, I had trades during the day that were a loss. This happens every week when using my automated strategy trading.
Market Replay will mimic live very closely and should be used in final determination before going live.
-
With intra-bar granularity, results will typically vary. I suggest you consider adjusting your strategy to buy the open based on the previous closing bar.
You can do this without setting "CalculateOnBarClose = true", by using the [1] offset on all indicators.
Some strategy features might not lend well to this, such a as programmatic stop loss, but if you limit features with intra-bar triggered signals, the forward testing results will better match backtesting.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by lightsun47, Today, 03:51 PM
|
0 responses
5 views
0 likes
|
Last Post
by lightsun47
Today, 03:51 PM
|
||
Started by 00nevest, Today, 02:27 PM
|
1 response
10 views
0 likes
|
Last Post
by 00nevest
Today, 03:48 PM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
4 responses
46 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
1 response
14 views
0 likes
|
Last Post
by bltdavid
Today, 02:44 PM
|
||
Started by port119, Today, 02:43 PM
|
0 responses
10 views
0 likes
|
Last Post
by port119
Today, 02:43 PM
|
Comment