double iAlligator(string symbol, int timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_shift, int lips_period, int lips_shift, int ma_method, int applied_price, int mode, int shift)
Calculates the Bill Williams' Alligator 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 は、現在のチャートの時間枠を意味します。 |
| jaw_period |
- |
Blue line averaging period (Alligator's Jaw). 青い線の期間の平均を計算します。(アリゲーターのアゴ) |
| jaw_shift |
- |
Blue line shift relative to the chart. 青い線をチャートを基準に転移させます。 |
| teeth_period |
- |
Red line averaging period (Alligator's Teeth). 赤い線の期間の平均を計算します。(アリゲーターの歯) |
| teeth_shift |
- |
Red line shift relative to the chart. 赤い線をチャートを基準に転移させます。 |
| lips_period |
- |
Green line averaging period (Alligator's Lips). 緑の線の期間の平均を計算します。(アリゲーターの口) |
| lips_shift |
- |
Green line shift relative to the chart. 緑の線をチャートを基準に移転させます。 |
| ma_method |
- |
MAの方式。移動平均方式のいずれかを指定できます。 |
| applied_price |
- |
適用する価格。適用価格列挙値のいずれかを指定できます。 |
| mode |
- |
Data source, identifier of a line of the indicator. It can be any of the
following values:
データ ソース。インディケータの線の識別子。次の値のいずれかを指定できます。
| MODE_GATORJAW |
: |
Gator Jaw (blue) balance line, ワニのアゴ(青)バランス ライン。 |
| MODE_GATORTEETH |
: |
Gator Teeth (red) balance line, ワニの歯(赤)バランス ライン。 |
| MODE_GATORLIPS |
: |
Gator Lips (green) balance line. ワニの口(緑)バランス ライン。 |
|
| shift |
- |
Shift relative to the current bar (number of periods back) where the data should be taken from. 現在のバーを基準に転移します。番号の期間後の場合は、データから取得する必要があります。 |
|
Sample:
サンプル:
double jaw_val=iAlligator(NULL, 0, 13, 8, 8, 5, 5, 3, MODE_SMMA, PRICE_MEDIAN, MODE_GATORJAW, 1);
|