doubel iBands(string symbol, int timeframe, int period, int deviation, int bands_shift, int applied_price, int mode, int shift)
Calculates the Bollinger bands indicator and returns its value.
ボリンジャーバンドのインディケータを計算して、その値を返します。
Parameters:
パラメータ:
| symbol |
- |
Symbol the data of which should be used to calculate indicator.
NULL means the current symbol. インディケータの計算に使用するデータの通貨ペア名。NULL
は、現在のシンボルを意味します。 |
| timeframe |
- |
時間枠。時間枠の列挙値のいずれかを指定できます。0 は、現在のチャートの時間枠を意味します。 |
| period |
- |
Averaging period for calculation. 計算する平均期間。 |
| deviation |
- |
Deviation from the main line. 本線からの偏差。 |
| bands_shift |
- |
The indicator shift relative to the
chart. チャートを基準として、インディケータの位置を転移します。 |
| mode |
- |
インディケータの線のインデックス。インディケータ線の識別子の列挙値のいずれかを指定できます。 |
| shift |
- |
Index of the value taken from the indicator buffer (shift
relative to the current bar the given amount of periods ago). インディケータ
バッファから取得するインデックスの値(現在のバーを基準に、指定された期間の量だけ過去にシフトする) |
|
Sample:
サンプル:
if(iBands(NULL,0,20,2,0,PRICE_LOW,MODE_LOWER,0)>Low[0]) return(0);
|