|
group of functions intended for calculation of standard and custom indicators.
標準的なカスタム インディケータの計算を目的とした関数のグループです。
For an expert (or any other MQL4 program) to take up the value of any indicator, it is not necessary that this indicator is present in the chart. The requested indicator will be loaded and calculated in the thread of the module that has called it.
エキスパート(または、その他の MQL4 プログラム)が、どれかのインディケータの値を取り出すために、そのインディケータがチャートに存在している必要はありません。要求されたインディケータは読み込まれて、それを呼び出したモジュールのスレッドで計算されます
Any indicator can be calculated on the data of not only current chart,
but also on the data of any available symbol/period. If data (symbol name
and/or timeframe differ from the current ones) are requested from another
chart, the situation is possible that the corresponding chart was not opened
in the client terminal and the necessary data must be requested from the
server. In this case, error ERR_HISTORY_WILL_UPDATED (4066 - the requested history data are under
updating) will be placed in the last_error variable, and one will has to re-request (see example of ArrayCopySeries()).
すべてのインディケータは、現在のチャートのデータだけではなく、使用可能な通貨ペア、期間のデータでも同様に計算することができます。もし、データ(通貨ペア名や、現在のものと異なる時間枠)が別のチャートから要求された場合は、そのターミナル
クライアントに対応するチャートは開くことはできず、必要なデータをサーバーへ要求する必要があります。この場合、エラー ERR_HISTORY_WILL_UPDATED (4066 - 要求された履歴データが未更新)が、last_error 変数に配置され、再要求をする必要があります。(詳細については、ArrayCopySeries()の例を参照してください)
|