double iAD(string symbol, int timeframe, int shift)
Calculates the Accumulation/Distribution indicator and returns its value.
Accumulation(蓄積) / Distribution(分配) インディケータを計算して、その値を返します。
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
は、現在のチャートの時間枠を意味します。 |
| shift |
- |
Index of the value taken from the indicator buffer (shift
relative to the current bar the given amount of periods ago). インディケータ
バッファから取得するインデックスの値(現在のバーを基準に、指定された期間の量だけ過去にシフトする) |
|
Sample:
サンプル:
double result=iAD(NULL, 0, 1);
|