Hi guys is im coding an EA that will only trade on a given session but broker time local time and GMT is confusing me. Im making a function that will trigger my ordersend if the time hits a given session example new york session. Is this the correct steps i need to do?
1. Get broker timezone
2. Get the time when a session starts on broker timezone
3. If time now is equals to session time on broker timezone do ordersend.
Is that the right sequence? Thank you
- return true if its New York Session
- First candle of newyork session
- Volatility Expansion system!
There are multiple ways to do it.
I personally prefer to have my computer TimeZone on GMT(UTC) and then use TimeLocal().
I personally prefer to have my computer TimeZone on GMT(UTC) and then use TimeLocal().

Jeremie Courchesne #:
There are multiple ways to do it.
I personally prefer to have my computer TimeZone on GMT(UTC) and then use TimeLocal().
There are multiple ways to do it.
I personally prefer to have my computer TimeZone on GMT(UTC) and then use TimeLocal().
thank you sir on your reply i will try that

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register