double iGator(string symbol, int timeframe, int jaw_period, int jaw_shift, int teeth_period, int teeth_thift, int lips_period, int lips_shift, int ma_method, int applied_price, int mode, int shift)
Gator oscillator calculation. The oscillator displays the difference between
the Alligator red and blue lines (the upper histogram) and that between
red and green lines (the lower histogram).
ゲーター・オシレーターを計算します。このオシレーターは、アリゲーターの赤から青の線(上向きヒストグラム)と、赤から緑の線(下向きヒストグラム)の差異を表示します。
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 |
- |
インディケータ線のインデックス。インディケータ線の識別子の列挙値のいずれかを指定できます。 |
| shift |
- |
Shift relative to the current bar (number of periods back) where
the data should be taken
from. 現在のバーを基準に転移します。番号の期間後の場合は、データから取得する必要があります。 |
|
Sample:
サンプル:
double jaw_val=iGator(NULL, 0, 13, 8, 8, 5, 5, 3, MODE_SMMA, PRICE_MEDIAN, MODE_UPPER, 1);
|