double iMFI(string symbol, int timeframe, int period, int shift)
Calculates the Money flow index and returns its value.
MFI(資金流入指数)を計算して、その値を返します。
Parameters:
パラメータ:
symbol |
– |
Symbol the data of which should be used to calculate indicator. NULL means the current symbol.
インディケータの計算に使用するデータの通貨ペア名。NULL は、現在のシンボルを意味します。 |
timeframe |
– |
時間枠。時間枠の列挙値のいずれかを指定できます。0 は、現在のチャートの時間枠を意味します。 |
period |
– |
Period (amount of bars) for calculation of price changes.
価格変化の計算に使用する期間 (バーの数)。 |
shift |
– |
Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
インディケータ バッファから取得するインデックスの値(現在のバーを基準に、指定された期間の量だけ過去にシフトする) |
|
Sample:
サンプル:
|
if(iMFI(NULL,0,14,0)>iMFI(NULL,0,14,1)) return(0); |
0 people found this article useful
0 people found this article useful