So on bar X we have OHLCV and lets assume an entry condition is true and you submit a market order. On Bar X + 1, we determine if an order is filled and since it is a market order, it will be filled at the open price less any slippage.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
SetTradeStop() not executing?
Collapse
X
-
In backtest there is no concept of time of day. Orders are evaulated on a bar by bar basis independant of what interval type and compression (period) the bar is.
So on bar X we have OHLCV and lets assume an entry condition is true and you submit a market order. On Bar X + 1, we determine if an order is filled and since it is a market order, it will be filled at the open price less any slippage.RayNinjaTrader Customer Service
-
Then it would appear this lapse of intraday data is limiting my backtesting accuracy. Could I superimpose intraday data into my strategy to fill in the holes?
If conditions in the daily chart are favorable then check opening intraday data. If there are no drastic changes since previous day's close in the beginning of intraday activity then continue along with order entry.
From what you are saying it seems like this is not possible for backtesting. What about for real-time trading? This is rather critical if I am to use my strategy for automated trading.Josh P.NinjaTrader Customer Service
Comment
-
Yes, you can check intraday data however, if your primary data is daily data, this will not help since your orders are generated off of daily data.
What you need to do is have your primary data based on an intraday time frame and access daily data as a secondary time frame.RayNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
608 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
355 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
560 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
561 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment