What MQL4 error 133 means
The official MQL4 runtime table names error 133 ERR_TRADE_DISABLED and defines it as “trade is disabled.” The restriction can come from the symbol, account, broker, or server session rather than the order syntax.
The error number is evidence about one failed call, not a diagnosis of the whole EA. Read the API sentinel first, then call GetLastError immediately because that function returns the current _LastError value and resets it.
