Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Times for tick and minute timeframes do not match
Collapse
X
-
Times for tick and minute timeframes do not match
Hello, I'm testing a strategy which uses 5min timeframe for logic and 1-tick timeframe for order handling (5min is default, 1 tick is added). At the start of the second session I have Times[0][0] == {24.9.2012 15:45:00} but Times[1][0] == {21.9.2012 22:14:59}. The session starts at 15:30 and ends at 22:15, so 3 bars have been processed from the first timeframe, but none from the second. Moreover, orders are placed in the previous day context and the fills are incorrect. AFAIK, the Times[0] and Times[1] values should correspond to the same bar at the higher timeframe, right? Am I missing something?Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by maykingoh1, Today, 05:25 AM
|
0 responses
1 view
0 likes
|
Last Post
by maykingoh1
Today, 05:25 AM
|
||
Started by Human#102, Today, 05:18 AM
|
0 responses
4 views
0 likes
|
Last Post
by Human#102
Today, 05:18 AM
|
||
Started by ntram, 05-08-2024, 05:39 PM
|
3 responses
21 views
0 likes
|
Last Post Today, 05:17 AM | ||
Started by Zach55, 02-19-2024, 07:22 PM
|
3 responses
68 views
0 likes
|
Last Post Today, 05:16 AM | ||
Started by warpinator, 05-16-2024, 10:44 AM
|
3 responses
30 views
0 likes
|
Last Post Today, 05:14 AM |
Comment