Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
sync strategy with account
Collapse
X
-
If I understand correctly, when running on historical daily bars, Time[0] will always be 93000, so a condition like (ToTime(Time[0]) >= 150000) will always be false, and therefor I will again get flat positions when running on historical after I enable it.
So how can I combine between daily historical bars, and intraday execution when running realtime?
Comment
-
Hello,
Understood correctly daily bars we cannot look inside the bar to tell what occured at what time. Only live.
Therefor you are unable to do this with daily bars.
You would need to add in a secondary data series of minute bars to be able to do this Intra bar and is known as adding granularity.You would add in minute bars and then move all your order execution to these minute bars to run off of it and the order submission logic you could still have your daily bar inputs.
Let me know if I can be of further assistance.BrettNinjaTrader Product Management
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
71 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
42 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
25 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
28 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
56 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment