オブジェクトの検索【ObjectFind】

int ObjectFind(string name)

 

Search for an object having the specified name. The function returns index of the windows that contains the object to be found. If it fails, the returned value will be -1. To get the detailed error information, one has to call the GetLastError() function. The chart sub-windows (if there are sub-windows with indicators in the chart) are numbered starting from 1. The chart main window always exists and has the 0 index.

指定した名前を持つオブジェクトを検索します。検索するオブジェクトを含む、ウィンドウのインデックスを返します。失敗した場合は、返される値は -1 になります。詳細なエラー情報を取得するには、GetLastError() 関数を呼び出します。チャートのサブ・ウィンドウ(チャートにインディケータのサブ・ウィンドウがある場合)は 1 から番号が開始されます。チャートのメイン・ウィンドウは、常に存在して 0 のインデックスをを持っています。

Parameters:

パラメータ:

 

Sample:

サンプル:

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">