double iStdDev(string symbol, int timeframe, int ma_period, int ma_shift, int ma_method, int applied_price, int shift)
Calculates the Standard Deviation 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 は、現在のチャートの時間枠を意味します。 |
| ma_period |
- |
MA period. MAの期間。 |
| ma_shift |
- |
MA shift. MAの転移。 |
| ma_method |
- |
MAの方式。移動平均方式の列挙値のいずれかを指定できます。 |
| applied_price |
- |
適用する価格。適用価格列挙値のいずれかを指定できます。 |
| shift |
- |
Index of the value taken from the indicator buffer (shift
relative to the current bar the given amount of periods ago). インディケータ
バッファから取得するインデックスの値(現在のバーを基準に、指定された期間の量だけ過去にシフトする) |
|
Sample:
サンプル:
double val=iStdDev(NULL,0,10,0,MODE_EMA,PRICE_CLOSE,0);
|