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
OHLC for non-midnight 24 hour market
Collapse
X
-
>> Doesn't look like the Session Close time can be *before* the Session Open (which should imply rolling over the day)
Correct, not supported at this time. Will be supported by fall time frame.
For now you only could change your PC timezone to match the import data + change the timestamp of your import data to go from 12 AM to 12 AM.
-
OHLC for non-midnight 24 hour market
I have 3 years of historical FOREX tick data that is in GMT time. From what I can tell, the daily pivot is calculated from the previous "session," which corresponds to the previous day's OHLC from 12:00 AM to 12:00 AM (24 hour market). I am trying to calculate the OHLC values on a session that runs 6:00 AM to 6:00 AM and am having a bugger of a time thinking about how to approach this.
Changing the chart properties, setting the Session Open and Close times to both 6:00 AM doesn't work. Doesn't look like the Session Close time can be *before* the Session Open (which should imply rolling over the day).
I can somewhat handle C#, and taking a look at the Pivot indicator code I think I can hack something together, but a shove in the right direction would be extremely helpful.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Vietanhnguyen2hotmailcom, Yesterday, 10:29 AM
|
4 responses
23 views
0 likes
|
Last Post Today, 09:06 PM | ||
Started by PhillT, 04-19-2024, 02:16 PM
|
4 responses
35 views
0 likes
|
Last Post
by PhillT
Today, 04:24 PM
|
||
Started by ageeholdings, 05-01-2024, 05:22 AM
|
5 responses
37 views
0 likes
|
Last Post
by ageeholdings
Today, 03:21 PM
|
||
Started by reynoldsn, Today, 02:34 PM
|
0 responses
13 views
0 likes
|
Last Post
by reynoldsn
Today, 02:34 PM
|
||
Started by nightstalker, Today, 02:05 PM
|
0 responses
21 views
0 likes
|
Last Post
by nightstalker
Today, 02:05 PM
|
Leave a comment: