Hello Coders!
I'm trying to create an EA that reacts to the different trading sessions.
So far, I get the current UTC time from kernel32.dll and base my session opening times on the UTC opening times (i e Sydney starts at 22:00, Tokio at 00:00, etc). Now my question is:
Do these Session opening times shift with daylight savings time? If so, at what date and by how many hours in relation to UTC?
The reason I use UTC is that it doesn't change over the year and I don't want to go back every spring and fall and adjust my code.
Also, is there any API to get the Sessions Data from forexfactory.com?
I'm trying to create an EA that reacts to the different trading sessions.
So far, I get the current UTC time from kernel32.dll and base my session opening times on the UTC opening times (i e Sydney starts at 22:00, Tokio at 00:00, etc). Now my question is:
Do these Session opening times shift with daylight savings time? If so, at what date and by how many hours in relation to UTC?
The reason I use UTC is that it doesn't change over the year and I don't want to go back every spring and fall and adjust my code.
Also, is there any API to get the Sessions Data from forexfactory.com?