Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OHLC for non-midnight 24 hour market

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    >> 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.
    DierkNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Bidder, Today, 09:16 PM
    0 responses
    7 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by connorgrant5, Today, 07:12 PM
    0 responses
    11 views
    0 likes
    Last Post connorgrant5  
    Started by Trader_55, Today, 06:01 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by aotubusen, Today, 04:28 PM
    0 responses
    19 views
    0 likes
    Last Post aotubusen  
    Started by amaltais, Today, 03:35 PM
    2 responses
    23 views
    0 likes
    Last Post amaltais  
    Working...
    X