Error 133 : ERR_TRADE_DISABLED

 

After an OrderSend, Error 133 may ALSO happens when a symbol is not allowed for some calendar reason.
Example XAUUSD trading is forbidden during Independence Day Holiday (July 4th)...

Is there any function to anticipate this error like MarketInfo("XAUUSD", xxxxx)  or something else?

I tried: MarketInfo(symbol, MODE_TRADEALLOWED)  but it returns 1.