Lag data from a different timezone
Author: micksonmatch
Creation Date: 8/20/2012 2:08 AM
profile picture

micksonmatch

#1
Hi All,

I know this is a basic question and I have seen the example of offsetting a dataseries, my question is in the chart I am creating sometimes markets are in different timezones. So for instance Australia (where I live) is almost a day ahead of the US but in essence the AORDS follow the US. The way to deal with it best is to lag the AORDS, however according to the code I have below I should probably lead the "SPY" can you assist me with the code to do so.

Thanks

Mick
CODE:
Please log in to see this code.
profile picture

Eugene

#2
Mick,

Here's leading SPY (peeking into the future):
CODE:
Please log in to see this code.
profile picture

micksonmatch

#3
phew thanks, that is quite a mouth-full :)
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).