MQL4 Equivalents of ACCOUNT_TRADE_ALLOWED & TERMINAL_TRADE_ALLOWED

 

What's the equivalent of

AccountInfoInteger(ACCOUNT_TRADE_ALLOWED)  for MQL4?

also what about the equivalent of?

TerminalInfoInteger(TERMINAL_TRADE_ALLOWED)

 

When in doubt, reference the documentation (which is also available via F1 or the Help section in MetaEditor).

Both functions are compatible with both MQL4+ and MQL5. They remain the same for both platforms.

Here are the MQL4+ documentation reference links ...

For AccountInfoInteger( ACCOUNT_TRADE_ALLOWED ).

For TerminalInfoInteger( TERMINAL_TRADE_ALLOWED ).

 
thanks, yeah I didn't think to check the docs.. I keep forgetting that the non-trading mql5 functions are available in mql4
MQL4 Equivalents of ACCOUNT_TRADE_ALLOWED & TERMINAL_TRADE_ALLOWED
MQL4 Equivalents of ACCOUNT_TRADE_ALLOWED & TERMINAL_TRADE_ALLOWED
  • 2022.12.19
  • www.mql5.com
What's the equivalent of AccountInfoInteger(ACCOUNT_TRADE_ALLOWED) for MQL4? also what about the equivalent of...
 
ycomp #: thanks, yeah I didn't think to check the docs.. I keep forgetting that the non-trading mql5 functions are available in mql4
You are welcome!