Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Backtest on price change
Collapse
X
-
Hello lbolton64,
Thank you for your note.
Backtests process order fill prices based on OHLC data for a bar and not on every price change. This is explained on the following help guide page about discrepancies between real time results and backtests:
That said, as a workaround you could consider using a high order fill resolution to add a secondary, more granular data series (the most granular option is 1-tick) to get the OHLC of the added series to calculate order fill prices. If you have a multi-time frame or multi-instrument script, then you will need to program the strategy to submit orders to a 1-tick data series rather than using high order fill resolution:
The following thread goes even more in-depth to explain the different backtesting options and how those might compare to real-time results:
Please let us know if we may be of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
58 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
41 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
46 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
37 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|
||
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
157 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|

Comment