Market closed.

 
Hi all,

what is the best preffered method to check if market is closed or not. I was trying to use IsTradeAllowed() but it returns true during the weekend. Is there another method to do it?

Regards,

Michal
 
Hi all,

what is the best preffered method to check if market is closed or not. I was trying to use IsTradeAllowed() but it returns true during the weekend. Is there another method to do it?

Regards,

Michal

I see that nobody cares to answer. So IMHO the only method is to call trading function and look for an error 133 "trade is disabled". There is no other way.

I would appreciate simple yes/no from Metaquotes.
Reason: