Metatrader 4 Error Codes - Pepperstone

Transcription

Metatrader 4Error CodesPepperstone Group LimitedLevel 16, Tower One727 Collins StreetMelbourne VIC 3008AUSTRALIALocal Call 1300 033 375Phone 61 3 9020 0155Fax 61 3 8679 4408www.pepperstone.comsupport@pepperstone.comRisk Warning: Sed faucibus, quam a pharetra imperdiet, leo est venenatis massa, ac fringilla quam erat sed sapien. Crasvolutpat id eros non congue. Cras non eleifend sem, quis consequat nisl. Maecenas malesuada finibus euismod.Suspendisse id fringilla felis. Proin tristique vulputate enim ac venenatis. Mauris et ante at felis pretium volutpat. Nambibendumloremforexipsum,egetmaximus maurisornareat. at risk. AFSL No. 414530Risk Warning:Tradingandderivativesputs yourcapital

www.pepperstone.comError codes returned from trade server:CONSTANTVALUEDESCRIPTIONERR NO ERROR0No error returnedERR NO RESULT1No error returned, but the result is unknownERR COMMON ERROR2Common errorERR INVALID TRADE PARAMETERS3Invalid trade parametersERR SERVER BUSY4Trade server is busyERR OLD VERSION5Old version of the client terminalERR NO CONNECTION6No connection with trade serverERR NOT ENOUGH RIGHTS7Not enough rightsERR TOO FREQUENT REQUESTS8Too frequent requestsERR MALFUNCTIONAL TRADE9Malfunctional trade operationERR ACCOUNT DISABLED64Account disabledERR INVALID ACCOUNT65Invalid accountERR TRADE TIMEOUT128Trade timeoutERR INVALID PRICE129Invalid priceERR INVALID STOPS130Invalid stopsERR INVALID TRADE VOLUME131Invalid trade volumeERR MARKET CLOSED132Market is closedERR TRADE DISABLED133Trade is disabledERR NOT ENOUGH MONEY134Not enough moneyERR PRICE CHANGED135Price changedERR OFF QUOTES136Off quotesERR BROKER BUSY137Broker is busyERR REQUOTE138RequoteERR ORDER LOCKED139Order is lockedERR LONG POSITIONS ONLY ALLOWED140Long positions only allowedERR TOO MANY REQUESTS141Too many requestsERR TRADE MODIFY DENIED145Modification denied because order too close tomarketERR TRADE CONTEXT BUSY146Trade context is busyERR TRADE EXPIRATION DENIED147Expirations are denied by brokerERR TRADE TOO MANY ORDERS148The amount of open and pending orders hasreached the limit set by the broker2

www.pepperstone.comMQL4 run time error codes:CONSTANT3VALUEDESCRIPTIONERR NO MQLERROR4000No errorERR WRONG FUNCTION POINTER4001Wrong function pointerERR ARRAY INDEX OUT OF RANGE4002Array index is out of rangeERR NO MEMORY FOR CALL STACK4003No memory for function call stackERR RECURSIVE STACK OVERFLOW4004Recursive stack overflowERR NOT ENOUGH STACK FOR PARAM4005Not enough stack for parameterERR NO MEMORY FOR PARAM STRING4006No memory for parameter stringERR NO MEMORY FOR TEMP STRING4007No memory for temp stringERR NOT INITIALIZED STRING4008Not initialized stringERR NOT INITIALIZED ARRAYSTRING4009Not initialized string in arrayERR NO MEMORY FOR ARRAYSTRING4010No memory for array stringERR TOO LONG STRING4011Too long stringERR REMAINDER FROM ZERO DIVIDE4012Remainder from zero divideERR ZERO DIVIDE4013Zero divideERR UNKNOWN COMMAND4014Unknown commandERR WRONG JUMP4015Wrong jump (never generated error)ERR NOT INITIALIZED ARRAY4016Not initialized arrayERR DLL CALLS NOT ALLOWED4017DLL calls are not allowedERR CANNOT LOAD LIBRARY4018Cannot load libraryERR CANNOT CALL FUNCTION4019Cannot call functionERR EXTERNAL CALLS NOT ALLOWED4020Expert function calls are not allowedERR NO MEMORY FOR RETURNED STR4021Not enough memory for temp string returnedfrom functionERR SYSTEM BUSY4022System is busy (never generated error)ERR INVALID FUNCTION PARAMSCNT4050Invalid function parameters countERR INVALID FUNCTION PARAMVALUE4051Invalid function parameter valueERR STRING FUNCTION INTERNAL4052String function internal errorERR SOME ARRAY ERROR4053Some array errorERR INCORRECT SERIESARRAY USING4054Incorrect series array usingERR CUSTOM INDICATOR ERROR4055Custom indicator errorERR INCOMPATIBLE ARRAYS4056Arrays are incompatibleERR GLOBAL VARIABLES PROCESSING4057Global variables processing error

www.pepperstone.comCONSTANTVALUEDESCRIPTIONERR GLOBAL VARIABLE NOT FOUND4058Global variable not foundERR FUNC NOT ALLOWED IN TESTING4059Function is not allowed in testing mode.ERR FUNCTION NOT CONFIRMED4060Function is not confirmedERR SEND MAIL ERROR4061Send mail errorERR STRING PARAMETER EXPECTED4062String parameter expectedERR INTEGER PARAMETER EXPECTED4063Integer parameter expectedERR DOUBLE PARAMETER EXPECTED4064Double parameter expectedERR ARRAY AS PARAMETER EXPECTED4065Array as parameter expectedERR HISTORY WILL UPDATED4066Requested history data in updating stateERR TRADE ERROR4067Some error in trading functionERR END OF FILE4099End of fileERR SOME FILE ERROR4100Some file errorERR WRONG FILE NAME4101Wrong file nameERR TOO MANY OPENED FILES4102Too many opened filesERR CANNOT OPEN FILE4103Cannot open fileERR INCOMPATIBLE FILEACCESS4104Incompatible access to a fileERR NO ORDER SELECTED4105No order selectedERR UNKNOWN SYMBOL4106Unknown symbolERR INVALID PRICE PARAM4107Invalid priceERR INVALID TICKET4108Invalid ticketERR TRADE NOT ALLOWED4109Trade is not allowed. Enable checkbox “Allow livetrading” in the expert propertiesERR LONGS NOT ALLOWED4110Longs are not allowed. Check the expertpropertiesERR SHORTS NOT ALLOWED4111Shorts are not allowed. Check the expertpropertiesERR OBJECT ALREADY EXISTS4200Object exists alreadyERR UNKNOWN OBJECT PROPERTY4201Unknown object propertyERR OBJECT DOES NOT EXIST4202Object does not existERR UNKNOWN OBJECT TYPE4203Unknown object typeERR NO OBJECT NAME4204No object nameERR OBJECT COORDINATES ERROR4205Object coordinates errorERR NO SPECIFIED SUBWINDOW4206No specified subwindowERR SOME OBJECT ERROR4207Some error in object function4

www.pepperstone.comLevel 16, Tower One727 Collins StreetMelbourne VIC 3008AUSTRALIA2Local Call 1300 033 375Phone 61 3 9020 0155Fax 61 3 8679 4408www.pepperstone.comsupport@pepperstone.com

Pepperstone Group Limited Risk Warning: Trading forex and derivatives puts your capital at risk. AFSL No. 414530 Level 16, Tower One 727 Collins Street Melbourne VIC 3008 AUSTRALIA Local Call 1300 033 375 Phone 61 3 9020 0155 Fax 61 3 8679 4408 www.pepperstone.com support@pepperstone.comFile Size: 713KBPage Count: 5