hi i am making an EA that will send order only on new york session, but im confuse on how will my EA know if the time now is in New York session. What reference or function do i need?
- Functions
- Pending order expiration dates
- Configuring quoting and trading sessions
TimeGMT + gmtOffset //gmt offset based on your location
TimeLocal() //Returns the local time of a computer, where the client terminal is running
TimeCurrent() //Returns the last known server time
Use one of them. (I for myself always use GMT)
then ckeck when the session starts (for the selected time zone).
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