加重終値

概要

Weighted Close(加重終値)は、高値、安値、終値の平均で、終値により大きな重みが付けられています。

備考

Typical価格インジケーターと同様に、Weighted Closeは、一定期間の全価格を単一の系列として簡略化したビューを提供します。

シグネチャ

1
public abstract interface WeightedClose

 

名前空間

cAlgo.API.Indicators

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 //...
 private WeightedClose weightedCloseSeries;
 //...
 protected override void Initialize()
 {
     weightedCloseSeries = Indicators.WeightedClose();
     //...
 }
 public override void Calculate(int index)
 {
     double weightedCloseValue = weightedCloseSeries.Result[index];
     //...
 }

プロパティ

Result

概要

Weighted Closeインジケーターの計算結果として得られる時系列データを取得します。

シグネチャ

1
public abstract IndicatorDataSeries Result {get;}

 

戻り値

IndicatorDataSeries

1
 double weightedCloseValue = weightedCloseSeries.Result[index];