MQL4 Reference Market Info SymbolInfoSessionTrade
Allows receiving time of beginning and end of the specified trading sessions for a specified symbol and day of week.
[in] Symbol name.
[in] Day of the week, value of enumeration ENUM_DAY_OF_WEEK.
[in] Ordinal number of a session, whose beginning and end time we want to receive. Indexing of sessions starts with 0.
[out] Session beginning time in seconds from 00 hours 00 minutes, in the returned value date should be ignored.
[out] Session end time in seconds from 00 hours 00 minutes, in the returned value date should be ignored.
If data for the specified session, symbol and day of the week are received, returns true, otherwise returns false.
Symbol Properties, TimeToStruct, Data Structures