エラーと警告のコード

辞典・一覧

エラーと警告のコード

 MQL4のエラーと警告のコードの一覧です。
 情報量が多いので、本ページ内であれば「Ctrl + f」で検索、サイト内の検索であれば下の検索フォームでの検索をおすすめします。

項目説明
取引サーバーの取得コード [32]OrderSend関数で送信した取引リクエストの結果を取得します。
コンパイルワーニング [63]コンパイル時に表示される警告メッセージのコードです。エラーではありません。
コンパイルエラー [268]コンパイルが失敗した時に表示されるエラーのメッセージコードです。
ランタイムエラー [161]GetLastError関数を使用して取得できる MQL4プログラムの実行中のエラーコードです。

取引サーバーの取得コード [32]

 GetLastError関数からエラーコードが返されます。エラーコードは stderror.mqh で定義されています。エラーの説明を出力するには、stdlib.mqhで定義されている ErrorDescription関数を使用します。

コードID説明
0ERR_NO_ERRORエラー無し。
1ERR_NO_RESULTエラーは無いが、結果は不明です。
2ERR_COMMON_ERROR一般的なエラーです。
3ERR_INVALID_TRADE_PARAMETERS取引パラメータが無効です。
4ERR_SERVER_BUSY取引サーバーがビジー状態です。
5ERR_OLD_VERSIONクライアントターミナルが旧バージョンです。
6ERR_NO_CONNECTION取引サーバーに接続していません。
7ERR_NOT_ENOUGH_RIGHTS権限がありません。
8ERR_TOO_FREQUENT_REQUESTSリクエストが多すぎます。
9ERR_MALFUNCTIONAL_TRADE機能しない取引操作です。
64ERR_ACCOUNT_DISABLEDアカウントが無効になっています。
65ERR_INVALID_ACCOUNT無効なアカウントです。
128ERR_TRADE_TIMEOUT取引タイムアウトです。
129ERR_INVALID_PRICE無効な価格です。
130ERR_INVALID_STOPS無効なストップ価格です。
131ERR_INVALID_TRADE_VOLUME無効な取引量です。
132ERR_MARKET_CLOSED市場は閉まっています。
133ERR_TRADE_DISABLED無効な取引設定です。
134ERR_NOT_ENOUGH_MONEY証拠金不足です。
135ERR_PRICE_CHANGED価格が変更されました。
136ERR_OFF_QUOTESレートが表示されていません。
137ERR_BROKER_BUSYブローカーがビジー状態です
138ERR_REQUOTEレートが再表示されています。
139ERR_ORDER_LOCKED注文がロックされています
140ERR_LONG_POSITIONS_ONLY_ALLOWED買い注文のみ許可されています。
141ERR_TOO_MANY_REQUESTSリクエストが多すぎます。
145ERR_TRADE_MODIFY_DENIED変更注文が現在価格に近すぎるため、変更は拒否されました。
146ERR_TRADE_CONTEXT_BUSY取引状況がビジー状態です。
147ERR_TRADE_EXPIRATION_DENIED有効期限設定がブローカーから拒否されました。
148ERR_TRADE_TOO_MANY_ORDERSポジション及びオーダー数が、ブローカーによって設定された上限に達しました。
149ERR_TRADE_HEDGE_PROHIBITED両建ては無効になっています。
150ERR_TRADE_PROHIBITED_BY_FIFOFIFOルールに違反する注文を決済しようとしています。

コンパイルワーニング [63]

 コンパイルの警告(warnings)は情報提供のみを目的として表示され、エラー メッセージではありません。
 コンパイル時に警告があった場合は、警告メッセージが出ます。警告メッセージは次の表の内容になりますが、MetaEditorのバージョンアップによりメッセージ表示が少し異なりますので近いものを探して警告内容を確認してください。

コード表示メッセージと説明
21Incomplete record of a date in the datetime string.
日付の日時文字列が不完全です。
22Wrong number in the datetime string for the date. Requirements: 
日付の日時文字列の数字が間違っています。要件:
1970 年 <= X <= 3000
月 0 < X <= 12
0日目 < X <= 31/30/28 (29)….
23Wrong number of datetime string for time. Requirements: 
時刻の日時文字列の数が間違っています。要件:
時間 0 <= X < 24
分 0 <= X < 60
24Invalid color in RGB format: one of RGB components is less than 0 or greater than 255
RGB形式の色が無効です: RGB コンポーネントの 1つが 0未満か 255を超えています。
25Unknown character of the escape sequences. 
エスケープシーケンスの文字が不明です。
既知: \n \r \t \ \” \’ \X \x
26Too large volume of local variables (> 512Kb) of the function, reduce the number.
関数のローカル変数の量が多すぎます(> 512Kb)。数を減らしてください。
29Enumeration already defined (duplication) – members will be added to the first definition.
列挙は既に定義されています。最初の定義に追加します。
30Overriding macro.
マクロが上書きされました。
31The variable is declared but is not used anywhere.
変数は宣言されていますが、どこにも使用されていません。
32Constructor must be of void type.
コンストラクターは void型でなければなりません。
33Destructor must be of void type.
デストラクタは void型でなければなりません。
34Constant does not fit in the range of integers (X> _UI64_MAX | | X <_I64_MIN) and will be converted to the double type.
定数が整数の範囲 (X > _UI64_MAX | | X < _I64_MIN) に収まらないため、double型に変換されます。
35Too long HEX – more than 16 significant characters (senior nibbles are cut).
16進数が長すぎます。16を超える有効文字 (上位ニブルはカットされます)。
36No nibbles in HEX string “0x”.
16進数文字列 “0x” にニブルがありません。
37No function – nothing to be performed.
機能なし。何も実行する必要はありません。
38A non-initialized variable is used.
初期化されていない変数が使用されています。
41Function has no body, and is not called.
関数に本体がなく、呼び出されません。
43Possible loss of data at typecasting. Example: int x = (double) z;
キャスト時にデータが失われる可能性があります。例: int x = (double) z;
44Loss of accuracy (of data) when converting a constant. Example: int x = M_PI.
定数を変換するときに (データの) 精度の損失があります。例: int x = M_PI
45Difference between the signs of operands in the operations of comparison. Example: (char) c1> (uchar) c2.
比較演算における被演算子の符号が違います。例: (char) c1 > (uchar) c2
46Problems with function importing – declaration of #import is required or import of functions is closed.
関数のインポートに関する問題 – #import の宣言が必要であるか、関数のインポートが閉じられています。
47Too large description – extra characters will not be included in the executable file.
説明が長すぎます。余分な文字は実行可能ファイルに含まれません。
48The number of indicator buffers declared is less than required.
宣言された指標バッファの数が必要数より少ないです。
49No color to plot a graphical series in the indicator.
インジケータにプロットする色がありません。
50No graphical series to draw the indicator.
インジケータが描画されていません。
51‘OnStart’ handler function not found in the script.
OnStartハンドラー関数がスクリプトで見つかりません。
52‘OnStart’ handler function is defined with wrong parameters.
OnStartハンドラー関数が間違ったパラメーターで定義されています。
53‘OnStart’ function can be defined only in a script.
OnStart関数はスクリプトでのみ定義できます。
54‘OnInit’ function is defined with wrong parameters.
OnInit関数が間違ったパラメーターで定義されています。
55‘OnInit’ function is not used in scripts.
OnInit関数はスクリプトでは使用されません。
56‘OnDeinit’ function is defined with wrong parameters.
OnDeinit関数が間違ったパラメーターで定義されています。
57‘OnDeinit’ function is not used in scripts.
OnDeinit関数はスクリプトでは使用されません。
58Two ‘OnCalculate’ functions are defined. OnCalculate () at one price array will be used.
2つの OnCalculate関数が定義されています。1つの価格配列で OnCalculate関数が使用されます。
59Overfilling detected when calculating a complex integer constant.
複素整数定数の計算時に過充填が検出されました。
60Probably, the variable is not initialized.
おそらく、変数が初期化されていません。
61This declaration makes it impossible to refer to the local variable declared on the specified line.
この宣言により、指定した行で宣言されたローカル変数を参照できなくなります。
62This declaration makes it impossible to refer to the global variable declared on the specified line.
この宣言により、指定された行で宣言されたグローバル変数を参照できなくなります。
63Cannot be used for static allocated array.
静的に割り当てられた配列には使用できません。
64This variable declaration hides predefined variable.
この変数宣言は、事前定義された変数を非表示にします。
65The value of the expression is always true/false.
式の値は常に true / false にしてください。
66Using a variable or bool type expression in mathematical operations is unsafe.
数学演算での変数または bool型式の使用は安全ではありません。
67The result of applying the unary minus operator to an unsigned ulong type is undefined.
単項マイナス演算子を符号無し ulong型に適用した結果は未定義です。
68The version specified in the #property version property is unacceptable for the Market section; the correct format of #property version id “XXX.YYY”.
propertyバージョンプロパティで指定されたバージョンは、マーケットセクションでは受け入れられません。#property バージョン ID “XXX.YYY” の正しい形式。
69Empty controlled statement found.
空の制御ステートメントが見つかりました。
70Invalid function return type or incorrect parameters during declaration of the event handler function.
イベントハンドラ関数の宣言中に無効な関数の戻り値の型または不適切なパラメーターがあります。
71An implicit cast of structures to one type is required.
構造体を 1つの型に暗黙的にキャストする必要があります。
72This declaration makes direct access to the member of a class declared in the specified string impossible. Access will be possible only with the scope resolution operation ::
この宣言により、指定された文字列で宣言されたクラスのメンバーに直接アクセスできなくなります。スコープ解決操作のみでアクセス可能になります。
73Binary constant is too big, high-order digits will be truncated.
バイナリ定数が大きすぎます。上位桁は切り捨てられます
74Parameter in the method of the inherited class has a different const modifier, the derived function has overloaded the parent function.
継承されたクラスメソッドのパラメーターに異なる const修飾子があり、派生した関数が親関数をオーバーロードしています
75Negative or too large shift value in shift bitwise operation, execution result is undefined.
ビット単位のシフト操作でシフト値が負または大きすぎます。実行結果は未定義です。
76Function must return a value.
数は値を返す必要があります。
77void function returns a value.
void関数が値を返しています。
78Not all control paths return a value.
返された制御パスは完全ではありません。
79Expressions are not allowed on a global scope.
グローバルスコープで式を使用できません。
80Check operator precedence for possible error; use parentheses to clarify precedence.
エラーの可能性がないか、演算子の優先順位を確認してください。カッコを使用して優先順位を明確にしてください。
81Two OnCalCulate() are defined. OHLC version will be used.
2つのOnCalCulate関数が定義されています。OHLCバージョンが使用されます。
82Struct has no members, size assigned to 1 byte.
構造体にはメンバーがなく、サイズは 1 バイトに割り当てられます。
83Return value of the function should be checked.
関数の戻り値を確認する必要があります。
84Resource indicator is compiled for debugging. That slows down the performance. Please recompile the indicator to increase performance.
リソースインジケーターは、デバッグ用にコンパイルされます。これにより、パフォーマンスが低下します。インジケーターを再コンパイルしてパフォーマンスを向上させてください。
85Too great character code in the string, must be in the range 0 to 65535.
文字列内の文字コードが長すぎます。0~65535の範囲である必要があります。
86Unrecognized character in the string.
文字列に認識できない文字があります。
87No indicator window property (setting the display in the main window or a subwindow) is defined. Property #property indicator_chart_window is applied.
インジケータウィンドウプロパティ(メイン ウィンドウまたはサブウィンドウでの表示設定)は定義されていません。プロパティ#property indicator_chart_windowが適用されます。
88Property ignored, it must be declared on the global scope. The warning is not generated for the following properties: copyright, link, version and strict.
プロパティは無視されました。グローバルスコープで宣言する必要があります。次のプロパティについては、警告は生成されません: copyright、link、version、strict。

コンパイルエラー [268]

 次の表は MetaEdtior5で表示されるCodeとメッセージですが、MetaEditor4でも同様です。但し、メッセージ表示が少し異なりますので近いものを探して確認してください。
 コンパイルエラーでは、コンパイル中に組み込みコンパイラによって検出されたプログラムエラーに関するエラーメッセージを表示します。これらのエラーリストが以下の表です。ソースコードを実行可能なコードにコンパイルするには、F7を押します。エラーを含むプログラムは、コンパイラによって識別されたエラーが取り除かれるまでコンパイル出来ません。

コード表示メッセージと説明
100File reading error
ファイル読み込みエラー。
101Error of opening an *. EX4 for writing
*のオープンエラー。EX4 書き込み用。
103Not enough free memory to complete compilation
コンパイルを完了するのに十分な空きメモリがありません。
104Empty syntactic unit unrecognized by compiler
コンパイラによって認識されない構文単位です。
105Incorrect file name in #include
#includeのファイル名が違います。
106Error accessing a file in #include (probably the file does not exist)
#include内のファイルへのアクセスエラー (おそらくファイルが存在しません)。
108Inappropriate name for #define
#defineの名前が不適切です。
109Unknown command of preprocessor (valid #include, #define, #property, #import)
プリプロセッサの不明なコマンド(有効な #include、#define、#property、#import)。
110Symbol unknown to compiler
コンパイラに未知の通貨ペアが使われています。
111Function not implemented (description is present, but no body)
関数が実装されていません (説明はありますが、本文はありません)
112Double quote (“) omitted
ダブルクォーテーション(“)が省略されています。
113Opening angle bracket (<) or double quote (“) omitted
始め山カッコ (<) またはダブルクォーテーション (“) が省略されています。
114Single quote (‘) omitted
シングルクォーテーション (‘) が省略されています。
115Closing angle bracket “>” omitted
閉じ山カッコ “>” が省略されています。
116Type not specified in declaration
型が宣言されていません。
117No return operator or return is found not in all branches of the implementation
return 演算子が見つかりません。
118Opening bracket of call parameters was expected
呼び出しパラメーター用のカッコが必要です。
119Error writing EX4
ex4ファイルの書き込みエラー。
120Invalid access to an array
配列への無効なアクセスです。
121The function is not of void type and the return operator must return a value
関数は void 型ではなく、return 演算子は値を返す必要があります。
122Incorrect declaration of the destructor
デストラクタの宣言が間違っています。
123Colon “:” is missing
コロン “:” がありません。
124Variable is already declared
変数は既に宣言されています。
125Variable with such identifier already declared
そのような識別子を持つ変数は既に宣言されています。
126Variable name is too long (> 250 characters)
変数名が長すぎます (> 250 文字)。
127Structure with such identifier already defined
そのような識別子を持つ構造体はが既に定義されています。
128Structure is not defined
構造が定義されていません。
129Structure member with the same name already defined
同名の構造体メンバ名が定義済みです。
130No such structure member
そのような構造体メンバーはありません。
131Breached pairing of brackets
カッコの使用が間違っています。
132Opening parenthesis “(” expected
左括弧 “(” が必要です。
133Unbalanced braces (no “}”)
終了のカッコ “}” が抜けています。
134Difficult to compile (too much branching, internal stack levels are overfilled)
コンパイルが難しい (分岐が多すぎる、内部スタック レベルがいっぱい)です。
135Error of file opening for reading
読み取り用ファイルのオープンエラー。
136Not enough memory to download the source file into memory
ソースファイルをメモリにダウンロードするための十分なメモリがありません。
137Variable is expected
変数が必要です。
138Reference cannot be initialized
リファレンスを初期化できません。
140Assignment expected (appears at declaration)
代入が必要です(宣言に表示されます)。
141Opening brace “{” expected
左中かカッコ “{” が必要です。
142Parameter can be a dynamic array only
パラメータは動的配列のみ使用することが出来ます。
143Use of “void” type is unacceptable
void型は使用できません。
144No pair for “)” or “]”, i.e. “(or” [ ” is absent
“)” または “]” が抜けています。
145No pair for “(or” [ “, i.e. “) “or”] ” is absent
(” または “[” が抜けています。
146Incorrect array size
配列サイズが正しくありません。
147Too many parameters (> 64)
パラメーターが多すぎます (上限数:64)。
149This token is not expected here
不明なトークンです。
150Invalid use of operation (invalid operands)
無効な演算の使用しています (無効なオペランド)。
151Expression of void type not allowed
void型は許可されていません。
152Operator is expected
オペレーターが必要です。
153Misuse of break
中断が乱用されています。
154Semicolon “;” expected
セミコロン “;” が必要です。
155Comma “,” expected
カンマ “,” が必要です。
156Must be a class type, not struct
構造体ではなく、クラス型でなければなりません。
157Expression is expected
式が必要です。
158“non HEX character” found in HEX or too long number (number of digits> 511)
HEXに長すぎる数字 (> 511桁数) または「非 HEX文字」が見つかりました。
159String-constant has more than 65534 characters
文字数が 65534 文字を超えています。
160Function definition is unacceptable here
ここで関数宣言は出来ません。
161Unexpected end of program
予期しないプログラムの終了。
162Forward declaration is prohibited for structures
構造体は前方宣言禁止です。
163Function with this name is already defined and has another return type
この名前の関数は既に定義されており、別の戻り値の型を持っています。
164Function with this name is already defined and has a different set of parameters
この名前の関数は既に定義されており、別のパラメータセットがあります。
165Function with this name is already defined and implemented
この名前の関数は既に定義され、実装済みです。
166Function overload for this call was not found
この呼び出し関数のオーバーロードが見つかりませんでした。
167Function with a return value of void type cannot return a value
void型の戻り値を持つ関数は値を返すことが出来ません。
168Function is not defined
関数が定義されていません。
170Value is expected
値が必要です。
171In case expression only integer constants are valid
整数定数のみcase式で有効です。
172The value of case in this switch is already used
この switch式の caseの値は既に使用されています。
173Integer is expected
整数が必要です。
174In #import expression file name is expected
#importではファイル名が必要です。
175Expressions are not allowed on global level
グローバルレベルでは式を使用できません。
176Omitted parenthesis “)” before “;”
“;” の前のカッコ “)” を省略されています。
177To the left of equality sign a variable is expected
等号の左側に変数が必要です。
178The result of expression is not used
式の結果は使用されません。
179Declaring of variables is not allowed in case
次の場合、変数の宣言は許可されません。
180Implicit conversion from a string to a number
文字列から数値への暗黙的に変換されています。
181Implicit conversion of a number to a string
数値から文字列への暗黙的に変換されています。
182Ambiguous call of an overloaded function (several overloads fit)
オーバーロードした関数の曖昧な呼び出しです(複数のオーバーロードが適合)。
183Illegal else without proper if
適切な ifがない elseを使用しています。
184Invalid case or default without a switch
適切な switchがない defaultを使用をています。
185Inappropriate use of ellipsis
省略記号の使用が不適切です。
186The initializing sequence has more elements than the initialized variable
初期化シーケンスに、初期化された変数よりも多くの要素があります。
187A constant for case expected
cace文に定数が必要です。
188A constant expression required
定数式が必要です。
189A constant variable cannot be changed
const変数は変更できません。
190Closing bracket or a comma is expected (declaring array member)
閉じカッコまたはコンマが必要です (配列メンバーの宣言)。
191Enumerator identifier already defined
enum列挙は既に定義されています
192Enumeration cannot have access modifiers (const, extern, static)
列挙にアクセス修飾子 (const、extern、static) を含めることは出来ません。
193Enumeration member already declared with a different value
列挙型メンバーは既に別の値で宣言されています。
194There is a variable defined with the same name
同名の変数が定義されています。
195There is a structure defined with the same name
同名の構造体が定義されています。
196Name of enumeration member expected
列挙メンバーの名前が必要です。
197Integer expression expected
整数式が必要です。
198Division by zero in constant expression
定数式でゼロ除算しています。
199Wrong number of parameters in the function
関数内のパラメーターの数が間違っています。
200Parameter by reference must be a variable
参照によるパラメーター(引数)は変数でなければなりません。
201Variable of the same type to pass by reference expected
参照渡しには同じ型の変数が必要です。
202A constant variable cannot be passed by a non-constant reference
非constは参照によってconst変数を渡すことは出来ません。
203Requires a positive integer constant
正の整数定数が必要です。
204Failed to access protected class member
保護されたクラスメンバーにアクセス出来ませんでした。
205Import already defined in another way
別の方法で既に定義されているインポートです。
208Executable file not created
実行ファイルが作成されていません。
209‘OnCalculate’ entry point not found for the indicator
インジケータの OnCalculate関数が見つかりません
210The continue operation can be used only inside a loop
継続操作はループ内でのみ使用可能です。
211Error accessing private (closed) class member
privateクラスメンバーへのアクセスエラー。
213Method of structure or class is not declared
構造体またはクラスのメソッドが宣言されていません。
214Error accessing private (closed) class method
privateクラスメソッドへのアクセスエラー。
216Copying of structures with objects is not allowed
オブジェクトを含む構造体のコピーは許可されていません。
218Index out of array range
配列範囲外のインデックスです。
219Array initialization in structure or class declaration not allowed
構造体またはクラス宣言での配列の初期化は許可されていません。
220Class constructor cannot have parameters
クラスのコンストラクターはパラメーターを持つことが出来ません。
221Class destructor can not have parameters
クラスのデストラクタはパラメーターを持つことが出来ません。
222Class method or structure with the same name and parameters have already been declared
同名のパラメーターを持つクラスメソッドまたは構造体は既に宣言されています。
223Operand expected
オペランドが必要です。
224Class method or structure with the same name exists, but with different parameters (declaration!=implementation)
同名のクラスメソッドまたは構造体が存在しますが、パラメーターが異なります。
225Imported function is not described
インポートされた関数は記述されていません。
226ZeroMemory() is not allowed for objects with protected members or inheritance
ZeroMemory関数は、保護されたメンバーまたは継承を持つオブジェクトに許可されていません。
227Ambiguous call of the overloaded function (exact match of parameters for several overloads)
オーバーロードした関数の曖昧な呼び出しをしています (複数のオーバーロードのパラメーターが完全に一致)。
228Variable name expected
変数名が必要です。
229A reference cannot be declared in this place
ここで参照を宣言することは出来ません。
230Already used as the enumeration name
列挙名として既に使用されています。
232Class or structure expected
クラスまたは構造体が必要です。
235Cannot call ‘delete’ operator to delete the array
‘delete’ 演算子を呼び出して配列を削除することは出来ません。
236Operator ‘ while’ expected
演算子 ‘while’ が必要です。
237Operator ‘delete’ must have a pointer
deleteにポインタが必要です
238There is ‘default’ for this ‘switch’ already
この ‘switch’ には既に ‘default’ があります
239Syntax error
構文エラー。
240Escape-sequence can occur only in strings (starts with ‘\’)
エスケープ シーケンスは文字列でのみ使用できます (‘\’ で始まります)。
241Array required – square bracket ‘[‘ does not apply to an array, or non arrays are passed as array parameters
配列が必要です。 ‘[‘ は配列に適用されないか、配列以外が配列パラメーターとして渡されます。
242Can not be initialized through the initialization sequence
初期化シーケンスで初期化できません。
243Import is not defined
インポートが定義されていません。
244Optimizer error on the syntactic tree
構文ツリーの最適化エラー。
245Declared too many structures (try to simplify the program)
宣言された構造が多すぎます (プログラムを単純化してください)。
246Conversion of the parameter is not allowed
パラメータの変換は出来ません。
247Incorrect use of the ‘delete’ operator
deleteの使用が不適切です。
248It’s not allowed to declare a pointer to a reference
参照へのポインタを宣言することは出来ません。
249It’s not allowed to declare a reference to a reference
参照への参照を宣言することは出来ません。
250It’s not allowed to declare a pointer to a pointer
ポインタへのポインタを宣言することは出来ません。
251Structure declaration in the list of parameter is not allowed
パラメータのリストでの構造体の宣言は出来ません。
252Invalid operation of typecasting
無効な型キャストの操作。
253A pointer can be declared only for a class or structure
ポインタは、クラスまたは構造体に対してのみ宣言できます。
256Undeclared identifier
宣言されていない識別子。
257Executable code optimizer error
実行コードの最適化エラー。
258Executable code generation error
実行コードの生成エラー。
260Invalid expression for the ‘switch’ operator
無効な switch式。
261Pool of string constants overfilled, simplify program
文字列定数のプールがいっぱいになり、プログラムが簡素化されました。
262Cannot convert to enumeration
列挙型に変換できません。
263Do not use ‘virtual’ for data (members of a class or structure)
データ (クラスまたは構造体のメンバー) に virtual指定子を使用しないでください。
264Cannot call protected method of class
クラスの保護されたメソッドを呼び出せません。
265Overridden virtual functions return a different type
オーバーライド仮想関数が異なる型を返しています。
266Class cannot be inherited from a structure
クラスは構造体から継承できません。
267Structure cannot be inherited from a class
構造体はクラスから継承できません。
268Constructor cannot be virtual (virtual specifier is not allowed)
コンストラクターを仮想にすることはできません (仮想指定子は許可されていません)。
269Method of structure cannot be virtual
構造体のメソッドを仮想にすることは出来ません。
270Function must have a body
関数が空になっています。
271Overloading of system functions (terminal functions) is prohibited
システム関数(ターミナル関数)のオーバーロードは禁止です。
272Const specifier is invalid for functions that are not members of a class or structure
クラスまたは構造体のメンバーではない関数に対してconst指定子は無効です。
274Not allowed to change class members in constant method
constメソッドでクラスメンバーを変更することは出来ません。
276Inappropriate initialization sequence
不適切な初期化シーケンスです。
277Missed default value for the parameter (specific declaration of default parameters)
パラメータのデフォルト値がありません (デフォルトパラメータの宣言)。
278Overriding the default parameter (different values in declaration and implementation)
デフォルトパラメータのオーバーライド (宣言と実装で値が異なる)。
279Not allowed to call non-constant method for a constant object
constオブジェクトに対して非constメソッドを呼び出すことは出来ません。
280An object is necessary for accessing members (a dot for a non class/structure is set)
メンバーへのアクセスにはオブジェクトが必要です (非クラス/構造体のドットが設定されます)。
281The name of an already declared structure cannot be used in declaration
既に宣言されている構造体の名前を宣言で使用することは出来ません。
284Unauthorized conversion (at closed inheritance)
不正変換(クローズド継承時)。
285Structures and arrays cannot be used as input variables
構造体と配列は入力変数として使用できません。
286Const specifier is not valid for constructor/destructor
const指定子は、コンストラクター/デストラクターでは無効です。
287Incorrect string expression for a datetime
日時の文字列式が正しくありません。
288Unknown property (#property)
不明なプロパティ (#property)。
289Incorrect value of a property
プロパティの値が正しくありません。
290Invalid index for a property in #property
#propertyのプロパティのインデックスが無効です。
291Call parameter omitted – <func (x,)>
呼び出しパラメータが省略されています。
293Object must be passed by reference
オブジェクトは参照渡しする必要があります。
294Array must be passed by reference
配列は参照渡しする必要があります。
295Function was declared as exportable
関数はエクスポート可能として宣言されました。
296Function was not declared as exportable
関数はエクスポート可能として宣言されていませんでした。
297It is prohibited to export imported function
インポートされた関数のエクスポートは禁止されています。
298Imported function cannot have this parameter (prohibited to pass a pointer, class or structure containing a dynamic array, pointer, class, etc.)
インポートされた関数は、このパラメーターを持つことはできません (動的配列、ポインター、クラスなどを含むポインター、クラス、または構造体を渡すことは禁止されています)。
299Must be a class
クラスでなければなりません。
300#import was not closed
#importは閉じられませんでした。
302Type mismatch
型の不一致。
303Extern variable is already initialized
外部変数は既に初期化されています。
304No exported function or entry point found
エクスポートされた関数またはエントリーポイントが見つかりません。
305Explicit constructor call is not allowed
明示的なコンストラクター呼び出しは許可されていません。
306Method was declared as constant
メソッドは定数として宣言されました。
307Method was not declared as constant
メソッドが定数として宣言されていません。
308Incorrect size of the resource file
リソースファイルのサイズが正しくありません。
309Incorrect resource name
リソース名が正しくありません。
310Resource file opening error
リソースファイルのオープンエラー。
311Resource file reading error
リソースファイル読み込みエラー。
312Unknown resource type
不正なリソースの種類です。
313Incorrect path to the resource file
リソースファイルへのパスが正しくありません。
314The specified resource name is already used
指定されたリソース名は既に使用されています。
315Argument expected for the function-like macro
引数が必要なマクロです。
316Unexpected symbol in macro definition
マクロ定義に予期しない通貨ペアがあります。
317Error in formal parameters of the macro
マクロの仮パラメータのエラー。
318Invalid number of parameters for a macro
マクロのパラメーターの数が無効です。
319Too many parameters for a macro
マクロのパラメータ数が多すぎます。
320Too complex, simplify the macro
複雑すぎるため、マクロを単純化してください。
321Parameter for EnumToString() can be only an enumeration
EnumToString関数のパラメーターは列挙型のみにすることが出来ます。
322The resource name is too long
リソース名が長すぎます。
323Unsupported image format (only BMP with 24 or 32 bit color depth is supported)
サポートされていない画像形式 (24ビットまたは 32ビットの色深度の BMPのみがサポートされています)。
324An array cannot be declared in operator
配列は演算子で宣言できません。
325The function can be declared only in the global scope
関数はグローバルスコープでのみ宣言できます。
326The declaration is not allowed for the current scope
現在のスコープで宣言は出来ません。
327Initialization of static variables with the values of local variables is not allowed
ローカル変数の値による静的変数の初期化は出来ません。
328Illegal declaration of an array of objects that do not have a default constructor
デフォルトのコンストラクターを持たないオブジェクトの配列の不正な宣言です。
329Initialization list allowed only for constructors
初期化リストはコンストラクターにのみ許可されています。
330No function definition after initialization list
初期化リストの後に関数定義がありません。
331Initialization list is empty
初期化リストが空です。
332Array initialization in a constructor is not allowed
コンストラクターでの配列の初期化は出来ません。
333Initializing members of a parent class in the initialization list is not allowed
初期化リスト内の親クラスのメンバーの初期化は出来ません。
334Expression of the integer type expected
整数型の式が必要です。
335Memory required for the array exceeds the maximum value
配列に必要なメモリが最大値を超えています。
336Memory required for the structure exceeds the maximum value
構造体に必要なメモリが最大値を超えています。
337Memory required for the variables declared on the global level exceeds the maximum value
グローバルレベルで宣言された変数に必要なメモリが最大値を超えています。
338Memory required for local variables exceeds the maximum value
ローカル変数に必要なメモリが最大値を超えています。
339Constructor not defined
コンストラクターが定義されていません。
340Invalid name of the icon file
アイコンのファイル名が無効です。
341Could not open the icon file at the specified path
指定されたパスにあるアイコンファイルを開けませんでした。
342The icon file is incorrect and is not of the ICO format
アイコンファイルが ICO形式ではありません。
343Reinitialization of a member in a class/structure constructor using the initialization list
初期化リストを使用したクラス/構造体コンストラクターのメンバーの再初期化をしています。
344Initialization of static members in the constructor initialization list is not allowed
コンストラクター初期化リスト内の静的メンバーの初期化は出来ません。
345Initialization of a non-static member of a class/structure on a global level is not allowed
グローバルレベルでのクラス/構造体の非静的メンバーの初期化は出来ません。
346The name of the class/structure method matches the name of an earlier declared member
クラス/構造体メソッドの名前は、以前に宣言されたメンバーの名前と一致します。
347The name of the class/structure member matches the name of an earlier declared method
クラス/構造体のメンバーの名前が、以前に宣言されたメソッドの名前と一致します。
348Virtual function cannot be declared as static
仮想関数は static宣言できません。
349The const modifier is not allowed for static functions
const修飾子は static関数で使用できません。
350Constructor or destructor cannot be static
コンストラクタまたはデストラクタを静的にすることは出来ません。
351Non-static member/method of a class or a structure cannot be accessed from a static function
クラスまたは構造体の非静的メンバー/メソッドは、static関数からアクセスできません。
352An overload operation (+,-,[],++,– etc.) is expected after the operator keyword
演算子の後に​​オーバーロード操作 (+、-、​​[]、++、– など) が必要です。
353Not all operations can be overloaded in MQL4
全ての操作が MQL4でオーバーロードできるわけではありません。
354Definition does not match declaration
定義が宣言と一致しません。
355An invalid number of parameters is specified for the operator
オペレータに無効な数のパラメーターが指定されています。
356Event handling function not found
イベント処理関数が見つかりません。
357Method cannot be exported
メソッドをエクスポートできません。
358A pointer to the constant object cannot be normalized by a non-constant object
constオブジェクトへのポインタは、非constオブジェクトによって正規化できません。
359Class templates are not supported yet
クラステンプレートはまだサポートされていません。
360Function template overload is not supported yet
関数テンプレートのオーバーロードはまだサポートされていません。
361Function template cannot be applied
関数テンプレートを適用できません。
362Ambiguous parameter in function template (several parameter types can be applied)
関数テンプレートのパラメーターが曖昧です (複数のパラメーター タイプを適用できます)。
363Unable to determine the parameter type, by which the function template argument should be normalized
関数テンプレートの引数を正規化する必要があるパラメーターの型を特定できません。
364Incorrect number of parameters in the function template
関数テンプレートのパラメーターの数が正しくありません。
365Function template cannot be virtual
関数テンプレートを仮想にすることは出来ません。
366Function templates cannot be exported
関数テンプレートはエクスポートすることは出来ません。
367Function templates cannot be imported
関数テンプレートをインポートすることは出来ません。
368Structures containing the objects are not allowed
オブジェクトを含む構造は出来ません。
369String arrays and structures containing the objects are not allowed
オブジェクトを含む文字列配列と構造体は出来ません。
370A static class/structure member must be explicitly initialized
静的クラス/構造体メンバーは明示的に初期化する必要があります。
371Compiler limitation: the string cannot contain more than 65 535 characters
コンパイラの制限: 文字列に 65,535文字を超える文字を含めることは出来ません。
372Inconsistent #ifdef/#endif
#ifdef/#endif の使用が不正です。
373Object of class cannot be returned, copy constructor not found
クラスのオブジェクトを返すことが出来ません。コピーコンストラクタが見つかりません。
374Non-static members and methods cannot be used
非静的メンバーおよびメソッドは使用できません。
375OnTesterInit() impossible to use without OnTesterDeinit()
OnTesterDeinit関数なしでは OnTesterInit関数は使用できません。
376Redefinition of formal parameter ‘%s’
仮パラメータ ‘%s’ の再定義。
377Macro __FUNCSIG__ and __FUNCTION__ cannot appear outside of a function body
__FUNCSIG__マクロと__FUNCTION__マクロは関数の外では使えません
378Invalid returned type. For example, this error will be produced for functions imported from DLL that return structure or pointer.
無効な戻り値の型です。たとえば、このエラーは、構造体またはポインタを返す DLLからインポートされた関数に対して生成されます。
379Template usage error
テンプレート使用エラー。
380Not used
使用されていません。
381Illegal syntax when declaring pure virtual function, only “=NULL” or “=0” are allowed
pure 仮想関数を宣言するときの構文が不正です。”=NULL” または “=0” のみが許可されます。
382Only virtual functions can be declared with the pure-specifier (“=NULL” or “=0”)
pure-specifier (“=NULL” または “=0”) を使用して宣言できるのは、仮想関数のみです。
383Abstract class cannot be instantiated
抽象クラスをインスタンス化できません。
384A pointer to a user-defined type should be applied as a target type for dynamic casting using the dynamic_cast operator
ユーザー定義型へのポインタは、 dynamic_cast演算子を使用した動的キャストのターゲット型として適用する必要があります。
385“Pointer to function” type is expected
“関数へのポインタ” 型が必要です。
386Pointers to methods are not supported
メソッドへのポインタはサポートされていません。
387Error — cannot define the type of a pointer to function
エラー : 関数へのポインタの型を定義できません。
388Type cast is not available due to private inheritance
private継承のため、型キャストは利用できません。
389A variable with const modifier should be initialized during declaration
const修飾子を持つ変数は、宣言中に初期化する必要があります。

ランタイムエラー [161]

 GetLastError関数は、 _LastError(システム変数)に格納された直近のエラーコードを返します。この値は、ResetLastError関数を使用してリセットが出来ます。stderror.mqhファイルでエラーコード定数が定義されています。。テキストメッセージを出力するためには stdlib.mqhファイルで定義されている ErrorDescription関数が使用されます。

 便宜上、取引エラーは「取引サーバーのリターンコード」セクションに追加でリスト化されています。

コードID説明
0ERR_NO_ERRORNo error returned
エラーはありません。
1ERR_NO_RESULTNo error returned, but the result is unknown
エラーはありませんが、結果は不明です。
2ERR_COMMON_ERRORCommon error
一般的なエラーです。
3ERR_INVALID_TRADE_PARAMETERSInvalid trade parameters
無効な引数です
4ERR_SERVER_BUSYTrade server is busy
取引サーバーがビジー状態です。
5ERR_OLD_VERSIONOld version of the client terminal
クライアントターミナルが旧バージョンです。
6ERR_NO_CONNECTIONNo connection with trade server
取引サーバーに接続していません。
7ERR_NOT_ENOUGH_RIGHTSNot enough rights
権限がありません。
8ERR_TOO_FREQUENT_REQUESTSToo frequent requests
リクエストが多すぎます。
9ERR_MALFUNCTIONAL_TRADEMalfunctional trade operation
機能しない取引操作です。
64ERR_ACCOUNT_DISABLEDAccount disabled
アカウントが無効になっています。
65ERR_INVALID_ACCOUNTInvalid account
無効なアカウントです。
128ERR_TRADE_TIMEOUTTrade timeout
取引タイムアウト。
129ERR_INVALID_PRICEInvalid price
無効な価格です。
130ERR_INVALID_STOPSInvalid stops
無効なストップ価格です。
131ERR_INVALID_TRADE_VOLUMEInvalid trade volume
無効な取引量です。
132ERR_MARKET_CLOSEDMarket is closed
市場は閉鎖されています。
133ERR_TRADE_DISABLEDTrade is disabled
無効な取引です。
134ERR_NOT_ENOUGH_MONEYNot enough money
証拠金が不足しています。
135ERR_PRICE_CHANGEDPrice changed
価格が変更されました。
136ERR_OFF_QUOTESOff quotes
レートが提示されていません。
137ERR_BROKER_BUSYBroker is busy
ブローカーがビジー状態です。
138ERR_REQUOTERequote
レートの再表示。
139ERR_ORDER_LOCKEDOrder is locked
注文はロックされています。
140ERR_LONG_POSITIONS_ONLY_ALLOWEDBuy orders only allowed
買い注文のみ出来ます。
141ERR_TOO_MANY_REQUESTSToo many requests
リクエストが多すぎます。
145ERR_TRADE_MODIFY_DENIEDModification denied because order is too close to market
注文が現在のレートに近すぎるため、変更は拒否されました。
146ERR_TRADE_CONTEXT_BUSYTrade context is busy
取引状況がビジー状態です。
147ERR_TRADE_EXPIRATION_DENIEDExpirations are denied by broker
ブローカーによって有効期限設定が拒否されました。
148ERR_TRADE_TOO_MANY_ORDERSThe amount of open and pending orders has reached the limit set by the broker
ポジションおよびオーダーの数が、ブローカーが設定する上限に達しました。
149ERR_TRADE_HEDGE_PROHIBITEDAn attempt to open an order opposite to the existing one when hedging is disabled
両建ては無効です。
150ERR_TRADE_PROHIBITED_BY_FIFOAn attempt to close an order contravening the FIFO rule
FIFOルールに違反する注文を決済しようとしています。
4000ERR_NO_MQLERRORNo error returned
エラーはありません。
4001ERR_WRONG_FUNCTION_POINTERWrong function pointer
不正な関数ポインタです。
4002ERR_ARRAY_INDEX_OUT_OF_RANGEArray index is out of range
配列インデックスが範囲外です。
4003ERR_NO_MEMORY_FOR_CALL_STACKNo memory for function call stack
関数呼び出し用のスタックメモリがありません
4004ERR_RECURSIVE_STACK_OVERFLOWRecursive stack overflow
回帰スタックオーバーフロー。
4005ERR_NOT_ENOUGH_STACK_FOR_PARAMNot enough stack for parameter
引数のスタックが不足しています。
4006ERR_NO_MEMORY_FOR_PARAM_STRINGNo memory for parameter string
String型の引数のメモリがありません。
4007ERR_NO_MEMORY_FOR_TEMP_STRINGNo memory for temp string
文字列のメモリがありません。
4008ERR_NOT_INITIALIZED_STRINGNot initialized string
初期化されていない文字列です。
4009ERR_NOT_INITIALIZED_ARRAYSTRINGNot initialized string in array
配列内の文字列が初期化されていません。
4010ERR_NO_MEMORY_FOR_ARRAYSTRINGNo memory for array string
配列文字列のメモリがありません。
4011ERR_TOO_LONG_STRINGToo long string
文字列が長すぎます。
4012ERR_REMAINDER_FROM_ZERO_DIVIDERemainder from zero divide
ゼロ除算の余り。
4013ERR_ZERO_DIVIDEZero divide
ゼロ除算をしています。
4014ERR_UNKNOWN_COMMANDUnknown command
不明なコマンドです。
4015ERR_WRONG_JUMPWrong jump (never generated error)
不正なジャンプ (エラーは発生しませんでした)。
4016ERR_NOT_INITIALIZED_ARRAYNot initialized array
配列が初期化されていません。
4017ERR_DLL_CALLS_NOT_ALLOWEDDLL calls are not allowed
DLLの呼び出しは出来ません。
4018ERR_CANNOT_LOAD_LIBRARYCannot load library
ライブラリを読み込めません。
4019ERR_CANNOT_CALL_FUNCTIONCannot call function
関数を呼び出せません。
4020ERR_EXTERNAL_CALLS_NOT_ALLOWEDExpert function calls are not allowed
外部のエキスパート関数の呼び出しは出来ません。
4021ERR_NO_MEMORY_FOR_RETURNED_STRNot enough memory for temp string returned from function
関数から返された文字列に十分なメモリがありません。
4022ERR_SYSTEM_BUSYSystem is busy (never generated error)
システムがビジー状態です (エラーは発生しません)。
4023ERR_DLLFUNC_CRITICALERRORDLL-function call critical error
DLL関数呼び出しの重大なエラー。
4024ERR_INTERNAL_ERRORInternal error
内部エラー。
4025ERR_OUT_OF_MEMORYOut of memory
メモリが不足しています。
4026ERR_INVALID_POINTERInvalid pointer
無効なポインタです。
4027ERR_FORMAT_TOO_MANY_FORMATTERSToo many formatters in the format function
format関数の引数が多すぎます。
4028ERR_FORMAT_TOO_MANY_PARAMETERSParameters count exceeds formatters count
引数の数が上限を超えています。
4029ERR_ARRAY_INVALIDInvalid array
無効な配列です。
4030ERR_CHART_NOREPLYNo reply from chart
チャートの応答無し。
4050ERR_INVALID_FUNCTION_PARAMSCNTInvalid function parameters count
無効な関数の引数数です。
4051ERR_INVALID_FUNCTION_PARAMVALUEInvalid function parameter value
無効な関数の引数値です。
4052ERR_STRING_FUNCTION_INTERNALString function internal error
文字列関数の内部エラー。
4053ERR_SOME_ARRAY_ERRORSome array error
配列エラー。
4054ERR_INCORRECT_SERIESARRAY_USINGIncorrect series array using
不正な時系列配列です。
4055ERR_CUSTOM_INDICATOR_ERRORCustom indicator error
カスタムインジケータエラー。
4056ERR_INCOMPATIBLE_ARRAYSArrays are incompatible
互換性がない配列です。
4057ERR_GLOBAL_VARIABLES_PROCESSINGGlobal variables processing error
グローバル変数処理エラー。
4058ERR_GLOBAL_VARIABLE_NOT_FOUNDGlobal variable not found
グローバル変数が見つかりません。
4059ERR_FUNC_NOT_ALLOWED_IN_TESTINGFunction is not allowed in testing mode
この機能はテスト モードでは使用できません。
4060ERR_FUNCTION_NOT_CONFIRMEDFunction is not allowed for call
関数の呼び出しは出来ません。
4061ERR_SEND_MAIL_ERRORSend mail error
メール送信エラー。
4062ERR_STRING_PARAMETER_EXPECTEDString parameter expected
string型の引数が必要です。
4063ERR_INTEGER_PARAMETER_EXPECTEDInteger parameter expected
Integer型の引数が必要です。
4064ERR_DOUBLE_PARAMETER_EXPECTEDDouble parameter expected
Double型の引数が必要です。
4065ERR_ARRAY_AS_PARAMETER_EXPECTEDArray as parameter expected
配列引数が必要です。
4066ERR_HISTORY_WILL_UPDATEDRequested history data is in updating state
要求されたヒストリカルデータは更新中です。
4067ERR_TRADE_ERRORInternal trade error
内部取引エラー。
4068ERR_RESOURCE_NOT_FOUNDResource not found
リソースが見つかりません。
4069ERR_RESOURCE_NOT_SUPPORTEDResource not supported
リソースがサポートされていません。
4070ERR_RESOURCE_DUPLICATEDDuplicate resource
リソースが重複しています。
4071ERR_INDICATOR_CANNOT_INITCustom indicator cannot initialize
カスタムインジケータを初期化できません。
4072ERR_INDICATOR_CANNOT_LOADCannot load custom indicator
カスタムインジケータを読み込めません。
4073ERR_NO_HISTORY_DATANo history data
ヒストリカルデータがありません。
4074ERR_NO_MEMORY_FOR_HISTORYNo memory for history data
ヒストリカルデータのメモリがありません。
4075ERR_NO_MEMORY_FOR_INDICATORNot enough memory for indicator calculation
インジケータの計算に十分なメモリがありません。
4099ERR_END_OF_FILEEnd of file
ファイルの終わり。
4100ERR_SOME_FILE_ERRORSome file error
ファイルエラー。
4101ERR_WRONG_FILE_NAMEWrong file name
不正なファイル名。
4102ERR_TOO_MANY_OPENED_FILESToo many opened files
開いているファイルが多すぎます。
4103ERR_CANNOT_OPEN_FILECannot open file
ファイルを開けません。
4104ERR_INCOMPATIBLE_FILEACCESSIncompatible access to a file
互換性がないファイルアクセス。
4105ERR_NO_ORDER_SELECTEDNo order selected
注文が選択されていません。
4106ERR_UNKNOWN_SYMBOLUnknown symbol
不明な通貨ペア。
4107ERR_INVALID_PRICE_PARAMInvalid price
無効な価格です。
4108ERR_INVALID_TICKETInvalid ticket
無効なチケットです。
4109ERR_TRADE_NOT_ALLOWEDTrade is not allowed. Enable checkbox “Allow live trading” in the Expert Advisor properties
取引は許可されていません。エキスパートアドバイザーのプロパティで「自動売買を許可する」チェックボックスをチェックする必要があります。
4110ERR_LONGS_NOT_ALLOWEDLongs are not allowed. Check the Expert Advisor properties
買い注文は不可です。Expert Advisor のプロパティを確認してください。
4111ERR_SHORTS_NOT_ALLOWEDShorts are not allowed. Check the Expert Advisor properties
売り注文は不可です。。Expert Advisor のプロパティを確認してください。
4112ERR_TRADE_EXPERT_DISABLED_BY_SERVERAutomated trading by Expert Advisors/Scripts disabled by trade server
Expert Advisors/スクリプトによる自動取引は取引サーバーによって無効化されています。
4200ERR_OBJECT_ALREADY_EXISTSObject already exists
オブジェクトは既に存在します。
4201ERR_UNKNOWN_OBJECT_PROPERTYUnknown object property
不明なオブジェクトプロパティ。
4202ERR_OBJECT_DOES_NOT_EXISTObject does not exist
オブジェクトが存在しません。
4203ERR_UNKNOWN_OBJECT_TYPEUnknown object type
不明なオブジェクトの種類です。
4204ERR_NO_OBJECT_NAMENo object name
オブジェクト名無し。
4205ERR_OBJECT_COORDINATES_ERRORObject coordinates error
オブジェクト座標のエラー。
4206ERR_NO_SPECIFIED_SUBWINDOWNo specified subwindow
指定されたサブウィンドウがありません。
4207ERR_SOME_OBJECT_ERRORGraphical object error
グラフィックオブジェクトエラー。
4210ERR_CHART_PROP_INVALIDUnknown chart property
未知のチャートプロパティ。
4211ERR_CHART_NOT_FOUNDChart not found
チャートが見つかりません。
4212ERR_CHARTWINDOW_NOT_FOUNDChart subwindow not found
チャートサブウィンドウが見つかりません。
4213ERR_CHARTINDICATOR_NOT_FOUNDChart indicator not found
チャートインジケーターが見つかりません。
4220ERR_SYMBOL_SELECTSymbol select error
通貨ペアの選択エラー。
4250ERR_NOTIFICATION_ERRORNotification error
通知エラー。
4251ERR_NOTIFICATION_PARAMETERNotification parameter error
通知パラメータエラー。
4252ERR_NOTIFICATION_SETTINGSNotifications disabled
通知が無効になっています。
4253ERR_NOTIFICATION_TOO_FREQUENTNotification send too frequent
通知の送信頻度が多すぎます。
4260ERR_FTP_NOSERVERFTP server is not specified
FTPサーバーが指定されていません。
4261ERR_FTP_NOLOGINFTP login is not specified
FTPログインが指定されていません。
4262ERR_FTP_CONNECT_FAILEDFTP connection failed
FTP接続に失敗しました。
4263ERR_FTP_CLOSEDFTP connection closed
FTP接続が閉じられました。
4264ERR_FTP_CHANGEDIRFTP path not found on server
サーバーで FTPパスが見つかりません。
4265ERR_FTP_FILE_ERRORFile not found in the MQL4\Files directory to send on FTP server
FTPサーバーで送信するフォルダ(MQL4\Files)にファイルが見つかりません。
4266ERR_FTP_ERRORCommon error during FTP data transmission
FTPデータ送信時のエラー。
5001ERR_FILE_TOO_MANY_OPENEDToo many opened files
開いているファイルが多すぎます。
5002ERR_FILE_WRONG_FILENAMEWrong file name
不正なファイル名です。
5003ERR_FILE_TOO_LONG_FILENAMEToo long file name
ファイル名が長すぎます。
5004ERR_FILE_CANNOT_OPENCannot open file
ファイルを開けません。
5005ERR_FILE_BUFFER_ALLOCATION_ERRORText file buffer allocation error
テキストファイルのバッファ割り当てエラー。
5006ERR_FILE_CANNOT_DELETECannot delete file
ファイルを削除できません。
5007ERR_FILE_INVALID_HANDLEInvalid file handle (file closed or was not opened)
無効なファイルハンドル (ファイルが閉じられているか開かれていない)。
5008ERR_FILE_WRONG_HANDLEWrong file handle (handle index is out of handle table)
不正なファイルハンドルです(ハンドルインデックスがハンドルテーブルの外にあります)。
5009ERR_FILE_NOT_TOWRITEFile must be opened with FILE_WRITE flag
ファイルは FILE_WRITE フラグで開く必要があります。
5010ERR_FILE_NOT_TOREADFile must be opened with FILE_READ flag
ファイルは FILE_READ フラグで開く必要があります。
5011ERR_FILE_NOT_BINFile must be opened with FILE_BIN flag
ファイルは FILE_BIN フラグで開く必要があります。
5012ERR_FILE_NOT_TXTFile must be opened with FILE_TXT flag
ファイルは FILE_TXT フラグで開く必要があります。
5013ERR_FILE_NOT_TXTORCSVFile must be opened with FILE_TXT or FILE_CSV flag
ファイルは FILE_TXT または FILE_CSV フラグで開く必要があります。
5014ERR_FILE_NOT_CSVFile must be opened with FILE_CSV flag
ファイルは FILE_CSV フラグで開く必要があります。
5015ERR_FILE_READ_ERRORFile read error
ファイル読み込みエラー。
5016ERR_FILE_WRITE_ERRORFile write error
ファイル書き込みエラー。
5017ERR_FILE_BIN_STRINGSIZEString size must be specified for binary file
バイナリファイルの文字列サイズを指定する必要があります。
5018ERR_FILE_INCOMPATIBLEIncompatible file (for string arrays-TXT, for others-BIN)
互換性のないファイル (文字列配列の場合 – TXT、その他の場合 – BIN)。
5019ERR_FILE_IS_DIRECTORYFile is directory not file
ファイルではないです。フォルダです
5020ERR_FILE_NOT_EXISTFile does not exist
ファイルが存在しません。
5021ERR_FILE_CANNOT_REWRITEFile cannot be rewritten
ファイルを書き換えることが出来ません。
5022ERR_FILE_WRONG_DIRECTORYNAMEWrong directory name
不正なフォルダ名です。
5023ERR_FILE_DIRECTORY_NOT_EXISTDirectory does not exist
フォルダが存在しません。
5024ERR_FILE_NOT_DIRECTORYSpecified file is not directory
指定したファイルはフォルダではありません。
5025ERR_FILE_CANNOT_DELETE_DIRECTORYCannot delete directory
フォルダを削除できません。
5026ERR_FILE_CANNOT_CLEAN_DIRECTORYCannot clean directory
フォルダ内を消去できません。
5027ERR_FILE_ARRAYRESIZE_ERRORArray resize error
配列サイズの変更エラー。
5028ERR_FILE_STRINGRESIZE_ERRORString resize error
文字列サイズの変更エラー。
5029ERR_FILE_STRUCT_WITH_OBJECTSStructure contains strings or dynamic arrays
構造体に文字列または動的配列が含まれています。
5200ERR_WEBREQUEST_INVALID_ADDRESSInvalid URL
無効なURLです。
5201ERR_WEBREQUEST_CONNECT_FAILEDFailed to connect to specified URL
指定した URLへの接続に失敗しました。
5202ERR_WEBREQUEST_TIMEOUTTimeout exceeded
タイムアウトしました。
5203ERR_WEBREQUEST_REQUEST_FAILEDHTTP request failed
HTTPリクエストが失敗しました
65536ERR_USER_ERROR_FIRSTUser defined errors start with this code
ユーザー定義エラーはこのコードから始まります。
タイトルとURLをコピーしました