ウィリアムズ %R(Williams Percent Range)【iWPR】

double iWPR(string symbol, int timeframe, int period, int shift)

 

Calculates the Larry William’s percent range indicator and returns its value.

ラリー・ウィリアムズの%R(範囲率)のインディケータを計算して、その値を返します。

Parameters:

パラメータ:

symbol
Symbol the data of which should be used to calculate indicator. NULL means the current symbol.

インディケータの計算に使用するデータの通貨ペア名。NULL は、現在のシンボルを意味します。

timeframe
Timeframe. It can be any of Timeframe enumeration values. 0 means the current chart timeframe.

時間枠。時間枠の列挙値のいずれかを指定できます。0 は、現在のチャートの時間枠を意味します。

period
Number of periods for calculation.

計算する期間の数。

shift
Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).

インディケータ バッファから取得するインデックスの値(現在のバーを基準に、指定された期間の量だけ過去にシフトする)

 

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