I am not clear on the benefit. If you're getting your signals from the 5 minute bar, what purpose does submitting the order on the 1 minute bar serve? Wouldn't the order be submitted at roughly the same time if you had just done it on the 5 minute bar?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
What's the benefit of the intra-bar granularity sample?
Collapse
X
-
What's the benefit of the intra-bar granularity sample?
The sample found here: http://www.ninjatrader-support.com/v...ead.php?t=6652
I am not clear on the benefit. If you're getting your signals from the 5 minute bar, what purpose does submitting the order on the 1 minute bar serve? Wouldn't the order be submitted at roughly the same time if you had just done it on the 5 minute bar?Tags: None
-
The sample is for backtesting. In backtesting you can't submit an order until the next bar. This poses a substantial gap between entry signal and order time if your bars are 5min bars. Having intrabar granularity allows you to mimic more closely how it would behave in realtime by submitting orders to say the 1min bars.
There is not as much use in doing this in realtime since you can simply use CalculateOnBarClose = false in realtime.Josh P.NinjaTrader Customer Service
-
If you have 5 minute bars that calculate on close, and you get an entry signal at the end of the 1st bar, isn't the entry made at the open price of the 2nd bar, which should begin at 5:01?Originally posted by NinjaTrader_Josh View PostThe sample is for backtesting. In backtesting you can't submit an order until the next bar. This poses a substantial gap between entry signal and order time if your bars are 5min bars. Having intrabar granularity allows you to mimic more closely how it would behave in realtime by submitting orders to say the 1min bars.
There is not as much use in doing this in realtime since you can simply use CalculateOnBarClose = false in realtime.
Comment
-
Right but the 5:05 tradebar the entry is made at the open of that bar, which almost always is the same as the close of the previous bar (entry signal bar).Originally posted by NinjaTrader_Josh View PostWithout intrabar granularity:
5:00 = 5min signal bar
5:05 = trade bar
earliest possible Exit() = 5:10
With intrabar granularity:
5:00 = 5min signal bar
5:01 = trade bar
5:02 = earliest possible exit (aside from profit target/stop loss)
Maybe I'm missing something. Also, will this be necessary in NT 7?
Comment
-
In other words this would be one way to simulate the OnMarketUpdate() during backtesting, if you would set the 2nd bar to be 1 Tick series?Originally posted by NinjaTrader_Josh View PostThe entry is not the issue. It is the benefits in exiting. Again, this is only for a seemingly more realistic backtest result and has limited implications for real world trading.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
567 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
548 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment