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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
64 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
35 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
58 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
61 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
49 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|
Comment