What is the equivalent of MQL4's
AccountInfoInteger(ACCOUNT_TRADE_ALLOWED)
in MQL5?
Also what about the equivalent of?
TerminalInfoInteger(TERMINAL_TRADE_ALLOWED)
they are not listed here: https://www.mql5.com/en/articles/81
What is the equivalent of MQL4's
AccountInfoInteger(ACCOUNT_TRADE_ALLOWED)
in MQL5?
Also what about the equivalent of?
TerminalInfoInteger(TERMINAL_TRADE_ALLOWED)
they are not listed here: https://www.mql5.com/en/articles/81
In MQL5, the equivalent to AccountInfoInteger(ACCOUNT_TRADE_ALLOWED)
is the same function AccountInfoInteger.
It's also the same for TerminalInfoInteger(TERMINAL_TRADE_ALLOWED)
- TerminalInfoInteger
You should take care of the official Documentation and not only look at one single article from a user like us.
You can find it by useing "F1" on your written Code or behind the following links:
https://www.mql5.com/en/docs/constants/environment_state/accountinformation
https://www.mql5.com/en/docs/runtime/tradepermission
This should answer your questions. Nice day