Hello please see: https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#enum_symbol_info_integer
Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Symbol Properties
- www.mql5.com
To obtain the current market information there are several functions: SymbolInfoInteger(), SymbolInfoDouble() and SymbolInfoString(). The first parameter is the symbol name, the values of the second function parameter can be one of the identifiers of ENUM_SYMBOL_INFO_INTEGER, ENUM_SYMBOL_INFO_DOUBLE and ENUM_SYMBOL_INFO_STRING. Some symbols...
Marco vd Heijden:
Hello please see: https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#enum_symbol_info_integer
Hello please see: https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#enum_symbol_info_integer
Thanks for answer. I only see a start time for futures. No info about trading hours.
Something like this:
(mo: 07:00-21:00 ... fri: 07:00-21:00)
Also found no id for SymbolInfoDouble or SymbolInfoString.
So the link is not what i am looking for
Great! Thank you. last question: Are the times according:
TimeLocal
or
TimeTraderServer
or
TimeCurrent
There is no information about in the SymbolInfoSessionTrade help section.
And it's best to use servertime (TimeCurrent())
Marco vd Heijden:
And it's best to use servertime (TimeCurrent())
And it's best to use servertime (TimeCurrent())
TimeCurrent
Thank you
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
Hello community,
when open symbol information from market view, i can see trading hours for symbol.
But i do not find a corresponding function to fetch this information.
How do i know, if am currently in trading hours for symbol ?
Thank you