Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Entry always 1 bar late
Collapse
X
-
But the entry was submitted for execution on the primary bar on 1:25pm as shown by trace orders. You mean the primary bar won't get that order until the end of its 1:30pm bar? Therefore it executes on the open of the 1:35pm bar? If it was live and not during backtesting, would the order be entered on the open of the 1:30pm bar then?Originally posted by NinjaTrader_Bertrand View Post
-
You were saying the lag was because the signal checking was done on the secondary bar (i.e. BarInProgress==1), and the order was for the primary bar (i.e. BarInProgress==0) since BarInProgress==0 will be executed before BarInProgress==1 is executed.Originally posted by NinjaTrader_Bertrand View PostCorrect - in realtime the order is submitted the moment it's called by the BarsInProgess.
If I change the logic of my strategy so that the signal checking was done on the primary bar (i.e. BarInProgress==0), and the order was for the secondary bar (i.e. BarInProgress==1). Since BarInProgress==0 will be executed before BarInProgress==1 is executed, would the order then be execute without the 1 bar lag?
Comment
-
This would not make a difference either tjendra - to achieve an earlier fill in backtesting you would need to add a finer series still as in this sample - http://www.ninjatrader-support2.com/...ead.php?t=6652
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
649 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
370 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 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
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
576 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment