チャート上に表示されている最初のバーの番号【WindowFirstVisibleBar】

int WindowFirstVisibleBar( )

 

The function returns the first visible bar number in the current chart window. It must be taken into consideration that price bars are numbered in the reverse order, from the last to the first one. The current bar, the latest in the price array, is indexed as 0. The oldest bar is indexed as Bars-1. If the first visible bar number is 2 or more bars less than the amount of visible bars in the chart, it means that the chart window has not been fully filled out and there is a space to the left.

この関数は、現在のチャート ウィンドウで、最初に出現するバーの番号を返します。価格バーは、最新から最古の逆順で、番号付けされていることを考慮する必要があります。現在のバーは、価格配列でもっとも最新で、0 のインデックスが付けられています。最古のバーは、Bars -1 としてインデックスが付けられています。もし、最初に表示されるバーの番号が2、もしくはチャート上に表示されるバーの総数より少ない場合、それは、チャート ウィンドウが完全に満たされておらず、左側に余白があることを意味します。

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