Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
First Strategy Help
Collapse
X
-
sorry to hijack this thread but I have a similar question.
In the backtest to reference the previous bar I have to use High[0]. High[1] references 2 bars ago. I understand this is because of the COBC setting of the backtest.
However, when I trade in realtime and COBC set to false having High[0] causes issues as the system terminates itself claiming things like "limit offer is less than ask".
If I have backtested a system on COBC am I going to get a realistic real world execution if i just leave that set to false in the realtime trading also?
Thanks
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
81 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
64 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
66 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
54 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment