double iIchimoku(string symbol, int timeframe, int tenkan_sen, int kijun_sen, int senkou_span_b, int mode, int shift)
Calculates the Ichimoku Kinko Hyo and returns its value.
一目均衡表を計算して、その値を返します。
Parameters:
パラメータ:
symbol |
– |
Symbol name of the security on the data of which the indicator will be calculated. NULL means the current symbol.
インディケータを計算するデータの有価証券のシンボル名。NULL は、現在のシンボルを意味します。 |
timeframe |
– |
時間枠。時間枠の列挙値のいずれかを指定できます。0 は、現在のチャートの時間枠を意味します。 |
tenkan_sen |
– |
Tenkan Sen averaging period.
転換線の平均期間。 |
kijun_sen |
– |
Kijun Sen averaging period.
基準線の平均期間。 |
senkou_span_b |
– |
Senkou SpanB averaging period.
先行スパンBの平均期間。 |
mode |
– |
データの情報源。一目均衡表の形態列挙値のいずれかを指定できます。 |
shift |
– |
Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
インディケータ バッファから取得するインデックスの値(現在のバーを基準に、指定された期間の量だけ過去にシフトする) |
|
Sample:
サンプル:
|
double tenkan_sen=iIchimoku(NULL, 0, 9, 26, 52, MODE_TENKANSEN, 1); |
1 person found this article useful
1 person found this article useful