Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Different Results between strategy analyzer and running strategy live
Collapse
X
-
Hello samish18,
Thanks for your response.
I looked at the code for LineBreak and it does utilize IsRemoveLastBarSupported similar to Renko (although this is not mentioned in the Help Guide page for backtesting considerations).
You are correct, they are similar to Renko in that they can change the open price after the bar is formed. This wouldn't work well for backtesting and is not compatible with Tick Replay.
If you want to backtest using Line Break charts, it may be better to do backtesting using Playback with Market Replay for higher accuracy.
Comment
-
Hello samish18,
You can always try implementing intrabar granularity to try to get more accurate results by submitting orders to a more granular series.
However as mentioned, since LineBreak bars use IsRemoveLastBarSupported like Renko they are also not ideal for backtest and are very difficult to simulate historically.
The other would be to use the Playback Connection with Market Replay data, this would simulate getting real-time data from the data that you have either recorded/downloaded.
Comment
-
Hello,
It is likely that the Close will remain the same if the ticks that built the bar are exactly the same. However, it is possible that ticks can be included with different bars because of the time stamp or that the real-time ticks are different than the historical ticks, which could cause a different Close.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
78 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment