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 NullPointStrategies, Today, 05:17 AM
|
0 responses
50 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
69 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|
Comment