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
Hi!
Is it possible in Metatrader/MQL to find out when the trading/quoting interruption is going to happen? Yes we have stuff like SymbolInfoSessionTrade and SymbolInfoSessionQuote, but they predict only the regular/scheduled trading-quoting session, like, “every Monday we trade 00:00-16:55 and then 17:00-21:00”. But is it possible to find out the (planned) “one-off session”, e.g. “on the day before Christmas, we trade just 00:00-16:00”? How to do it?
Seems like around MQL4, IsTradeAllowed was able to do some kind of a variation of that, having a way to find for a symbol, is it tradable on some specific time. Not really “a schedule”, of course, but with some looping, we could discover the schedule for the current day, probably. But in MQL5, such a way to call IsTradeAllowed seems unsupported anymore. How to predict the holidays then?..