Enum Msg
- Namespace
- ViiSync.AccountApi
- Assembly
- ViiSync.AccountApi.dll
Return codes (MT5 numbering). Trade results use the 10xxx trade-server codes; see ServerException.Code.
public enum Msg
Fields
DONE = 0MT5 Msg.DONE.
MT5 equivalent
Msg.DONE— full
OK = 1MT5 Msg.OK.
MT5 equivalent
Msg.OK— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] COMMON_ERROR = 2MT5 Msg.COMMON_ERROR (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.COMMON_ERROR— partial
INVALID_PARAM = 3MT5 Msg.INVALID_PARAM.
MT5 equivalent
Msg.INVALID_PARAM— full
INVALID_DATA = 4MT5 Msg.INVALID_DATA.
MT5 equivalent
Msg.INVALID_DATA— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] DISK_ERROR = 5MT5 Msg.DISK_ERROR (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.DISK_ERROR— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] MEMORY_ERROR = 6MT5 Msg.MEMORY_ERROR (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.MEMORY_ERROR— partial
NETWORK_ERROR = 7MT5 Msg.NETWORK_ERROR.
MT5 equivalent
Msg.NETWORK_ERROR— full
NOT_PERMISSION = 8MT5 Msg.NOT_PERMISSION.
MT5 equivalent
Msg.NOT_PERMISSION— full
OPERATION_TIMEOUT = 9MT5 Msg.OPERATION_TIMEOUT.
MT5 equivalent
Msg.OPERATION_TIMEOUT— full
NO_CONNECTION = 10MT5 Msg.NO_CONNECTION.
MT5 equivalent
Msg.NO_CONNECTION— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] SERVICE_NOT_AVAILABLE = 11MT5 Msg.SERVICE_NOT_AVAILABLE (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.SERVICE_NOT_AVAILABLE— partial
TOO_FREQUENT_REQUEST = 12MT5 Msg.TOO_FREQUENT_REQUEST.
MT5 equivalent
Msg.TOO_FREQUENT_REQUEST— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] NOT_FOUND = 13MT5 Msg.NOT_FOUND (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.NOT_FOUND— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] SERVER_SHUTDOWN = 15MT5 Msg.SERVER_SHUTDOWN (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.SERVER_SHUTDOWN— partial
OPERATION_CANCELED = 16MT5 Msg.OPERATION_CANCELED.
MT5 equivalent
Msg.OPERATION_CANCELED— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] DUPLICATE_ATTEMPT = 17MT5 Msg.DUPLICATE_ATTEMPT (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.DUPLICATE_ATTEMPT— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] INVALID_TERMINAL = 1000MT5 Msg.INVALID_TERMINAL (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.INVALID_TERMINAL— partial
INVALID_ACCOUNT = 1001MT5 Msg.INVALID_ACCOUNT.
MT5 equivalent
Msg.INVALID_ACCOUNT— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_DISABLED = 1002MT5 Msg.ACCOUNT_DISABLED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.ACCOUNT_DISABLED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ADVANCED_AUTHORIZATION = 1003MT5 Msg.ADVANCED_AUTHORIZATION (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.ADVANCED_AUTHORIZATION— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] CERTIFICATE_REQUIRED = 1004MT5 Msg.CERTIFICATE_REQUIRED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.CERTIFICATE_REQUIRED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] INVALID_CERTIFICATE = 1005MT5 Msg.INVALID_CERTIFICATE (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.INVALID_CERTIFICATE— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] CERTIFICATE_NOT_CONFIRM = 1006MT5 Msg.CERTIFICATE_NOT_CONFIRM (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.CERTIFICATE_NOT_CONFIRM— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ATTEMPT_CONNECT_NON_ACCESS_SERVER = 1007MT5 Msg.ATTEMPT_CONNECT_NON_ACCESS_SERVER (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.ATTEMPT_CONNECT_NON_ACCESS_SERVER— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] INVALID_SERVER = 1008MT5 Msg.INVALID_SERVER (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.INVALID_SERVER— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ONLY_UPDATES_AVAILABLE = 1009MT5 Msg.ONLY_UPDATES_AVAILABLE (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.ONLY_UPDATES_AVAILABLE— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] OLD_VERSION = 1010MT5 Msg.OLD_VERSION (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.OLD_VERSION— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_NOT_MANAGER_CONFIG = 1011MT5 Msg.ACCOUNT_NOT_MANAGER_CONFIG (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.ACCOUNT_NOT_MANAGER_CONFIG— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] UNALLOWED_IP_ADDRESS = 1012MT5 Msg.UNALLOWED_IP_ADDRESS (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.UNALLOWED_IP_ADDRESS— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] GROUP_NOT_INITIALIZED = 1013MT5 Msg.GROUP_NOT_INITIALIZED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.GROUP_NOT_INITIALIZED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] CERTIFICATE_GENERATION_DISABLED = 1014MT5 Msg.CERTIFICATE_GENERATION_DISABLED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.CERTIFICATE_GENERATION_DISABLED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] INVALID_SERVER_ID = 1015MT5 Msg.INVALID_SERVER_ID (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.INVALID_SERVER_ID— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] UNALLOWED_ADDRESS = 1016MT5 Msg.UNALLOWED_ADDRESS (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.UNALLOWED_ADDRESS— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] INVALID_SERVER_TYPE = 1017MT5 Msg.INVALID_SERVER_TYPE (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.INVALID_SERVER_TYPE— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] SERVER_BUSY = 1018MT5 Msg.SERVER_BUSY (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.SERVER_BUSY— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] INVALID_SERVER_CERTIFICATE = 1019MT5 Msg.INVALID_SERVER_CERTIFICATE (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.INVALID_SERVER_CERTIFICATE— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] UNKNOWN_ACCOUNT = 1020MT5 Msg.UNKNOWN_ACCOUNT (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.UNKNOWN_ACCOUNT— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] OLD_SERVER = 1021MT5 Msg.OLD_SERVER (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.OLD_SERVER— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] SERVER_LICENSE_LIMITATION = 1022MT5 Msg.SERVER_LICENSE_LIMITATION (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.SERVER_LICENSE_LIMITATION— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] MOBILE_TERMINAL_NOT_ALLOWED = 1023MT5 Msg.MOBILE_TERMINAL_NOT_ALLOWED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.MOBILE_TERMINAL_NOT_ALLOWED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] CONNECTION_NOT_PERMITTED = 1024MT5 Msg.CONNECTION_NOT_PERMITTED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.CONNECTION_NOT_PERMITTED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] DEMO_DISABLED = 1025MT5 Msg.DEMO_DISABLED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.DEMO_DISABLED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] PASSWORD_MUST_CHANGED = 1026MT5 Msg.PASSWORD_MUST_CHANGED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.PASSWORD_MUST_CHANGED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] INVALID_ONETIME_PASSWORD = 1027MT5 Msg.INVALID_ONETIME_PASSWORD (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.INVALID_ONETIME_PASSWORD— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] SECRET_KEY_REQUIRED = 1028MT5 Msg.SECRET_KEY_REQUIRED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.SECRET_KEY_REQUIRED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] MT4_MIGRATION_PASSWORD = 1029MT5 Msg.MT4_MIGRATION_PASSWORD (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.MT4_MIGRATION_PASSWORD— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] MT5_MIGRATION_PASSWORD = 1030MT5 Msg.MT5_MIGRATION_PASSWORD (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.MT5_MIGRATION_PASSWORD— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] LAST_CONFIG_CANT_DELETE = 2000MT5 Msg.LAST_CONFIG_CANT_DELETE (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] LAST_GROUP_CANT_DELETE = 2001MT5 Msg.LAST_GROUP_CANT_DELETE (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNTS_IN_GROUP = 2003MT5 Msg.ACCOUNTS_IN_GROUP (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] INVALID_ACCOUNT_OR_TRADE_RANGES = 2004MT5 Msg.INVALID_ACCOUNT_OR_TRADE_RANGES (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_NOT_GROUP = 2005MT5 Msg.ACCOUNT_NOT_GROUP (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] PROTECTED_CONFIG = 2006MT5 Msg.PROTECTED_CONFIG (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] CONFIG_DUPLICATE = 2007MT5 Msg.CONFIG_DUPLICATE (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] CONFIG_LIMIT_REACHED = 2008MT5 Msg.CONFIG_LIMIT_REACHED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] INVALID_NETWORK_CONFIG = 2009MT5 Msg.INVALID_NETWORK_CONFIG (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] DIALER_ID_ALREADY_EXISTS = 2010MT5 Msg.DIALER_ID_ALREADY_EXISTS (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ADDRESS_ALREADY_EXISTS = 2011MT5 Msg.ADDRESS_ALREADY_EXISTS (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ATTEMPT_DELETE_WORKING_SERVER = 2012MT5 Msg.ATTEMPT_DELETE_WORKING_SERVER (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] GATEWAY_NAME_ALREADY_EXISTS = 2013MT5 Msg.GATEWAY_NAME_ALREADY_EXISTS (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] SERWER_SWITCHED_TO_BACKUP = 2014MT5 Msg.SERWER_SWITCHED_TO_BACKUP (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] BACKUP_MODULE_ABSENT = 2015MT5 Msg.BACKUP_MODULE_ABSENT (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] TRADE_MODULE_ABSENT = 2016MT5 Msg.TRADE_MODULE_ABSENT (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] HISTORY_MODULE_ABSENT = 2017MT5 Msg.HISTORY_MODULE_ABSENT (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ANOTHER_PROCESS_IN_PROGRESS = 2018MT5 Msg.ANOTHER_PROCESS_IN_PROGRESS (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] LAST_ACCOUNT_CANT_DELETE = 3001MT5 Msg.LAST_ACCOUNT_CANT_DELETE (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] LOGIN_RANGE_EXHAUSTED = 3002MT5 Msg.LOGIN_RANGE_EXHAUSTED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] LOGIN_RESERVED = 3003MT5 Msg.LOGIN_RESERVED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_ALREADY_EXISTS = 3004MT5 Msg.ACCOUNT_ALREADY_EXISTS (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ATTEMPT_SELF_DELETION = 3005MT5 Msg.ATTEMPT_SELF_DELETION (source compatibility only; ViiSync never produces it).
INVALID_PASSWORD = 3006MT5 Msg.INVALID_PASSWORD.
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] USERS_LIMIT_REACHED = 3007MT5 Msg.USERS_LIMIT_REACHED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_HAS_OPEN_TRADES = 3008MT5 Msg.ACCOUNT_HAS_OPEN_TRADES (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ATTEMPT_TO_MORE_ACCOUNT = 3009MT5 Msg.ATTEMPT_TO_MORE_ACCOUNT (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ATTEMPT_TO_MORE_GROUP = 3010MT5 Msg.ATTEMPT_TO_MORE_GROUP (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_BALANCE_ERROR = 3011MT5 Msg.ACCOUNT_BALANCE_ERROR (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_HAS_INVALID_GROUP = 3012MT5 Msg.ACCOUNT_HAS_INVALID_GROUP (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ONETRADE_ACCOUNT_ALREADY_EXISTS = 3013MT5 Msg.ONETRADE_ACCOUNT_ALREADY_EXISTS (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_TRADE_DATA_IMPORT_ERROR = 3014MT5 Msg.ACCOUNT_TRADE_DATA_IMPORT_ERROR (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_TRADE_POSITION_IMPORT_ERROR = 3015MT5 Msg.ACCOUNT_TRADE_POSITION_IMPORT_ERROR (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_OPEN_ORDERS_IMPORT_ERROR = 3016MT5 Msg.ACCOUNT_OPEN_ORDERS_IMPORT_ERROR (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_DEALS_HISTORY_IMPORT_ERROR = 3017MT5 Msg.ACCOUNT_DEALS_HISTORY_IMPORT_ERROR (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_ORDERS_HISTORY_IMPORT_ERROR = 3018MT5 Msg.ACCOUNT_ORDERS_HISTORY_IMPORT_ERROR (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ORDER_LIMIT_REACHED = 4001MT5 Msg.ORDER_LIMIT_REACHED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ORDER_ALREADY_EXISTS = 4002MT5 Msg.ORDER_ALREADY_EXISTS (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ORDER_RANGE_EXHAUSTED = 4003MT5 Msg.ORDER_RANGE_EXHAUSTED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] DEAL_RANGE_EXHAUSTED = 4004MT5 Msg.DEAL_RANGE_EXHAUSTED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] MONEY_LIMIT_REACHED = 4005MT5 Msg.MONEY_LIMIT_REACHED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] DEAL_ALREADY_EXISTS = 4006MT5 Msg.DEAL_ALREADY_EXISTS (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ORDER_TICKET_RESERVED = 4007MT5 Msg.ORDER_TICKET_RESERVED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] DEAL_TICKET_RESERVED = 4008MT5 Msg.DEAL_TICKET_RESERVED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] BASE_SNAPSHOT_ERROR = 5001MT5 Msg.BASE_SNAPSHOT_ERROR (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] METHOD_NOT_SUPPORTED = 5002MT5 Msg.METHOD_NOT_SUPPORTED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] NO_DATA_REPORT = 5003MT5 Msg.NO_DATA_REPORT (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] BAD_TEMPLATE = 5004MT5 Msg.BAD_TEMPLATE (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] END_OF_TEMPLATE = 5005MT5 Msg.END_OF_TEMPLATE (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] INVALID_ROW_SIZE = 5006MT5 Msg.INVALID_ROW_SIZE (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] REPEAT_LIMIT_REACHED = 5007MT5 Msg.REPEAT_LIMIT_REACHED (source compatibility only; ViiSync never produces it).
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] REPORT_SIZE_LIMIT_REACHED = 5008MT5 Msg.REPORT_SIZE_LIMIT_REACHED (source compatibility only; ViiSync never produces it).
SYMBOL_NOT_FOUND = 6001MT5 Msg.SYMBOL_NOT_FOUND.
MT5 equivalent
Msg.SYMBOL_NOT_FOUND— full
REQUEST_ON_WAY = 10001MT5 Msg.REQUEST_ON_WAY.
MT5 equivalent
Msg.REQUEST_ON_WAY— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] REQUEST_ACCEPTED = 10002MT5 Msg.REQUEST_ACCEPTED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.REQUEST_ACCEPTED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] REQUEST_PROCESSED = 10003MT5 Msg.REQUEST_PROCESSED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.REQUEST_PROCESSED— partial
REQUOTE = 10004MT5 Msg.REQUOTE.
MT5 equivalent
Msg.REQUOTE— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] PRICES = 10005MT5 Msg.PRICES (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.PRICES— partial
REQUEST_REJECTED = 10006MT5 Msg.REQUEST_REJECTED.
MT5 equivalent
Msg.REQUEST_REJECTED— full
REQUEST_CANCELLED = 10007MT5 Msg.REQUEST_CANCELLED.
MT5 equivalent
Msg.REQUEST_CANCELLED— full
ORDER_PLACED = 10008MT5 Msg.ORDER_PLACED.
MT5 equivalent
Msg.ORDER_PLACED— full
REQUEST_EXECUTED = 10009MT5 Msg.REQUEST_EXECUTED.
MT5 equivalent
Msg.REQUEST_EXECUTED— full
REQUEST_EXECUTED_PARTIALLY = 10010MT5 Msg.REQUEST_EXECUTED_PARTIALLY.
MT5 equivalent
Msg.REQUEST_EXECUTED_PARTIALLY— full
REQUEST_ERROR = 10011MT5 Msg.REQUEST_ERROR.
MT5 equivalent
Msg.REQUEST_ERROR— full
REQUEST_TIMEOUT = 10012MT5 Msg.REQUEST_TIMEOUT.
MT5 equivalent
Msg.REQUEST_TIMEOUT— full
INVALID_REQUEST = 10013MT5 Msg.INVALID_REQUEST.
MT5 equivalent
Msg.INVALID_REQUEST— full
INVALID_VOLUME = 10014MT5 Msg.INVALID_VOLUME.
MT5 equivalent
Msg.INVALID_VOLUME— full
INVALID_PRICE = 10015MT5 Msg.INVALID_PRICE.
MT5 equivalent
Msg.INVALID_PRICE— full
INVALID_STOPS = 10016MT5 Msg.INVALID_STOPS.
MT5 equivalent
Msg.INVALID_STOPS— full
TRADE_DISABLED = 10017MT5 Msg.TRADE_DISABLED.
MT5 equivalent
Msg.TRADE_DISABLED— full
MARKET_CLOSED = 10018MT5 Msg.MARKET_CLOSED.
MT5 equivalent
Msg.MARKET_CLOSED— full
NO_MONEY = 10019MT5 Msg.NO_MONEY.
MT5 equivalent
Msg.NO_MONEY— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] PRICE_CHANGED = 10020MT5 Msg.PRICE_CHANGED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.PRICE_CHANGED— partial
NO_PRICES = 10021MT5 Msg.NO_PRICES.
MT5 equivalent
Msg.NO_PRICES— full
INVALID_EXPIRATION = 10022MT5 Msg.INVALID_EXPIRATION.
MT5 equivalent
Msg.INVALID_EXPIRATION— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ORDER_ALREADY_CHANGED = 10023MT5 Msg.ORDER_ALREADY_CHANGED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.ORDER_ALREADY_CHANGED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] TOO_MANY_TRADE_REQUESTS = 10024MT5 Msg.TOO_MANY_TRADE_REQUESTS (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.TOO_MANY_TRADE_REQUESTS— partial
NO_CHANGES = 10025MT5 Msg.NO_CHANGES.
MT5 equivalent
Msg.NO_CHANGES— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] AUTOTRADE_DISABLE_SERVER = 10026MT5 Msg.AUTOTRADE_DISABLE_SERVER (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.AUTOTRADE_DISABLE_SERVER— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] AUTOTRADE_DISABLE_CLIENT = 10027MT5 Msg.AUTOTRADE_DISABLE_CLIENT (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.AUTOTRADE_DISABLE_CLIENT— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] MODIFICATION_FAILED = 10029MT5 Msg.MODIFICATION_FAILED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.MODIFICATION_FAILED— partial
UNSUPPORTED_FILLING_MODE = 10030MT5 Msg.UNSUPPORTED_FILLING_MODE.
MT5 equivalent
Msg.UNSUPPORTED_FILLING_MODE— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] REQUEST_REJECTED_TO_ABSENCE_CONNECT = 10031MT5 Msg.REQUEST_REJECTED_TO_ABSENCE_CONNECT (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.REQUEST_REJECTED_TO_ABSENCE_CONNECT— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ALLOWED_REAL_ACCOUNTS_ONLY = 10032MT5 Msg.ALLOWED_REAL_ACCOUNTS_ONLY (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.ALLOWED_REAL_ACCOUNTS_ONLY— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ORDER_LIMIT_REACHED_ = 10033MT5 Msg.ORDER_LIMIT_REACHED_ (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.ORDER_LIMIT_REACHED_— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] VOLUME_LIMIT_REACHED = 10034MT5 Msg.VOLUME_LIMIT_REACHED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.VOLUME_LIMIT_REACHED— partial
INVALID_ORDER = 10035MT5 Msg.INVALID_ORDER.
MT5 equivalent
Msg.INVALID_ORDER— full
POSITION_NOT_EXISTS = 10036MT5 Msg.POSITION_NOT_EXISTS.
MT5 equivalent
Msg.POSITION_NOT_EXISTS— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] EXECUTION_NOT_BELONG_SERVER = 10037MT5 Msg.EXECUTION_NOT_BELONG_SERVER (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.EXECUTION_NOT_BELONG_SERVER— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] VOLUME_CLOSE_EXCEEDS_POSITION = 10038MT5 Msg.VOLUME_CLOSE_EXCEEDS_POSITION (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.VOLUME_CLOSE_EXCEEDS_POSITION— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ORDER_CLOSE_ALREADY_EXISTS = 10039MT5 Msg.ORDER_CLOSE_ALREADY_EXISTS (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.ORDER_CLOSE_ALREADY_EXISTS— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] POSITION_LIMIT_REACHED = 10040MT5 Msg.POSITION_LIMIT_REACHED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.POSITION_LIMIT_REACHED— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ORDER_CANCELLED = 10041MT5 Msg.ORDER_CANCELLED (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.ORDER_CANCELLED— partial
ONLY_LONG_POSITION = 10042MT5 Msg.ONLY_LONG_POSITION.
MT5 equivalent
Msg.ONLY_LONG_POSITION— full
ONLY_SHORT_POSITION = 10043MT5 Msg.ONLY_SHORT_POSITION.
MT5 equivalent
Msg.ONLY_SHORT_POSITION— full
ONLY_CLOSE_POSITION = 10044MT5 Msg.ONLY_CLOSE_POSITION.
MT5 equivalent
Msg.ONLY_CLOSE_POSITION— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] FIFO_CLOSE = 10045MT5 Msg.FIFO_CLOSE (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.FIFO_CLOSE— partial
HEDGE_PROHIBITED = 10046MT5 Msg.HEDGE_PROHIBITED.
MT5 equivalent
Msg.HEDGE_PROHIBITED— full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] REQUEST_RETURNED_IN_QUEUE = 11000MT5 Msg.REQUEST_RETURNED_IN_QUEUE (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.REQUEST_RETURNED_IN_QUEUE— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] REQUEST_EXECUTED_PARTIALLY_ = 11001MT5 Msg.REQUEST_EXECUTED_PARTIALLY_ (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.REQUEST_EXECUTED_PARTIALLY_— partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] REQUOTE_ = 11002MT5 Msg.REQUOTE_ (source compatibility only; ViiSync never produces it).
MT5 equivalent
Msg.REQUOTE_— partial
NETWORK_PROBLEM = 2147483647MT5 Msg.NETWORK_PROBLEM.
MT5 equivalent
Msg.NETWORK_PROBLEM— full