Weighted

定義

ヒストリカル・バーの加重終値のコレクション。加重終値は (高値 + 低値 + 終値 + 終値) / 4 で計算される。

プロパティ値

DataSeries型のオブジェクト。インデックス値[ int barsAgo ]を通してこのプロパティにアクセスすると、参照されたバーの価格を表すdouble型の値が返される。

構文

Weighted
Weighted[ int barsAgo ]

// Current bar weighted price
double barWeigthedPrice = Weighted[0];
 
// Weighted price of 10 bars ago
double barWeigthedPrice = Weighted[10];
 
// Current bar value of a 20 period exponential moving average of weighted prices
double value = EMA(Weighted, 20)[0];
最終更新:2014年06月10日 23:29