Table of Contents

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 = 0

MT5 Msg.DONE.

MT5 equivalent

  • Msg.DONE — full
OK = 1

MT5 Msg.OK.

MT5 equivalent

  • Msg.OK — full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] COMMON_ERROR = 2

MT5 Msg.COMMON_ERROR (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.COMMON_ERROR — partial
INVALID_PARAM = 3

MT5 Msg.INVALID_PARAM.

MT5 equivalent

  • Msg.INVALID_PARAM — full
INVALID_DATA = 4

MT5 Msg.INVALID_DATA.

MT5 equivalent

  • Msg.INVALID_DATA — partial
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] DISK_ERROR = 5

MT5 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 = 6

MT5 Msg.MEMORY_ERROR (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.MEMORY_ERROR — partial
NETWORK_ERROR = 7

MT5 Msg.NETWORK_ERROR.

MT5 equivalent

  • Msg.NETWORK_ERROR — full
NOT_PERMISSION = 8

MT5 Msg.NOT_PERMISSION.

MT5 equivalent

  • Msg.NOT_PERMISSION — full
OPERATION_TIMEOUT = 9

MT5 Msg.OPERATION_TIMEOUT.

MT5 equivalent

  • Msg.OPERATION_TIMEOUT — full
NO_CONNECTION = 10

MT5 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 = 11

MT5 Msg.SERVICE_NOT_AVAILABLE (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.SERVICE_NOT_AVAILABLE — partial
TOO_FREQUENT_REQUEST = 12

MT5 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 = 13

MT5 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 = 15

MT5 Msg.SERVER_SHUTDOWN (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.SERVER_SHUTDOWN — partial
OPERATION_CANCELED = 16

MT5 Msg.OPERATION_CANCELED.

MT5 equivalent

  • Msg.OPERATION_CANCELED — full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] DUPLICATE_ATTEMPT = 17

MT5 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 = 1000

MT5 Msg.INVALID_TERMINAL (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.INVALID_TERMINAL — partial
INVALID_ACCOUNT = 1001

MT5 Msg.INVALID_ACCOUNT.

MT5 equivalent

  • Msg.INVALID_ACCOUNT — full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] ACCOUNT_DISABLED = 1002

MT5 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 = 1003

MT5 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 = 1004

MT5 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 = 1005

MT5 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 = 1006

MT5 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 = 1007

MT5 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 = 1008

MT5 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 = 1009

MT5 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 = 1010

MT5 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 = 1011

MT5 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 = 1012

MT5 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 = 1013

MT5 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 = 1014

MT5 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 = 1015

MT5 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 = 1016

MT5 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 = 1017

MT5 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 = 1018

MT5 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 = 1019

MT5 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 = 1020

MT5 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 = 1021

MT5 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 = 1022

MT5 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 = 1023

MT5 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 = 1024

MT5 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 = 1025

MT5 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 = 1026

MT5 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 = 1027

MT5 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 = 1028

MT5 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 = 1029

MT5 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 = 1030

MT5 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 = 2000

MT5 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 = 2001

MT5 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 = 2003

MT5 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 = 2004

MT5 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 = 2005

MT5 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 = 2006

MT5 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 = 2007

MT5 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 = 2008

MT5 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 = 2009

MT5 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 = 2010

MT5 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 = 2011

MT5 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 = 2012

MT5 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 = 2013

MT5 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 = 2014

MT5 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 = 2015

MT5 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 = 2016

MT5 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 = 2017

MT5 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 = 2018

MT5 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 = 3001

MT5 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 = 3002

MT5 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 = 3003

MT5 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 = 3004

MT5 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 = 3005

MT5 Msg.ATTEMPT_SELF_DELETION (source compatibility only; ViiSync never produces it).

INVALID_PASSWORD = 3006

MT5 Msg.INVALID_PASSWORD.

[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] USERS_LIMIT_REACHED = 3007

MT5 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 = 3008

MT5 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 = 3009

MT5 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 = 3010

MT5 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 = 3011

MT5 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 = 3012

MT5 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 = 3013

MT5 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 = 3014

MT5 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 = 3015

MT5 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 = 3016

MT5 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 = 3017

MT5 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 = 3018

MT5 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 = 4001

MT5 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 = 4002

MT5 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 = 4003

MT5 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 = 4004

MT5 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 = 4005

MT5 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 = 4006

MT5 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 = 4007

MT5 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 = 4008

MT5 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 = 5001

MT5 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 = 5002

MT5 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 = 5003

MT5 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 = 5004

MT5 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 = 5005

MT5 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 = 5006

MT5 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 = 5007

MT5 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 = 5008

MT5 Msg.REPORT_SIZE_LIMIT_REACHED (source compatibility only; ViiSync never produces it).

SYMBOL_NOT_FOUND = 6001

MT5 Msg.SYMBOL_NOT_FOUND.

MT5 equivalent

  • Msg.SYMBOL_NOT_FOUND — full
REQUEST_ON_WAY = 10001

MT5 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 = 10002

MT5 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 = 10003

MT5 Msg.REQUEST_PROCESSED (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.REQUEST_PROCESSED — partial
REQUOTE = 10004

MT5 Msg.REQUOTE.

MT5 equivalent

  • Msg.REQUOTE — full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] PRICES = 10005

MT5 Msg.PRICES (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.PRICES — partial
REQUEST_REJECTED = 10006

MT5 Msg.REQUEST_REJECTED.

MT5 equivalent

  • Msg.REQUEST_REJECTED — full
REQUEST_CANCELLED = 10007

MT5 Msg.REQUEST_CANCELLED.

MT5 equivalent

  • Msg.REQUEST_CANCELLED — full
ORDER_PLACED = 10008

MT5 Msg.ORDER_PLACED.

MT5 equivalent

  • Msg.ORDER_PLACED — full
REQUEST_EXECUTED = 10009

MT5 Msg.REQUEST_EXECUTED.

MT5 equivalent

  • Msg.REQUEST_EXECUTED — full
REQUEST_EXECUTED_PARTIALLY = 10010

MT5 Msg.REQUEST_EXECUTED_PARTIALLY.

MT5 equivalent

  • Msg.REQUEST_EXECUTED_PARTIALLY — full
REQUEST_ERROR = 10011

MT5 Msg.REQUEST_ERROR.

MT5 equivalent

  • Msg.REQUEST_ERROR — full
REQUEST_TIMEOUT = 10012

MT5 Msg.REQUEST_TIMEOUT.

MT5 equivalent

  • Msg.REQUEST_TIMEOUT — full
INVALID_REQUEST = 10013

MT5 Msg.INVALID_REQUEST.

MT5 equivalent

  • Msg.INVALID_REQUEST — full
INVALID_VOLUME = 10014

MT5 Msg.INVALID_VOLUME.

MT5 equivalent

  • Msg.INVALID_VOLUME — full
INVALID_PRICE = 10015

MT5 Msg.INVALID_PRICE.

MT5 equivalent

  • Msg.INVALID_PRICE — full
INVALID_STOPS = 10016

MT5 Msg.INVALID_STOPS.

MT5 equivalent

  • Msg.INVALID_STOPS — full
TRADE_DISABLED = 10017

MT5 Msg.TRADE_DISABLED.

MT5 equivalent

  • Msg.TRADE_DISABLED — full
MARKET_CLOSED = 10018

MT5 Msg.MARKET_CLOSED.

MT5 equivalent

  • Msg.MARKET_CLOSED — full
NO_MONEY = 10019

MT5 Msg.NO_MONEY.

MT5 equivalent

  • Msg.NO_MONEY — full
[NotEmittedByViiSync("Defined for source compatibility with MT5 code; ViiSync never returns this code.")] PRICE_CHANGED = 10020

MT5 Msg.PRICE_CHANGED (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.PRICE_CHANGED — partial
NO_PRICES = 10021

MT5 Msg.NO_PRICES.

MT5 equivalent

  • Msg.NO_PRICES — full
INVALID_EXPIRATION = 10022

MT5 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 = 10023

MT5 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 = 10024

MT5 Msg.TOO_MANY_TRADE_REQUESTS (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.TOO_MANY_TRADE_REQUESTS — partial
NO_CHANGES = 10025

MT5 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 = 10026

MT5 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 = 10027

MT5 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 = 10029

MT5 Msg.MODIFICATION_FAILED (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.MODIFICATION_FAILED — partial
UNSUPPORTED_FILLING_MODE = 10030

MT5 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 = 10031

MT5 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 = 10032

MT5 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_ = 10033

MT5 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 = 10034

MT5 Msg.VOLUME_LIMIT_REACHED (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.VOLUME_LIMIT_REACHED — partial
INVALID_ORDER = 10035

MT5 Msg.INVALID_ORDER.

MT5 equivalent

  • Msg.INVALID_ORDER — full
POSITION_NOT_EXISTS = 10036

MT5 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 = 10037

MT5 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 = 10038

MT5 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 = 10039

MT5 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 = 10040

MT5 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 = 10041

MT5 Msg.ORDER_CANCELLED (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.ORDER_CANCELLED — partial
ONLY_LONG_POSITION = 10042

MT5 Msg.ONLY_LONG_POSITION.

MT5 equivalent

  • Msg.ONLY_LONG_POSITION — full
ONLY_SHORT_POSITION = 10043

MT5 Msg.ONLY_SHORT_POSITION.

MT5 equivalent

  • Msg.ONLY_SHORT_POSITION — full
ONLY_CLOSE_POSITION = 10044

MT5 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 = 10045

MT5 Msg.FIFO_CLOSE (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.FIFO_CLOSE — partial
HEDGE_PROHIBITED = 10046

MT5 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 = 11000

MT5 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_ = 11001

MT5 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_ = 11002

MT5 Msg.REQUOTE_ (source compatibility only; ViiSync never produces it).

MT5 equivalent

  • Msg.REQUOTE_ — partial
NETWORK_PROBLEM = 2147483647

MT5 Msg.NETWORK_PROBLEM.

MT5 equivalent

  • Msg.NETWORK_PROBLEM — full