Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Backtest Order Assumptions
Collapse
X
-
Backtest Order Assumptions
When I run a backtest on my futures strategy, it is always short @ the bottom of bars and long from the top on by backtesting. Is this a default assuming I am getting the worst possible fill of the bar? How can I adjust it to assume I am entering at the median or simulate a limit order getting filled?Tags: None
-
Hello,
Thank you for your forum post.
NinjaTrader will always submit the order once the condition is true for your order on the next bar. To allow your orders to be filled intrabar you will need to use a multi series strategy and add a smaller time frame chart and execute your orders on the smaller time frame chart such as a tick chart or 1 minute chart, this is called intrabar granularity. This will take more resources to run your strategy however.
Please see this reference guide to do this:
You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this byBrettNinjaTrader Product Management
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
111 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
156 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
76 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
125 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
79 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|
Comment