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
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.
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
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