Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
last bar times
Collapse
X
-
last bar times
I am designing a strategy operating on multiple instruments, it requires that the orders placed on both instruments are made simultaneously. What I want the condition to check for is to see if the time of the last bar of instrument A equals the time of the last bar of instrument B, otherwise do not enter the position. I have no idea where to start. A little help pleaseTags: None
-
Hello Chris001,
Thank you for your post.
The condition would be the following:
For information on Times please visit the following link: http://www.ninjatrader.com/support/h.../nt7/times.htmCode:if(Times[0][0] == Times[1][0])
For information on using multiple series in your code please visit the following link: http://www.ninjatrader.com/support/h...nstruments.htm
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 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
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
573 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment